BackupPC-users

Re: [BackupPC-users] Running command before and after tar command

2011-08-01 21:39:18
Subject: Re: [BackupPC-users] Running command before and after tar command
From: "Michael Stowe" <mstowe AT chicago.us.mensa DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 1 Aug 2011 20:37:55 -0500
> How do I specify a command to run before I execute my backup (in this
> case tar).
>
> I need to rsh to a specific machine and create a snapshot before I backup.
>
> I tried:
>
> $Conf{TarClientCmd} = 'rsh -n mothership snap create data backuppc;
> $tarPath --totals -c -v -f - -C $shareName/.snapshot/backuppc; rsh -n
> mothership snap delete data backuppc';
>
> but this seems to not work.
>
> I've put this into it's own script, and it works fine, although there
> was a very strange stale NFS filehandle issue I had to workaround...

DumpPreUserCmd

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
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>