mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2024-11-25 09:41:03 +01:00
optimized
This commit is contained in:
parent
c7a8fa734b
commit
6b3a161a06
@ -17,6 +17,7 @@ do
|
|||||||
then
|
then
|
||||||
echo "backup: $source_path"
|
echo "backup: $source_path"
|
||||||
destination_path="$latest_destination_path";
|
destination_path="$latest_destination_path";
|
||||||
|
mkdir -p "$backup_dir_path";
|
||||||
else
|
else
|
||||||
echo "first backup: $source_path"
|
echo "first backup: $source_path"
|
||||||
destination_path="$first_destination_path";
|
destination_path="$first_destination_path";
|
||||||
|
Loading…
Reference in New Issue
Block a user