Compare commits

..

1 Commits

Author SHA1 Message Date
Apfelwurm ceaf7fde8a make --delete in restic restore detault behaviour
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2026-07-22 20:39:34 +02:00
+1 -1
View File
@@ -224,7 +224,7 @@ def restore_path(snapshot_id, target, noninteractive, paths):
def restic_restore(snapshot_id, include=[], target_dir=None):
cmd = restic.cat.base_command() + ["restore", snapshot_id]
cmd = restic.cat.base_command() + ["restore", snapshot_id, "--delete"]
for path in include:
cmd.extend(["--include", path])
if target_dir: