Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optional backports duplicity under Debian and fix for GPG2 #28

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

optional backports duplicity under Debian and fix for GPG2 #28

wants to merge 5 commits into from

Conversation

msheiny
Copy link

@msheiny msheiny commented May 18, 2017

Upgraded duply script to version 2.0.1 which adds some fixes for GPG2 support. This had the negative side-effect of breaking S3 targets so I made some relative changes under the conf templates to export AWS credentials into the environment.

Found some other bugs in duplicity that required me to update to the latest version. Unfortunately jessie only had the 0.6 line in their repositories but had the most up-to-date stable releases in jessie-backports. Added functionality to allow install duplicity from backports depending on status of optional backup_modern_duplicty variable boolean (set to false by default).

Apparently there was a change in the script at one point to no longer map
target_user and target_pass as S3 credentials. Exporting the AWS environment
variables so the boto library takes advantage of them is the way to go now.
Tried to do this as cleanly as possible within the perpsective backup target
config.
Will install backports under Debian and use that to install duplicity
if an optional flag `backup_modern_duplicity` is set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant