I know this has been touched on repeatedly - and from kinda glossing through
the archives I gather that its not a new idea at all, but is there any
reason why scheduling of backups couldn't be handled exclusively by cron
instead of the backuppc mechanism? The time functionality on backuppc seems
to be woefully incomplete in comparison, and the idea of being able to
schedule backups by time instead of by number of backups is vastly more
applealing. I guess what I'm asking is by using cron to handle scheduling,
am I missing anything or preventing any kind of critical functions from
happening such as the linking and the house cleaning? Below is my proposed
crontab (yes I comment this much on my machines - this is a straight pull)
###::::::::::::::::::::: Host Level Stuff (mostly for whole restores)
::::::::::::::::::::::::::###
### execute incr every night
* * * * */1 sudo -u backuppc
/usr/share/backuppc/bin/BackupPC_dump -i localhost
* * * * */1 sudo -u backuppc
/usr/share/backuppc/bin/BackupPC_dump -i host1
* * * * */1 sudo -u backuppc
/usr/share/backuppc/bin/BackupPC_dump -i host2
* * * * */1 sudo -u backuppc
/usr/share/backuppc/bin/BackupPC_dump -i host3
* * * * */1 sudo -u backuppc
/usr/share/backuppc/bin/BackupPC_dump -i host4
### execute full on the 7th day ov every week
* * * * 7 sudo -u backuppc
/usr/share/backuppc/bin/BackupPC_dump -f localhost
* * * * 7 sudo -u backuppc
/usr/share/backuppc/bin/BackupPC_dump -f host1
* * * * 7 sudo -u backuppc
/usr/share/backuppc/bin/BackupPC_dump -f host2
* * * * 7 sudo -u backuppc
/usr/share/backuppc/bin/BackupPC_dump -f host3
* * * * 7 sudo -u backuppc
/usr/share/backuppc/bin/BackupPC_dump -f host4
and in my conf.pl file I've put in
$Conf{FullPeriod} = -1; - in order to disable the backuppc timer function.
$Conf{FullKeepCnt} = 8; - keeps a total of 8 Full Backups (8 weeks)
$Conf{FullAgeMax} = 60; - keeps Full Backups for a total of 60 days (8
weeks)
$Conf{FullKeepCntMin} = 4; - keeps 4 Full Backups no matter how old they
are
$Conf{IncrKeepCnt} = 30; - keeps a total of 30 incremental backups
$Conf{IncrAgeMax} = 30; - keeps incr backups for a total of 30 days
$Conf{IncrKeepCntMin} = 15; - keeps a minimum of 15 incr no matter how old
they are
Thanks everyone for any input you can provide
Scott Gamble
_______________________________
[EMAIL PROTECTED]
[EMAIL PROTECTED]
206 412 3055
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/