[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] How does remove-older-than works?
From: |
Edgar Soldin |
Subject: |
Re: [Duplicity-talk] How does remove-older-than works? |
Date: |
Mon, 22 Dec 2008 11:56:00 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.0 |
It works as follows:
*remove-older-than */time/
Delete all backup sets older than the given time. Old backup sets
will not be deleted if backup sets newer than /time/ depend on them.
See the *TIME FORMATS* section for more information. Note, this
action cannot be combined with backup or other actions, such as
cleanup.
taken from:
http://duplicity.nongnu.org/duplicity.1.html
as you see, depended backups are kept. In your case the old full backup
(older than 2M) containing the 2 month old file is kept as all
incrementals only reference to it.
regards ede
--
> Hello,
>
> is it safe to always only backup with:
>
> duplicity --remove-older-than 2M
> duplicity $SOURCE $TARGET
>
> My concern is that a file that has not been changed for more than 2
> months (but is still existing) will be deleted. Is a full backup
> necessary every two months or is safe with the lines above?
>
> Thanks,
>
> Florian
>
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
--
public class WhoDidIt{ // A comment. I love comments
private static Person sender;
public static void main (String[] foo){
sender = new Person();
sender.setName(new String[]{"Edgar", "Soldin"});
Address address = new Address();
address.setStreet("Stadtweg 119");
address.setZip(39116);
address.setCity("Magdeburg");
address.setCountry("Germany");
sender.setAddress(address);
sender.setMobilePhone(" +49(0)171-2782880 ");
sender.setWebSiteUrl(" http://www.soldin.de ");
sender.setEmail(" address@hidden ");
sender.setPGPPublicKey(" http://www.soldin.de/edgar_soldin.asc ");
sender.setGender(true);
System.out.println(sender.toString());
}
}