|
Running BackupPC_nightly only after queued backups are complete: msg#00210sysutils.backup.backuppc.general
Normally, when the BackupPC_nightly command is queued, no new backups are started until the command has been completed. For my setup that is rather inconvenient. I run a weekly full backup of some 30 servers ($Conf{MaxBackups} = 6) starting Friday evening that takes 36 hours to complete. With the default behavior, the queue is interrupted twice when BackupPC_nightly waits for all current jobs to complete. That adds several hours to the total backup time, meaning the backup might not be done until Monday morning. So I made a slight modification so that new backups are held only when BackupPC_nightly is actually running, not when BackupPC_nightly is merely waiting to be run. Here's a patch, in case anyone is interested. --- BackupPC.orig 2004-08-20 12:21:11.000000000 +0200 +++ BackupPC 2004-08-24 08:35:07.659440325 +0200 @@ -546,7 +546,7 @@ sub Main_TryToRun_Bg_or_User_Queue { my($req, $host); - while ( $RunNightlyWhenIdle == 0 ) { + while ( $BackupPCNightlyLock == 0 ) { local(*FH); my(@args, @deferUserQueue, @deferBgQueue, $progName, $type); my $nJobs = keys(%Jobs); -- Scott Hanson Network Services Netlife GmbH Phone: +49 40 28415 0 Millerntorplatz 1 Fax: +49 40 28415 999 20359 Hamburg, Germany http://www.netlife.de ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ BackupPC-users mailing list BackupPC-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | backuppc version 2.1.0 broken after update in Debian unstable?: 00210, Wolfgang Balster |
|---|---|
| Next by Date: | Re: fileListReceive failed - more info: 00210, Craig Barratt |
| Previous by Thread: | backuppc version 2.1.0 broken after update in Debian unstable?i: 00210, Wolfgang Balster |
| Next by Thread: | Re: Running BackupPC_nightly only after queued backups are complete: 00210, Craig Barratt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |