Re: [BackupPC-users] How to stop starting new backup jobs?
2010-11-09 06:12:43
Hi,
> Is there a way to tell backuppc to finish the currently running backup > jobs and not to start new ones?
maybe not the better way, but you could obtain that using DumpPreUserCmd and DumpPostUserCmd
You need also to set UserCmdCheckStatus = 1;
In the DumpPreUserCmd, you can use a diy script that: 1. verifiy if a specified lock file is present or not (backup-in-progress flag); or you could check for folder "new": if it exists, means that a new backup is in progress.
Usually it is located in host dir : $TopDir/pc/$host 2. if new folder or lock file exists, return non-zero number : in this way the new coming backup is aborted.
If you are using a lock file (and not the new folder) as backup-in-progress flag, in the
DumpPostUserCmd use a diy script that deletes the lock file.
Hope this helps regards M
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev _______________________________________________
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/
|
|
|