Re: [Bacula-users] backup catalog script in Ubuntu.
2008-07-28 10:10:42
The problem is in a section of the make_catalog_backup_awk script where a variable must be passed before the mysqldump... I believe it's like this:
HOME=/var/lib/bacula mysqldump .......
Anyway, Christian turned me onto his script and he is Ubuntu as well. I compared the original script to Christian's version and noticed that was the only difference. It works flawlessly now.
--james
----- Original Message ----- From: John Drescher <drescherjm AT gmail DOT com> Date: Monday, July 28, 2008 6:48 am Subject: Re: [Bacula-users] backup catalog script in Ubuntu. To: Bruno Friedmann <bruno AT ioda-net DOT ch> Cc: bacula-users AT lists.sourceforge DOT net
> On Sun, Jul 27, 2008 at 5:17 PM, Bruno Friedmann <bruno@ioda- > net.ch> wrote: > > As all what the script do (essentially) is to create a .my.cnf > authentication script inside /var/lib/bacula which is only > > accessible to bacula (user and group) > > > > I don't see improvement if you use the standard script (wihout > the $1 $2 .... ) and just use the credentials file. > > this work also for postgres ... > > > > Don't want to flame but this appear to me like using bazooka > to kill fly > > > For what its worth, we have had a similar suggestion with gentoo in > the last few weeks and the catalog backup scripts were removed from > the install. I am using postgres and don't want to bother with > figuring out how to do that so I found a second install which still > had the old script and I copied it over to the catalog machine > and all > was well.. > > An alternate method could be to backup the catalog via a cron > job by > running the appropriate dump programs and then calling bconsole to > backup the sql dump file after this is done. > > something like > > echo "run catalogbackup yes" | bconsole > > after your dump command. > > John
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|