FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
# This creates an ASCII copy of the catalog
- # WARNING!!! Passing the password via the command line is insecure.
- # see comments in make_catalog_backup for details.
- # Arguments to make_catalog_backup are:
- # make_catalog_backup <database-name> <user-name> <password> <host>
- RunBeforeJob = "@scriptdir@/make_catalog_backup @db_name@ @db_user@"
+ # Arguments to make_catalog_backup.pl are:
+ # make_catalog_backup.pl <catalog-name>
+ RunBeforeJob = "@scriptdir@/make_catalog_backup.pl MyCatalog"
# This deletes the copy of the catalog
RunAfterJob = "@scriptdir@/delete_catalog_backup"
Write Bootstrap = "@working_dir@/%n.bsr"
Options {
signature = MD5
}
- File = @working_dir@/bacula.sql
+ File = "@working_dir@/@db_name@.sql"
}
}
Catalog {
Name = MyCatalog
# Uncomment the following line if you want the dbi driver
-@uncomment_dbi@ dbdriver = "dbi:@DB_TYPE@"; dbaddress = 127.0.0.1; dbport = @db_port@
+@uncomment_dbi@ dbdriver = "dbi:@DEFAULT_DB_TYPE@"; dbaddress = 127.0.0.1; dbport = @db_port@
dbname = "@db_name@"; dbuser = "@db_user@"; dbpassword = "@db_password@"
}