diff --git a/backupbot.py b/backupbot.py index 10b4efb..624510d 100755 --- a/backupbot.py +++ b/backupbot.py @@ -521,7 +521,6 @@ def dump(snapshot, path): logger.error(f"There is no latest snapshot for {SERVICE}") exit(1) snapshot = latest_snapshot[0]['short_id'] - cmd.append(snapshot) cmd = cmd + [snapshot, path] print(f"Dumping {path} from snapshot '{snapshot}'") output = subprocess.run(cmd, capture_output=True)