BackupPC-users

Re: [BackupPC-users] expiring disabled host's backups?

2008-07-16 14:08:05
Subject: Re: [BackupPC-users] expiring disabled host's backups?
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: Tino Schwarze <backuppc.lists AT tisc DOT de>
Date: Wed, 16 Jul 2008 11:07:26 -0700
Tino writes:

> Carl actually understood what I'm trying to accomplish. I want to delete
> all backups from that host except the last one(s).

You don't need to do this manually.

You should be able to achieve what you want just by setting:

    $Conf{FullKeepCntMin} = 1;
    $Conf{FullAgeMax} = 90;
    $Conf{IncrKeepCntMin} = 1;
    $Conf{IncrAgeMax} = 90;

(so that only, eg, 1 full/incr backup is kept once they are older
than 90 days), or an alternative is to just force a single full
or incremental for just this host in the per-PC config file:

    $Conf{FullKeepCnt} = 1;
    $Conf{IncrKeepCnt} = 1;

Even when backups are disabled, expiry checking is still done
(once per day), so within a day you should see the extra backups
get removed.

Craig

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/