rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] remove a single backup from increments


From: Robert Nichols
Subject: Re: [rdiff-backup-users] remove a single backup from increments
Date: Sun, 09 Mar 2014 14:02:26 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Thunderbird/17.0.10

On 03/08/2014 02:55 AM, Marcus Schopen wrote:
Hi,

how do I remove a single backup run from increments,
eg. the one at "Sat Mar  8 07:02:51 2014":

# rdiff-backup -l .
Found 5 increments:
     increments.2014-03-04T18:18:57+01:00.dir   Tue Mar  4 18:18:57 2014
     increments.2014-03-05T07:01:18+01:00.dir   Wed Mar  5 07:01:18 2014
     increments.2014-03-06T07:01:58+01:00.dir   Thu Mar  6 07:01:58 2014
     increments.2014-03-07T07:01:51+01:00.dir   Fri Mar  7 07:01:51 2014
     increments.2014-03-08T07:02:51+01:00.dir   Sat Mar  8 07:02:51 2014
Current mirror: Sat Mar  8 09:26:53 2014

Basically, you can't. Doing that would require merging of successive
increments, which has been a frequently requested feature ("I really
don't need all the daily increments more than a year back in the
history"). The librsync library has no support for merging two (or more)
increments, so the only recourse would be to re-create the files at time
N and time N-m and recalculate the deltas. Doing that in a robust and
recoverable way over an entire repository would be decidedly
non-trivial.

Right now, your best bet would be to use Dominic's script to revert two
levels, bringing the mirror back to 2014-03-07, and move on from there.

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]