BackupPC-users

Re: [BackupPC-users] Running a command after backup

2011-02-10 15:26:58
Subject: Re: [BackupPC-users] Running a command after backup
From: Bowie Bailey <Bowie_Bailey AT BUC DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 10 Feb 2011 15:25:03 -0500
On 2/10/2011 2:39 PM, Jeff Hanson wrote:
> On Thu, Feb 10, 2011 at 9:13 AM, Michael Stowe
> <mstowe AT chicago.us.mensa DOT org> wrote:
>> How about PostUserCmd?
>>
> Are you are referring to DumpPostUserCmd?  I made a typo.  I tried
> that first, not DumpPostShareCmd.
>
> My local xfer settings have four RsyncShareName entries:  /etc, /home,
> /var/lib/samba/printers, /var/lib/samba/usershares.  With
> DumpPostUserCmd my command is executed after /etc which initiates a
> shutdown, aborting /home rsync.

The only machines I have that make use of that command only have one
share, so I can't say from experience.  But reading the docs, that
should not happen.  I believe the order should be like this:

Run DumpPreUserCmd
Run DumpPreShareCmd
Dump Share 1
Run DumpPostShareCmd
Run DumpPreShareCmd
Dump Share 2
Run DumpPostShareCmd
Run DumpPostUserCmd

-- 
Bowie

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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/