On 07/06/06, Scott Ruckh <[EMAIL PROTECTED]> wrote:
> >> I am using,
> >> http://worldcommunity.com/opensource/utilities/mysql_backup.html, to
> >> backup my databases from Bacula Director (ClientRunBeforeJob).
> >>
> >> ClientRunBeforeJob= "/usr/local/bin/mysqlbackup/mysqlbackup.pl"
> >>
> >> This appears to work good for me.
> >
> > Do you have passworded MySQL root user access? i.e. to you need to
> > supply "-p somepass" when connecting using the CLI?
> >
> > Will.
>
> Yes, I have configured root to require a password when logging in.  The
> username and password configured for doing the backups is included in the
> script's configuration ($user and $password).

That's less than ideal for my setup. I'd like to use a standard,
similarly structured script for MySQL and Postgres with no explicit
authentication information coded in the script itself, as the relevent
passwords will vary from host to host.

I'll try a wrapper script I think, and if that still doesn't work then
I'll source the information from the ~/.my.cnf.

Will.


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to