diff --git a/scripts/restore.sh b/scripts/restore.sh index 804518f..07a610f 100755 --- a/scripts/restore.sh +++ b/scripts/restore.sh @@ -209,7 +209,7 @@ cmd_restore() { ;; *) - POS_ARGS="$POS_ARGS \"$1\"" + POS_ARGS="$POS_ARGS $1" ;; esac shift @@ -257,7 +257,7 @@ cmd_restore() { echo "Restoring from backup: $BACKUP_DIR" # Ensure stack is not running - docker compose down + docker compose down > /dev/null 2>&1 # Create snapshot to revert to on failure trap restore_cleanup_trap HUP INT QUIT ABRT TERM