BackupPC-users

Re: [BackupPC-users] mysqldump

2008-08-29 22:55:13
Subject: Re: [BackupPC-users] mysqldump
From: Terri Kelley <neteng AT farm-market DOT net>
To: Backuppc Users <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 29 Aug 2008 21:54:30 -0500

On Aug 29, 2008, at 8:39 PM, Ryan Manikowski wrote:

First off, look into using the automysqlbackup.sh script (http://sourceforge.net/projects/automysqlbackup/). That will make backup simpler. Then just call the script from the dumppreusercmd.

$sshPath -q -x -l backuppc $host /usr/bin/sudo /path/to/automysqlbackup.sh


Of course with the example above you'll have to add a line to sudoers such as:

backuppc   ALL=NOPASSWD:    /path/to/automysqlbackup.sh

Ryan Manikowski

Ryan,

This works very nicely. Thanks so much for the response.

tk
-------------------------------------------------------------------------
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=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>