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

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

Re: Reverting backup location to a previous state


From: Frank Crawford
Subject: Re: Reverting backup location to a previous state
Date: Sun, 26 Jul 2020 14:27:49 +1000
User-agent: Evolution 3.36.3 (3.36.3-1.fc32)

On Sat, 2020-07-25 at 20:23 -0400, Daryl Richards via Any discussion of
rdiff-backup wrote:
> On 2020-07-25 12:24 p.m., rainbowx--- via Any discussion of rdiff-
> backup 
> wrote:
> > Hello,
> > 
> > I upgraded my rdiff-backup from version 1.2.8 to version 2.0.0 (the
> > latest that was installed on Ubuntu 20.04 when just doing "apt
> > install rdiff-backup") and ran a backup to my usual backup
> > location.
> > 
> > Unfortunately my exclude file has Windows (CRLF) line endings and I
> > was struck by this bug: 
> > https://github.com/rdiff-backup/rdiff-backup/issues/357
> > 
> > 
> > As a result, about 100GB of data was not excluded, and my backup
> > location grew from 25GB to 125GB.
> > 
> > So now what I would like to do is revert my backup location to an
> > earlier state. Note that I don't mean restore a previous version of
> > my backup, but rather "undo" my last backup.
> > 
> > It would seem to me since rdiff-backup keeps all the metadata, it
> > should be possible in some way. But I'm unable to find any
> > documentation about it and a web search also hasn't yielded what
> > I'm looking for yet either...
> > 
> > Any help would be appreciated! Using the delete script to delete
> > all the directories that should have been excluded would take me a
> > very long time.
> > 
> 
> I have successfully used the script here in the past: 
> https://www.timedicer.co.uk/programs/help/rdiff-backup-regress.sh.php

Yes this is currently the best way to revert a backup.  At some point
this may be rolled into rdiff-backup but for now, it is a separate
script.

Regards
Frank




reply via email to

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