kurthuwig / docker-duply Goto Github PK
View Code? Open in Web Editor NEWDocker container for duply
License: MIT License
Docker container for duply
License: MIT License
Hi,
thank you for this repository. We are using it as a base for our backups. We have extended it slightly in order to support a master config that is shared by all duply profiles:
https://github.com/raumzeitlabor/backup-docker
I have noticed that by default, you're creating a PGP key with subkey. With this setup, we are unable to restore and get the following error:
root@c5b27c4806bc:/# duply mediawiki restore /tmp/foo
Start duply v1.5.10, time is 2015-06-21 17:09:39.
Using profile '/etc/duply/mediawiki'.
Using installed duplicity version 0.6.23, python 2.7.6, gpg 1.4.16 (Home: /etc/duply/gnupg), awk 'mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan', bash '4.3.11(1)-release (x86_64-pc-linux-gnu)'.
Autoset found secret key of first GPG_KEY entry 'F7928C87' for signing.
Test - Encrypt to F7928C87 & Sign with F7928C87 (OK)
Test - Decrypt (OK)
Test - Compare (OK)
Cleanup - Delete '/tmp/duply.797.1434899379_*'(OK)
--- Start running command RESTORE at 17:09:39.949 ---
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sun Jun 21 16:56:23 2015
Volume was signed by key A095D562, not F7928C87
17:10:36.808 Task 'RESTORE' failed with exit code '22'.
--- Finished state FAILED 'code 22' at 17:10:36.808 - Runtime 00:00:56.858 ---
It looks like the archives are signed by the sub key, but duplicity expects it to be signed with another key. We were able to workaround this by not generating the subkey and thus signing with the encryption key.
Have you run into this problem?
Regards
Simon
--allow-source-mismatch should be switched on by default.
Otherwise by every (incremental) run in docker hostname will be changed, that will cause the error.
I have a problem by running container with gen-key.
Recieving error message:
"Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 219 more bytes) "
...for mysql running in another container as part of pre routine/script? Or similar things necessary before backing up other containers?!
Hey there, thanks for this image!
Cheers
Will
Without it running "default backup" produce error
"BackendException: Could not initialize backend: No module named boto"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.