BackupPC-users

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

2011-08-01 22:05:48
Subject: Re: [BackupPC-users] Running command before and after tar command
From: Rory Toma <rory AT ooma DOT com>
To: mstowe AT chicago.us.mensa DOT org, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 01 Aug 2011 19:04:15 -0700
On 8/1/11 6:37 PM, Michael Stowe wrote:
>> 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/
Great, and I see there is a post command, too.

thx

------------------------------------------------------------------------------
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>