Re: [BackupPC-users] Scripts to execute
2008-08-28 14:13:26
Christian Völker wrote:
> I've installed BackupPC 3.x and it looks like it runs fine :)
> I'm backing up approx. 20 Linux machines.
>
> Some of them needs some special task to performed before the backup
> (i.e. database servers).
> I haven't figured out how to perform this.
>
> On my old backup scripts I had some scripts on each server which
> created
> a dump of the databases before backup.
>
> I found now some configuration settings
> $Conf{DumpPreUserCmd} = undef;
> $Conf{DumpPostUserCmd} = undef;
> $Conf{DumpPreShareCmd} = undef;
> $Conf{DumpPostShareCmd} = undef;
>
> But these look like these commands are executed before _each_ share to
> be backed up. But most of my hosts don't need a script to be
> executed...
>
> Would the solution be to creat a local script which cover special
> needs
> for each hosts like a case $3...statement?
>
> Or is there another idea how to perform database backups?
You can set those settings in the host-specific configuration. We use
$Conf{DumpPreUserCmd} to run a script to dump databases before a host
is backed up.
Nils Breunese.
-------------------------------------------------------------------------
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/
|
|
|