From 776851d87059556cbfd7ff0694f7058dec9f4ada Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Wed, 13 Mar 2024 16:21:47 +0100 Subject: [PATCH] fix backup basedir on restore --- localdump.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localdump.sh b/localdump.sh index dff4439..c4e161f 100755 --- a/localdump.sh +++ b/localdump.sh @@ -512,7 +512,7 @@ BACKUP_BASEDIR="${backupsource}" else # just one test needed because BACKUP_BASEDIR is BACKUP_BASEDIR - test -d "${ARCHIVE_BASEDIR}/${parService}" && BACKUP_BASEDIR="${ARCHIVE_BASEDIR}/${parService}" + test -d "${ARCHIVE_BASEDIR}/${parService}" && BACKUP_BASEDIR="${ARCHIVE_BASEDIR}" fi if [ ! -d "${BACKUP_BASEDIR}/${parService}" ]; then -- GitLab