From 7f0c85eb4a7894bbef241adc8f642192c73f217c Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Mon, 28 Mar 2022 18:03:07 +0200 Subject: [PATCH] Solved missing whitespace bug --- docker-volume-backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-volume-backup.py b/docker-volume-backup.py index e406c20..c4b96ac 100644 --- a/docker-volume-backup.py +++ b/docker-volume-backup.py @@ -76,7 +76,7 @@ for volume_name in volume_names: print("No previous version exists in path "+ last_version_dir_path + ".") link_dest_parameter="" source_dir = "/var/lib/docker/volumes/" + volume_name + "/_data/" - rsync_command = "rsync -abP --delete --delete-excluded " + link_dest_parameter + source_dir + files_rsync_destination_path + rsync_command = "rsync -abP --delete --delete-excluded " + link_dest_parameter + source_dir + " " + files_rsync_destination_path print_bash(rsync_command) print("stop containers...") print("Backup data after container is stopped...")