Commit c6ab5223 authored by Antoine Catton's avatar Antoine Catton

Add cache option to duplicity

parent 65d034df
...@@ -34,7 +34,7 @@ class Recipe(GenericBaseRecipe): ...@@ -34,7 +34,7 @@ class Recipe(GenericBaseRecipe):
backup_directory = self.options['local-directory'] backup_directory = self.options['local-directory']
cmd = [self.options['duplicity-binary'],] cmd = [self.options['duplicity-binary'],]
options = ['--no-encryption'] options = ['--no-encryption', '--archive-dir', self.options['cache']]
if self.optionIsTrue('recover', False): if self.optionIsTrue('recover', False):
# duplicity restore [options] remote backup # duplicity restore [options] remote backup
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment