I have scripts run from cron that: 1. do full backups on Fridays 2. do full backups on the last day of the month 3. prunes (deletes) backups based on a schedule, in my case: a. delete all full backups that don't land on a Friday or the last day of the month b. keep monthly backups for 15 month c. keep yearly backups for 7 years d. keep weekly backups for 10 weeks
Works like a charm, and made accounting happy. At one point (before the scripts), the end of month backup was an incremental, and was deleted in BackupPC's regular fashion. Oops. They needed the month end data again, and all I could give them was a couple of days before or after. i still let BackupPC delete incrementals whenever it wants. Gerald ----- Original Message ----- From: "Bowie Bailey" <bowie_bai...@buc.com> To: backuppc-users@lists.sourceforge.net Sent: Thursday, April 14, 2011 11:23:51 AM Subject: Re: [BackupPC-users] How to force full backups on weekends? On 4/14/2011 12:04 PM, Jake Wilson wrote: > I did search Google and researched the topic in the wiki and > documentation and the only thing I could find remotely related was the > cron scheduling page in the wiki. If a question is asked (and > answered) a lot I guess I would expect to see the best solutions at > least listed on the wiki. But it's not. Sorry for 'wasting' your time. The reason you didn't find anything other than cron scheduling is that BackupPC does not have any features for strict scheduling of backups. The best it can do is to schedule the full backup as "1 week from the last successful full backup" and this is susceptible to creep due to failed backups (Saturday's full backup fails, so it tries again on Sunday...future full backups are now done on Sundays). If you need something more structured, you have to go to cron. -- Bowie ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ 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/ ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ 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/