Hi, Timothy J Massey wrote on 2014-12-10 11:53:38 -0500 [Re: [BackupPC-users] How to delete backups]: > Holger Parplies <[email protected]> wrote on 12/10/2014 10:59:17 AM: > > [...] > > ***Never*** run BackupPC_nightly from the command line. ***Never*** advise > > other to do so. > > Really quite simple. > > Why not, exactly? I do it all the time. I'm not saying you're wrong: I > just want to know where the harm might be. But you state the "never do > that" in such strong terms, I'm wondering where the disconnect it.
BackupPC_link and BackupPC_nightly shouldn't run concurrently because of race conditions in the code. As far as I remember, BackupPC_nightly might remove (or chain-renumber) a file BackupPC_link is about to create a link to, which would result in the file missing from the backup or containing incorrect data. The odds of this happening might not be high, but why take the risk? There might be further problems I am unaware of. If you let the scheduler run BackupPC_nightly, it will take care not to run BackupPC_link concurrently, so possible problems will be avoided. It will also receive the statistical output from BackupPC_nightly, which, I believe, it won't if you run BackupPC_nightly from the command line. > [...] > By the way, that's probably the best way to handle this problem. Set the > FullKeepCnt and IncKeepCnt to 1, do a full backup and let BackupPC manage > deleting everything for you! :) I agree with that (except that it's "IncrKeepCnt" ;-) in that it is the easiest and least error-prone way. This will leave you with one backup though, so it's mostly equivalent to the "delete entire host" case (you have the choice of running a backup after deleting the host depending on what you want) except for backup numbering (deleting the host will restart at 0). If you want to keep the last 10 backups, for instance, you would need to count your fulls and incrementals and adjust the KeepCnts to match. Regards, Holger ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
