BackupPC-users

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

2011-02-10 09:35:33
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 09:33:50 -0500
On 2/10/2011 9:13 AM, Michael Stowe wrote:
>> I'm need to create a flag file after a rsync backup job completes on
>> localhost (standalone system).  It is checked for periodically by a
>> cron job and the system is halted when found.  The command I'm using
>> is:
>> touch /var/lib/backuppc/backuppc-halt.flg
>>
>> This works if specified for DumpPostShareCmd but with multiple
>> directories being backed up (/etc, /home, ...) it is activated after
>> /etc backup completes and the /home backup is aborted because of the
>> halt.  If I specify the command for ArchivePostUserCmd it never is
>> executed.
> How about PostUserCmd?

Shouldn't that be "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/