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: Edward Chadwick
Subject: Re: [Duplicity-talk] problems with --remove-older-than
Date: Thu, 19 Jul 2007 13:38:01 -0400

Thanks for your reply. I have changed my command and it now does what I expect. I have daily incremental backups and a weekly full + remove backup as follows:

1. full backup
2. incremental backup
...
7. incremental backup
8. full backup, --remove-older-than 7D

Ed.


On 7/18/07, Kenneth Loafman <address@hidden> wrote:
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



_______________________________________________
Duplicity-talk mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/duplicity-talk





--
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
http://myprofile.cos.com/echadwick
reply via email to

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