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