diff --git a/slapos/recipe/duplicity.py b/slapos/recipe/duplicity.py index 64ecd3a7167164c4b4386909d4b8d26e647a001c..c44e658f24443f9d6885cae591710901fa31eb9a 100644 --- a/slapos/recipe/duplicity.py +++ b/slapos/recipe/duplicity.py @@ -37,8 +37,8 @@ class Recipe(GenericBaseRecipe): options = ['--no-encryption', '--archive-dir', self.options['cache']] if self.optionIsTrue('recover', False): - # duplicity restore [options] remote backup - cmd.append('restore') + options.append('--force') + # duplicity [options] remote backup cmd.extend(options) cmd.extend([remote_url, backup_directory]) else: