BackupPC-users

[BackupPC-users] Running a command after backup

2011-02-10 03:00:50
Subject: [BackupPC-users] Running a command after backup
From: Jeff Hanson <jhansonxi AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 10 Feb 2011 02:58:23 -0500
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.

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