From 2bbf5bcf18d7d42b4ebc86a79a13755ed72bec24 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Mon, 12 Oct 2020 11:56:53 +0200 Subject: [PATCH] solved bug --- scripts/backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/backup.sh b/scripts/backup.sh index 385ca2c..e42bfa0 100644 --- a/scripts/backup.sh +++ b/scripts/backup.sh @@ -13,11 +13,11 @@ do 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" - if [ -d "$first_destination_path" ] + if [ -d "$native_backups_mount_prefix$first_destination_path" ] then echo "backup: $source_path" destination_path="$latest_destination_path"; - mkdir -p "$backup_dir_path"; + mkdir -p "$native_backups_mount_prefix$backup_dir_path"; else echo "first backup: $source_path" destination_path="$first_destination_path";