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: Dominic Raferd
Subject: Re: [rdiff-backup-users] remove a single backup from increments
Date: Sat, 08 Mar 2014 10:13:34 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Marcus, because rdiff-backup works with reverse diffs you can normally only delete the oldest increments.

rdiff-backup --remove-older-than 5B...

should remove the 5th most-recent increment i.e. the oldest of yours below.

You could try:
rdiff-backup --remove-older-than 1B
but I think this will remove all your past increments and leave you only with the most recent data. For more info about the '--remove-older-than' option do man rdiff-backup (or google 'man rdiff-backup').

But there is way to remove only the most recent increment(s) - see my script:
http://www.timedicer.co.uk/programs/help/rdiff-backup-regress.sh.php

Dominic

On 08/03/2014 08:55, 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


Ciao!
M.


_______________________________________________
rdiff-backup-users mailing list at address@hidden
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki



--
TimeDicer: Free File Recovery from Whenever

reply via email to

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