From b862f8943a09d8be0c9b85b215bd791ad7d0b522 Mon Sep 17 00:00:00 2001 From: Clemens Date: Fri, 24 Mar 2023 12:11:57 +0100 Subject: [PATCH] fixed restore.sh --- infrastructure/docker-backup/image/resources/restore.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure/docker-backup/image/resources/restore.sh b/infrastructure/docker-backup/image/resources/restore.sh index 07f6725..0098b86 100755 --- a/infrastructure/docker-backup/image/resources/restore.sh +++ b/infrastructure/docker-backup/image/resources/restore.sh @@ -3,9 +3,9 @@ set -Eeox pipefail function main() { - local role_snapshot_id="${1:-latest}"; shift - local db_snapshot_id="${1:-latest}"; shift - local file_snapshot_id="${1:-latest}"; shift + local role_snapshot_id="${1:-latest}" + local db_snapshot_id="${2:-latest}" + local file_snapshot_id="${3:-latest}" start-maintenance.sh