[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Feature suggestion: Ability to keep a certain n
From: |
dean gaudet |
Subject: |
Re: [rdiff-backup-users] Feature suggestion: Ability to keep a certain number of snapshots |
Date: |
Fri, 20 Jan 2006 08:42:56 -0800 (PST) |
On Wed, 18 Jan 2006, sim wrote:
> > On Wed, 18 Jan 2006, Peter Schuller wrote:
> > Often I would find it very useful to be able to say "keep the N newest
> > snapshots and remove the rest", which is safer.
>
> Peter,
> This feature already exists in rdiff-backup. From the 'Time Formats'
> section of the man page:
>
> 6. A backup session specification which is a non-negative integer
> followed by 'B'. For
> instance, '0B' specifies the time of the current mirror, and '3B'
> specifies the time of
> the 3rd newest increment.
i just found and fixed an off-by-1 traceback in this... i had a directory
with 40 increments, and specifying 41B produced a traceback... but 40B and
42B were fine. committed the fix to 1.0.x and 1.1.x cvs.
-dean