Hi
I this case you need to change in the script that runs before and after the backupjob
my $wd = "/var/lib/bareos";
wd = working directory
I guess you need to change even in the cleanup script running after job,
"/usr/lib/bareos/scripts/delete_catalog_backup"
Then, NOT to forget you need to change the backupjobs Fileset, and add yur new path to your database dumpfile here in File=:
FileSet {
Name = "Catalog"
Description = "Backup the catalog dump and Bareos configuration files."
Include {
Options {
signature = MD5
}
File = "/var/lib/bareos/bareos.sql" # database dump
File = "/etc/bareos" # configuration
}
}
Good luck!
// Urban