>>>>> On Fri, 30 Sep 2011 08:57:13 +0300, Eimar Koort said:
>
> Problem is that catalog backup paths are hardcoded and scripts are
> failing if 'working dir' is not /var/db/bacula:
>
> Director {
> WorkingDirectory = "/data/bacula"
>
> Original files are located in /usr/local/share/bacula/ directory on FreeBSD.
>
> I also added two small patches. I'm aware that one of those patches is
> specific to FreeBSD. However - they should just give idea.
The make_catalog_backup.pl patch could be made more generic by setting $wd in
dump_catalog rather than in dump_pgsql.
Also, delete_catalog_backup would be better if it used dbcheck:
WD=`@sbindir@/dbcheck -B -c @sysconfdir@/bacula-dir.conf | awk -F=
'($1=="working_dir"){print $2}'`
__Martin
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel