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