Commit 4ea644e8 authored by Antoine Catton's avatar Antoine Catton

Add --force on rdiff-backup restoration

parent 325bbd98
No related merge requests found
......@@ -114,6 +114,7 @@ class Recipe(GenericBaseRecipe):
if entry['type'] == 'push':
command.extend(['--restore-as-of', 'now'])
command.append('--force')
command.extend([local_directory, remote_directory])
else:
command.extend([remote_directory, local_directory])
......
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