duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] problems with --remove-older-than


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] problems with --remove-older-than
Date: Wed, 18 Jul 2007 16:48:56 -0500
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

Whoops, that should be:

   duplicity --remove-older-than 7D --force scp://...

The --force allows duplicity to actually delete them.

...Ken

Kenneth Loafman wrote:
> This is a known problem.  You need to add a step before:
> 
>    duplicity --remove-older-than 7D scp://address@hidden/backup/
> 
> I've looked at the code and rather than fixing it, I may just force it
> to have those semantics.  It is comparable to --cleanup, and probably
> should not be run at the same time as a backup or restore.
> 
> ...Ken
> 
> Edward Chadwick wrote:
>> Hi all,
>>
>> I have set up an automated backup using duplicity, and am having trouble
>> with the --remove-older-than option. Whether I run it as part of an
>> incremental command
>>
>>   duplicity --remove-older-than 7D /backup scp://address@hidden/backup/
>>
>> or a full backup
>>
>>   duplicity --full --remove-older-than 7D /backup
>> scp://address@hidden/backup/
>>
>> it never deletes any files.
>>
>> I realise it won't delete anything that is required by more recent
>> backups, but after a full backup it should be able to delete everything
>> prior to that, correct? Am I missing something?
>>
>> Thanks,
>>
>> Ed Chadwick.
>>
>> -- 
>> Edward K.J. Chadwick PhD.
>> Department of Biomedical Engineering
>> Wickenden Building 102
>> Case Western Reserve University
>> 10900 Euclid Ave
>> Cleveland, OH 44106-7207
>> USA
>>
>> phone:  +1 216 368 0400
>> fax:    +1 216 368 4872
>> mobile: +1 216 926 4534
>> email:  address@hidden <mailto:address@hidden>
>> http://myprofile.cos.com/echadwick
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Duplicity-talk mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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