duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Purging, purge-full, not working?


From: Karl Buckland
Subject: Re: [Duplicity-talk] Purging, purge-full, not working?
Date: Fri, 22 Aug 2014 13:07:12 +0100

Hi,

Thanks for your help so far.

The preview command shows that the the time argument does change. That would indicate that the issue is with Duplicity instead?

Eg: 
duply chronos purge --preview

TMPDIR='/tmp' PASSPHRASE='x' AWS_ACCESS_KEY_ID='x' AWS_SECRET_ACCESS_KEY='X' duplicity remove-older-than 3M --name duply_chronos --verbosity '4' --full-if-older-than 1M --volsize 250 's3://s3-eu-west-1.amazonaws.com/X/Y

duply chronos purge 30D --preview

TMPDIR='/tmp' PASSPHRASE='X' AWS_ACCESS_KEY_ID='X' AWS_SECRET_ACCESS_KEY='X' duplicity remove-older-than 30D --name duply_chronos --verbosity '4' --full-if-older-than 1M --volsize 250 's3://s3-eu-west-1.amazonaws.com/X/Y'

If I upgrade Duplicity, am I safe to use my existing backups? My assumption would be 'no' and that I need to make fresh backups with the new Duplicity. If that's the case, which isn't a problem, then my issue will have to go on hold for a few days at least until I have a few days worth of backups to play with the purge functions again.

Thanks,

Karl


On 22 August 2014 12:45, <address@hidden> wrote:
1. you should update to latest duplicity 0.6.24 . there was a bug corrupting backups when resuming before.

2. run 'duply chronos purge' with the '--preview' option and observe if the time argument in the output changes if you give it manually or if unset the one from conf is use.

..ede


On 22.08.2014 12:24, Karl Buckland wrote:
> Hi,
>
> Duply conf file (I've removed gpg_pw, target& user/pass):
> http://pastebin.com/...
>
> Output of 'duply chronos status'
> http://pastebin.com/...
>
> Output of 'duply chronos purge'
> http://pastebin.com/...
>
> I get the same output from purge if I also supply any arguments.
>
> Thanks,
>
> Karl
>
>
> On 22 August 2014 11:02, <address@hidden <mailto:address@hidden>> wrote:
>
>     On 22.08.2014 11:52, Karl Buckland wrote:
>     > Hi,
>     >
>     > I've been using Duply for a few months to backup up a handful of servers to Amazon S3. So far it's been working brilliantly.
>     >
>     > I'm running Debian Squeeze on all of them, which ships with Duply 1.5.5.5. However I have also tried using the latest 1.8.0 in order to ensure that my issue hasn't already been fixed. I have the same issue with both versions (and the equivalent commands for each).
>     >
>     > Either I'm not using the purge commands properly, or it's not working.
>     >
>     > I currently have Duply set up to do a full backup once a month, with incrementals every day, with these settings:
>     > MAX_AGE=3M
>     > MAX_FULL_BACKUPS=3
>     > MAX_FULLS_WITH_INCRS=3
>     > MAX_FULLBKP_AGE=1M
>     > DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE "
>     > VOLSIZE=250
>     > DUPL_PARAMS="$DUPL_PARAMS --volsize $VOLSIZE "
>     >
>     > When I run the 'status' command, I can see:
>     > Full backups: April 27, June 18, Jul 19, Aug 19
>     > Incrementals: June 18 onwards
>     > This is correct, as I originally ran a full backup and then left it for a little while before getting it to run regularly.
>     >
>     > However, when I issue the 'purge' command, it lists out all files, full and incremental up to August 17th. I get this even if I issue the purge command as 'purge 3M' or 'purge 90D' or anything similar. It ignores my commands and appears to be ignoring the config file too?
>     >
>     > I see the same issues with the purgeFull 3 and purgeIncr 3 commands. They ignore the config file and the arguments passed to them and they list everything up until the last week or so.
>     >
>     > Have I misunderstood the commands and config file, or is there a legitimate issue?
>     >
>     > Thanks in advance for any assistance.
>     >
>
>     not sure if i understand properly. please send (attach, paste or pastebin)
>
>     - duply conf file (obfuscate private strings in it before)
>     - the complete output of 'duply <profile> status'
>     - the complete output of 'duply <profile> purge'
>
>     ..ede/duply.net <http://duply.net>
>
>


reply via email to

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