Initial commit.

This commit is contained in:
root
2025-10-12 13:23:48 +02:00
commit ca2b6731e0
5 changed files with 863 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# ===== vm-full-backup.conf =====
VM_NAME="WinServer2025"
LV_ORIG="/dev/VG-Windows-Server/WinSystem"
# 1 TiB LV: Snapshot-Startwert 150 GiB (bei hoher Last ggf. erhöhen)
SNAP_SIZE="150G"
# Zielordner (kann NFS sein)
BACKUP_DIR="/data/backup/${VM_NAME}"
# Optional: sicherstellen, dass BACKUP_DIR gemountet ist (z.B. NFS)
REQUIRE_MOUNTED=0 # 1 = BACKUP_DIR muss gemountet sein
REQUIRE_NFS_TYPE=0 # 1 = BACKUP_DIR muss nfs/nfs4 Typ sein
# Dateiprefix für Backup/Logs/XML
FILE_PREFIX="WinSystem_full"
# Aufbewahrung
KEEP=2
# Speed-orientiert:
#
# DD_BS="4M" # Größe der von DD auf einmal geschriebenen Blöcke
# COMPRESS='cat' # keine Kompression (sehr schnell, aber riesig)
#
DD_BS="4M"
COMPRESS='cat'
# QUIET wird bei Cron/kein TTY automatisch 1
# QUIET=0