diff --git a/restore.sh b/restore.sh index 1206862..6019b83 100644 --- a/restore.sh +++ b/restore.sh @@ -97,7 +97,7 @@ exec > >(tee -a "$LOG_FILE") 2>&1 # ── Backup-Pfad zerlegen ────────────────────────────────────────────────────── # BACKUP_PATH Format: "tnp-Invest-GmbH:vm/100/2024-01-15T02:00:00Z" DATASTORE=$(echo "$BACKUP_PATH" | cut -d: -f1) -SNAPSHOT_PATH=$(echo "$BACKUP_PATH" | cut -d: -f2) +SNAPSHOT_PATH=$(echo "$BACKUP_PATH" | cut -d: -f2-) PVE_BACKUP_REF="${PBS_STORAGE}:backup/${SNAPSHOT_PATH}" # ── Pfade & Messvariablen ─────────────────────────────────────────────────────