All,
I am having a hard time correctly configuring a job to run before
a client backup on a Win32 host. I believe its just incorrect syntax
or encapsulation in the bacula-dir.conf file. Was hoping someone could
tell me how to correct this quickly. Here is the error
2007-11-19 04:19:14 mt-back4.director: No prior Full backup Job record found.
2007-11-19 04:19:14 mt-back4.director: No prior or suitable Full
backup found in catalog. Doing FULL backup.
2007-11-19 04:19:16 mt-back4.director: Start Backup JobId 7,
Job=Mt-Back3_Daily_Disk.
2007-11-19 04:19:22 mt-back4.director: Mt-Back3_Daily_Disk.
2007-11-19_04.19.14 Error: Illegal character in Volume name "{Mentora_Disks}"
2007-11-19 04:22:02 mt-back3.mentora.: ClientRunBeforeJob: run command
"C:/Program Files/Bacula/systemstate.bat"
2007-11-19 04:22:02 mt-back3.mentora.: ClientRunBeforeJob:
'C:/Program' is not recognized as an internal or external command,
2007-11-19 04:22:02 mt-back3.mentora.: ClientRunBeforeJob: operable
program or batch file.
2007-11-19 04:23:18 mt-back3.mentora.: Mt-Back3_Daily_Disk.
2007-11-19_04.20.35 Error: Runscript: ClientRunBeforeJob returned
non-zero status=1. ERR=Unknown error
2007-11-19 04:20:40 mt-back4.director: Mt-Back3_Daily_Disk.
2007-11-19_04.20.35 Fatal error: Bad response to ClientRunBeforeJob
command: wanted 2000 OK RunBefore, got 2905 Bad RunBeforeJob command.
And here's the config
Job {
Name = "Mt-Back3_Daily_Disk"
Type = Backup Client = mt-back3.mentora
FileSet = "Mt-Back3_System"
Schedule = "Incr_2000_Sun_Full"
Storage = Mentora_Files
Pool = Mentora_Disks
Messages = Standard
Write Bootstrap = "/opt/csw/var/bacula/bootstrap/%n.bsr"
ClientRunBeforeJob = "C:/Program Files/Bacula/systemstate.bat"
}
I can also see that it doesn't like my attempt at Auto Labeling the
volume. Here is my config for that.
Pool {
Name = Mentora_Disks Pool
Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 27d
Volume Use Duration = 7d
LabelFormat = "{$Pool}"
}
Thanks,
Shon
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users