thornomad/dt-s3-backup — Issue #10: Cleanup broken with european buckets
Author: markruys
Created: 2011-11-16 09:45:51+00:00
State: open

If you need european buckets, you add '--s3-european-buckets' to STATIC_OPTIONS. Because $STATIC_OPTIONS is not passed to the ${DUPLICITY} ${CLEAN_UP_TYPE} ${CLEAN_UP_VARIABLE} call, it fails. This has two consequences:
1) backups are never deleted on Amazon
2) the local cache is completely purged each run, and as a result each run all signatures etc are downloaded again

Here's a patch:
225,226c222
< ${ECHO} ${DUPLICITY} ${CLEAN_UP_TYPE} ${CLEAN_UP_VARIABLE} ${STATIC_OPTIONS} --force \
---
> ${ECHO} ${DUPLICITY} ${CLEAN_UP_TYPE} ${CLEAN_UP_VARIABLE} --force \