Permalink
Browse files

bugfix: added --allow-source-mismatch duplicity option to backup

rational: otherwise duplicity refuses to backup if the hostname changes...
  • Loading branch information...
1 parent 3033afe commit e9daa8a6f155d75dee92e8fd6a0014b4239ffa36 @lirazsiri lirazsiri committed Oct 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup.py
View
@@ -302,7 +302,7 @@ def run(self):
('include-filelist', self.extras_paths.fsdelta_olist),
('exclude', '**')]
- backup_command = duplicity.Command(opts, '--asynchronous-upload', '/', conf.address)
+ backup_command = duplicity.Command(opts, '--allow-source-mismatch', '--asynchronous-upload', '/', conf.address)
if conf.verbose:
print "\n# PASSPHRASE=$(cat %s) %s" % (conf.secretfile,
backup_command)

0 comments on commit e9daa8a

Please sign in to comment.