1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00

changelog, comments for duplicity --allow-source-mismatch

This commit is contained in:
Joshua Tauberer 2015-05-30 13:46:39 +00:00
parent 202e49a897
commit 141a09b31e
2 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@ In Development
-------------- --------------
* ownCloud updated to version 8.0.3. * ownCloud updated to version 8.0.3.
* Backups broke if the box's hostname was changed after installation.
v0.09 (May 8, 2015) v0.09 (May 8, 2015)
------------------- -------------------

View File

@ -180,8 +180,9 @@ def perform_backup(full_backup):
if len(passphrase) < 43: raise Exception("secret_key.txt's first line is too short!") if len(passphrase) < 43: raise Exception("secret_key.txt's first line is too short!")
env_with_passphrase = { "PASSPHRASE" : passphrase } env_with_passphrase = { "PASSPHRASE" : passphrase }
# Update the backup mirror directory which mirrors the current # Run a backup of STORAGE_ROOT (but excluding the backups themselves!).
# STORAGE_ROOT (but excluding the backups themselves!). # --allow-source-mismatch is needed in case the box's hostname is changed
# after the first backup. See #396.
try: try:
shell('check_call', [ shell('check_call', [
"/usr/bin/duplicity", "/usr/bin/duplicity",