BackupPC-users

Re: [BackupPC-users] Auto Archiving of hosts

2010-02-09 11:41:17
Subject: Re: [BackupPC-users] Auto Archiving of hosts
From: Michael Osburn <michael.osburn AT echostar DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 9 Feb 2010 09:24:01 -0700
On Tuesday 09 February 2010 08:01:59 am Timothy J Massey wrote:
> Michael Osburn <michael.osburn AT echostar DOT com> wrote on 02/08/2010 
> 06:42:34 
> PM:
> 
> > I am looking for a way to automatically archive my oldest full 
> > backups to a different mount point. The goal is to have fairly 
> > recent backups stored off onto a SAN device, then remove the oldest 
> > backup. I have looked at the archive host option, but this would 
> > require a lot of manual intervention as we would need to select the 
> > backups some time during the week and then letting the fulls age away. 
> 
> Is there a reason you're moving the *oldest*?  The newest would be very 
> easy.  The oldest slightly more difficult.
> 
> The archive command accepts negative numbers for the backup number.  So, 
> to get the most recent, simply use "-1".  For the oldest, use the number 
> of fulls plus the number of incrementals.  Of course, if you haven't yet 
> done enough backups to get that far yet, that won't work.  That's the 
> "slightly more difficult" part...  :)
> 
> I have a cron script that I run once a week to archive the latest backup 
> to a removable hard drive.  Let me know if you'd like to see it.  It's 
> really pretty simple, though.  It doesn't do as much error checking as I'd 
> like (like making sure the removable drive is mounted properly), but the 
> archive part works perfectly, thanks to BackupPC.
> 
> Tim Massey
> 
> 
> ------------------------------------------------------------------------------
> 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/
> 

Thanks Tim,

I need to get things confirmed with management first but I think that doing the 
latest 
would work for what I need. I did not see the "-1" option when looking at the 
archive 
host option. Do you mind sharing your script?

Michael

------------------------------------------------------------------------------
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/

<Prev in Thread] Current Thread [Next in Thread>