logo       

Re: Running BackupPC_nightly only after queued backups are complete: msg#00226

sysutils.backup.backuppc.general

Subject: Re: Running BackupPC_nightly only after queued backups are complete

Scott Hanson writes:

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

Looks good. I'm tempted to make this the default behavior.

However, the risk is that BackupPC_nightly might never get to run.

Maybe I should implement some hybrid where it starts blocking new
jobs if BackupPC_nightly has been queued for more than say 48 hours?

Craig


-------------------------------------------------------
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>
Google Custom Search

News | FAQ | advertise