duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] [PATCH] Added command line options to use different


From: dcottingham00
Subject: Re: [Duplicity-talk] [PATCH] Added command line options to use different prefixes for manifest/sig/archive files
Date: Thu, 30 Jan 2014 21:16:38 +0000 (UTC)

Wanted to mention that this patch would resolve bug 1170161 "FeatReq: alternate filenames to support S3/Glacier"

https://bugs.launchpad.net/duplicity/+bug/1170161

And it also would provide a much welcome workaround for bug 1170113 "sometimes reads manifest from remote unnecessarily" which I mis-titled, because duplicity always reads the latest manifest whether it needs it or not.

https://bugs.launchpad.net/duplicity/+bug/1170113

 - Dave Cottingham


From: "Matthew Lai" <address@hidden>
To: "Discussion of the backup program duplicity" <address@hidden>
Sent: Thursday, January 30, 2014 2:47:58 PM
Subject: Re: [Duplicity-talk] [PATCH] Added command line options to use different prefixes for manifest/sig/archive files

Ah I forgot about that. --file-prefix was also undocumented, that's why
it didn't come up in my search. I added a description for all 4 options.

Also, it looks like --file-prefix is currently broken (prefix only added
to regex, not file name generation). I fixed it in the second patch, and
added unit tests to test that and also the new options.

Thanks
Matthew

On 30/01/2014 8:56 AM, address@hidden wrote:
> thanks!
>
> sorry to bother you again, but i just now realize that the descriptions for the manpage are still missing! could you please add them after --file-prefix in bin/duplicity.1 ? the syntax is quite obvious and can be checked via 'man -l bin/duplicity.1' with gnu man.
>
> you could probably group the options together with one explanation text as they essentially do the same just to different files.
>
> ..ede/duply.net
>
> On 30.01.2014 17:45, Matthew Lai wrote:
>> Hi Edgar,
>>
>> I've made the changes. Attached is the updated patch.
>>
>> Thanks!
>> Matthew
>>
>> On 1/30/2014 2:56 AM, address@hidden wrote:
>>> just a cosmetic but nonetheless an improvement request. we have a jungle of options already which grows kind of wildly .. the new options might fit in more structured when named like
>>>
>>> --file-prefix-manifest
>>> --file-prefix-...
>>>
>>> as manifest and archive are written out words you might consider doing the same with signature.
>>>
>>> thanks ..ede/duply.net
>>>
>>>
>>> On 30.01.2014 11:35, Kenneth Loafman wrote:
>>>> This does look a lot safer.  Thanks!
>>>>
>>>>
>>>> On Thu, Jan 30, 2014 at 3:49 AM, Matthew Lai <address@hidden <mailto:address@hidden>> wrote:
>>>>
>>>>       Hello!
>>>>
>>>>       Please see attached for a patch that adds command line options to use different prefixes for manifest/sig/archive files.
>>>>
>>>>       --manifest-file-prefix
>>>>       --sig-file-prefix
>>>>       --archive-file-prefix
>>>>
>>>>       This is useful, for example, when backing up to an Amazon S3 bucket with life cycle rules to move archives to Glacier.
>>>>
>>>>       We can only move archives and not manifest files, because Duplicity downloads manifest files on every incremental backup.
>>>>
>>>>       Life cycle rules can only match prefixes, not suffixes, which is a little stupid, but otherwise S3 + Glacier is a very attractive backup destination.
>>>>
>>>>       I do agree it makes more sense to fix it on the Amazon side (making life cycle rules more flexible), but there's not much we can do about that.
>>>>
>>>>       PS. Someone has figured out an alternative workaround, but it's not very safe: http://blog.epsilontik.de/?__page_id=68 <http://blog.epsilontik.de/?page_id=68>
>>>>
>>>>       Thanks!
>>>>       Matthew
>>>>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk


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


reply via email to

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