BackupPC-users

Re: [BackupPC-users] Feature request: preserve (from deletion) individual backups by number

2009-08-28 13:52:14
Subject: Re: [BackupPC-users] Feature request: preserve (from deletion) individual backups by number
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
Date: Fri, 28 Aug 2009 10:48:25 -0700
Jeffrey writes:

> In general, using FullKeepCnt and IncrKeepCnt (and associated
> variables) works well to prune older backups.
> 
> But sometimes there is a *specific* older backup that you want to hang
> onto because it has some crucial data (or is a 'better' snapshot). It
> would be great if you could tell BackupPC to keep an arbitrary list of
> numbered backups for each different host. (If any of the listed backups
> are incrementals, then BackupPC would of course be smart enough to
> save the relevant precedent incrementals and full backups).
> 
> For example I could imagine, a perl hash of arrays of the following
> form:
> 
> $Conf{PreserveBackups} = {
>                 "hostA" => [ '23', '354', '798' ],
>                 "hostB" => [ '3', '25', '37', '101' ],
>                 "hostC" => [ '9', '11', '33', '434' ],
>                 };
> 
> Does this make sense?

I'll add it to the todo list.  It's much better to put in
the backups file, rather than config file.

Craig

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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/