mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2024-12-22 21:55:03 +01:00
Solved missing whitespace bug
This commit is contained in:
parent
152f11267c
commit
7f0c85eb4a
@ -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...")
|
||||
|
Loading…
Reference in New Issue
Block a user