|
From: | Matthew Lai |
Subject: | [Duplicity-talk] [PATCH] Added command line options to use different prefixes for manifest/sig/archive files |
Date: | Thu, 30 Jan 2014 01:49:31 -0800 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
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-prefixThis 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
Thanks! Matthew
file_type_prefix_support.patch
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |