mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2024-11-22 00:11:03 +01:00
Added /
This commit is contained in:
parent
074915709a
commit
8b5b16be94
@ -9,7 +9,7 @@ do
|
||||
echo "stop container: $docker_container_name" && docker stop "$docker_container_name"
|
||||
for source_path in $(docker inspect --format '{{ range .Mounts }}{{ if eq .Type "volume" }}{{ println .Destination }}{{ end }}{{ end }}' "$docker_container_name");
|
||||
do
|
||||
application_path="$docker_backups_mount$(cat /etc/machine-id)/docker/$docker_container_name"
|
||||
application_path="$docker_backups_mount$(cat /etc/machine-id)/docker/$docker_container_name/"
|
||||
first_destination_path="$application_path""first""$source_path";
|
||||
latest_destination_path="$application_path""latest""$source_path";
|
||||
backup_dir_path="$application_path""diffs/$backup_time/$source_path"
|
||||
|
Loading…
Reference in New Issue
Block a user