duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Using `remove-older-than` correctly


From: Olivier Berger
Subject: Re: [Duplicity-talk] Using `remove-older-than` correctly
Date: Sat, 18 Feb 2012 14:34:22 +0100
User-agent: Notmuch/0.11.1 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu)

On Sun, 12 Feb 2012 15:49:40 +0800, howard chen <address@hidden> wrote:
> Hello,
> 
> I have a folder that need to backup
> 
> 1. I want to alway have a full backup of that folder, no matter the
> files have been untouched for a year or more
> 2. I want to keep 30 day of history to rollback, e.g. I can alway
> rollback to the backup of last week
> 
> Currently I am using
> 
> 
> duplicity --sign-key '123' --encrypt-key 'ABC' /backup s3+http://xxxx
> duplicity remove-older-than 30D s3+http://xxx
> 
> 
> And today I found out the `remove-older-than` will remove all the
> files if they keep unchanged for more than 30days, but not the 30 days
> history I mentioned in (2).
> 
> So what command(s) I should be used?
> 

--full-if-older-than may be what you need... see manpage.

Notice also the remove-all-but-n-full and remove-all-inc-of-but-n-full
that may help achieve what you need, hopefully.

Best regards,
-- 
Olivier BERGER 
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)




reply via email to

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