-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gerald Brandt wrote: > Hi, > > I have a situation where I need a 'strict' backup schedule. > > Our accounting data must be backed up daily, with weekly fulls on > Friday and Monthly fulls on the last day of the month. Have > mid-week and every 4 week fulls could mean we lose data. For > example, if BackupPC does a weekly full on December 29, that means > the next weekly full is January 5th. When the dailies get expired, > it would be impossible for us to restore the last 2 days of > December. > > In this particular case, we need a backup that is calendar driven, > and not driven by BackupPC's concept of 7 days weeks, 4 weeks in a > month, etc. > > My current backup is: > > $Conf{FullKeepCnt} = [4, 0, 13, 0, 0, 100]; > > How can I change that (coupled with cron, I assume) so that at the > end of the year, I have 12 monthly backups, all on the last day of > the month, and the yearly on the last day of the year?
The simplest method would be something like this: $Conf{FullKeepCnt} = [365]; This would give you every backup for the past 12 months... If this is only accounting data, then I presume it is relatively small (as opposed to user file shares and emails). Don't be scared of keeping too many backups... they will always be useful eventually. If you run out of space on the backup server, then just add more :) Of course, if you don't like that method, check the docs for the command line to tell the system to run a specific type of backup, and drop that into cron. Just set your backuppc *Period values to longer than cron will do it. Regards, Adam -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktffxwACgkQGyoxogrTyiWGlwCbByUrc49SWBzejpdwkpFttCJm 4IUAnRUlq7kzkGsZYMbs5ch7lrmLcZC1 =fBvq -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/