On Feb 5, 2008 8:21 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Guys > > I am officially stumped. > > I am trying to run a script before the job to copy the bacula db before > backing it up. The batch script works when its clicked. But, whether I use > the 'ClientRunBeforeJob' not 'RunBeforeJob', the files are not copied, > despite a successful report from the run: > If the director is the machine with the database then you can use RunBeforeJob otherwise you have to use ClientRunBeforeJob.
> Below is my batch script, and the relevant entries from the dir.conf. I > would love it if someone could have a look and let me know where I have gone > wrong. :( > > backup-bacula-database.bat > > @echo off > xcopy /y /q /k C:\MySQL\data\bacula E:\backup\bacula-database\ > exit > Isn't there a mysqldump for windows? I do not think this is a good way of backing up a database that is in use. John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users