mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2024-11-25 09:41:03 +01:00
Removed /
This commit is contained in:
parent
0859dbbedd
commit
7998a7dc03
@ -12,7 +12,7 @@ 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";
|
first_destination_path="$application_path""first""$source_path";
|
||||||
latest_destination_path="$application_path""latest""$source_path";
|
latest_destination_path="$application_path""latest""$source_path";
|
||||||
backup_dir_path="$application_path""diffs/$backup_time/$source_path"
|
backup_dir_path="$application_path""diffs/$backup_time$source_path"
|
||||||
if [ -d "$native_backups_mount_prefix$first_destination_path" ]
|
if [ -d "$native_backups_mount_prefix$first_destination_path" ]
|
||||||
then
|
then
|
||||||
echo "backup: $source_path"
|
echo "backup: $source_path"
|
||||||
|
Loading…
Reference in New Issue
Block a user