Hi
I this case you need to change in the script that runs before and after the
backupjob
In "/usr/lib/bareos/scripts/make_catalog_backup.pl" you find the following
line:
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
Den fredag 28 februari 2020 kl. 16:30:44 UTC+1 skrev birgit.ducarroz:
>
> Hi,
>
> I would like to change the default location of the bareos.sql dump to
> another share.
>
> I changed in
> /usr/lib/bareos/defaultconfigs/bareos-dir.d/fileset/Catalog.conf
>
> and in
> /etc/bareos/bareos-dir.d/fileset/Catalog.conf
>
>
> and restarted the services.
> But the dump is still writing into /var/lib/bareos
>
> what am I missing?
>
> Kind regards,
> Birgit
>
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/431e5593-cc17-497f-aae0-a8c35d0030ec%40googlegroups.com.