Bacula-users

[Bacula-users] Running Client Script

2012-12-21 12:49:14
Subject: [Bacula-users] Running Client Script
From: Joseph De Nicolo <denicoloj AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 21 Dec 2012 12:46:26 -0500
Hey Bacula Users,

This should be an easy question for some body with bacula experience.

I need to run a script that will backup my web server's mysql database. The script works great, using mysqldump.
The web server and backup server are two different dedicated machines, hence the backup system is "off-site".
The script needs to run before the backup job obviously, but only on the client, and the job should continue whether its successful or fails.
Here is my script:

RunScript {
   Command = "/var/backupmysql.sh"
   RunsWhen = Before
   RunsOnFailure = yes
   RunsOnClient = yes
   RunsOnSuccess = yes
  }

Now my question is.. should my script(backupmysql.sh) be located on the backup system only, the client only, or both? I'm not sure if bacula takes the script locally and ports it over to the client or if it searches fo the script on the client itself. I hope you understand what I'm talking about. Appreciate the help.

Thanks,
                                                            
Joseph De Nicolo
Systems & Network Administrator
Northeastern University
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>