BackupPC-users

Re: [BackupPC-users] Strict backup schedule

2010-01-26 20:23:47
Subject: Re: [BackupPC-users] Strict backup schedule
From: Gerald Brandt <gbr AT majentis DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 26 Jan 2010 19:23:34 -0600 (CST)

----- "Adam Goryachev" <mailinglists AT websitemanagers.com DOT au> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Gerald Brandt wrote:
> > That was actually my first thought, but the accounting system has
> > EVERYTHING (accounting, inventory, payroll, in MS SQL Server) in it, so
> > it would get prohibitively big.
> >
> > I was thinking of 1 cron entry to do backups every Friday, and another
> > one to do full backups on the last workday of every month.  I'm just not
> > quite sure what to set myPeriod values to so that CRON override BackupPC.
>
> Set the FullPeriod to 8 days, that way, if your cron job is wrong, then
> backuppc will at least trigger the backup on the Saturday.
>
> I'm assuming you will leave backuppc to trigger the daily incrementals
> as needed?
>
> Regards,
> Adam
>

Hi,

I'd like to let BackupPC do as much as possible by itself.  Incrementals is one of the easy ones. 

I'm having problems with expiry though.  Take this months for example.  I'll have 5 full backups on January 1, 8, 15, 22, 29.  The 29th will also be the monthly backup. Then February will be 5, 12, 19, 26, with the 26 being month end.   I usually keep the weeklies until the monthlies are done.  So, on Jan 26, I'll want to delete the Jan 1, 8, 15, and 22 fulls.  On Feb 26, I'll want to delete the 5, 12, and 19 fulls.  March becomes a new issue.  When I do the Mar 31 backup, I'll need to delete Mar 5, 12, 19 and 26 fulls. 

I found a delete script that can do the deletes for me, but is that the only way?  I'd hate to have to parse output to figure out what to delete.

BackupPC isn't meant designed to do this stuff, so I may have to script the whole process.  Ugh.  My perl "ain't so good".

Gerald

------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/