Hi there.
I have the following definition in my catalog backup based on the DiskBakupDesign White paper, which is not running. What am I doing wrong? Thanks for your time.
-fuz
# Backup the catalog database (after the nightly save) Job { Name = "BackupCatalog" JobDefs = "DefaultJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" # This creates an ASCII copy of the catalog # Arguments to make_catalog_backup.pl are: # make_catalog_backup.pl <catalog-name> # mysqldump bacual > working/bacula.sql wird ausgeführt, # dann wird bacula.sql normal gesichert # dann wird der Dump bacula.sql gelöscht. RunBeforeJob = "/opt/bacula/bin/make_catalog_backup.pl IcCatalog" # This deletes the copy of the catalog RunAfterJob = "/opt/bacula/bin/delete_catalog_backup" Write Bootstrap = "/opt/bacula/bin/working/%n.bsr" Priority = 11 # run after main backup # DBD 2.4 Prune all volumes which are "expired", requires AutoPrune = no in Pool Definition RunScript { Console = "prune expired volume yes" RunsWhen = Before } # DBD 3.6 Truncate on Purge, must be defined in Pool also. # RunScript { # Console = "purge volume action="" allpools storage=NAS01_STORAGE_BACKNIX" # RunsWhen = After #} } 10-Jan 12:10 backnix05-dir JobId 9: shell command: run BeforeJob "/opt/bacula/bin/make_catalog_backup.pl IcCatalog" 10-Jan 12:10 backnix05-dir JobId 9: Start Backup JobId 9, Job=BackupCatalog.2017-01-10_12.10.32_09 10-Jan 12:10 backnix05-dir JobId 9: Using Device "FileChgr1-Dev1" to write. 10-Jan 12:10 backnix-2017-fd JobId 9: shell command: run ClientBeforeJob "prune expired volume yes" 10-Jan 12:10 backnix-2017-fd JobId 9: Error: Runscript: ClientBeforeJob returned non-zero status=208. ERR=Datei oder Verzeichnis nicht ge Translation: ERR=File or Directory not found 10-Jan 12:10 backnix05-dir JobId 9: Fatal error: Bad response to RunBeforeNow command: wanted 2000 OK RunBeforeNow , got 2905 Bad RunBeforeNow command.
10-Jan 12:10 backnix05-dir JobId 9: Fatal error: Client "backnix-2017-fd" RunScript failed. 10-Jan 12:10 backnix05-dir JobId 9: Error: Bacula backnix05-dir 7.4.4 (28Sep16): Build OS: x86_64-unknown-linux-gnu redhat (Core) JobId: 9 Job: BackupCatalog.2017-01-10_12.10.32_09 Backup Level: Full Client: "backnix-2017-fd" 7.4.4 (28Sep16) x86_64-unknown-linux-gnu,redhat,(Core) FileSet: "Catalog" 2017-01-08 23:10:00 Pool: "NAS01_POOL" (From Job resource) Catalog: "IcCatalog" (From Client resource) Storage: "NAS01_STORAGE_BACKNIX" (From Job resource) Scheduled time: 10-Jan-2017 12:10:30 Start time: 10-Jan-2017 12:10:34 End time: 10-Jan-2017 12:10:34 Elapsed time: 0 secs Priority: 11 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None Snapshot/VSS: no Encryption: no Accurate: no Volume name(s): Volume Session Id: 5 Volume Session Time: 1484042870 Last Volume Bytes: 0 (0 B) Non-fatal FD errors: 2 SD Errors: 0 FD termination status: Error SD termination status: OK Termination: *** Backup Error ***
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|