BackupCatalog.conf 840 B

123456789101112131415161718192021
  1. Job {
  2. Name = "BackupCatalog"
  3. Description = "Backup the catalog database (after the nightly save)"
  4. JobDefs = "DefaultJob"
  5. Level = Full
  6. FileSet="Catalog"
  7. Schedule = "WeeklyCycleAfterBackup"
  8. # This creates an ASCII copy of the catalog
  9. # Arguments to make_catalog_backup.pl are:
  10. # make_catalog_backup.pl <catalog-name>
  11. RunBeforeJob = "/usr/lib/bareos/scripts/make_catalog_backup.pl MyCatalog"
  12. # This deletes the copy of the catalog
  13. RunAfterJob = "/usr/lib/bareos/scripts/delete_catalog_backup"
  14. # This sends the bootstrap via mail for disaster recovery.
  15. # Should be sent to another system, please change recipient accordingly
  16. Write Bootstrap = "|/usr/bin/bsmtp -h root@localhost -f \"\(Bareos\) \" -s \"Bootstrap for Job %j\" root@localhost" # (#01)
  17. Priority = 11 # run after main backup
  18. }