config.example aktualisiert

fix config
This commit is contained in:
2025-06-19 11:34:19 +02:00
parent 8acfffe8d2
commit b6b995f670
+24 -23
View File
@@ -1,29 +1,30 @@
#Edit all Variables for best Experience
SSHPORT='22' #SSH Port, usually default 22 internally
UPDATES=yes #Do PVE and PBS Updates after run
SHUTDOWN=no #No be there anymore
SSHPORT='22' # SSH-Port, normalerweise 22
UPDATES='yes' # Proxmox VE und PBS Updates nach dem Lauf
SHUTDOWN='no' # System nach Ausführung herunterfahren?
SOURCEHOST='192.168.50.200' # IP from Proxmox VE System to be backuped and replicated daily
# Quelle (Proxmox VE System, das gesichert wird)
SOURCEHOST='192.168.50.200' # IP des Quell-Proxmox-Servers
#Replication
ZFSROOT='rpool/data' #First Dataset/Datastoresourcepath from Proxmox VE System to be backuped and replicated daily
ZFSSECOND='rpool-hdd/data' #Optional second Dataset
ZFSTRGT='rpool-ssd1/repl/pve200' #This pulling Machines Target ZFS Sourcepath
# Replikation (ZFS)
ZFSROOT='rpool/data' # Erstes Dataset vom Quellsystem
ZFSSECOND='rpool-hdd/data' # Optional zweites Dataset
ZFSTRGT='rpool-ssd1/repl/pve200' # Zielpfad für Replikation
#ZSYNC
ZSYNC=yes #set to no for Backup with PBS only
ZPUSHTAG=bashclub:zsync-198-ssd #ZFS User parameter will be set on ZFSROOT and ZFSSECOND to select.
ZPUSHMINKEEP=3 #Keep min x Snapshots on all Source Datasets to resume Replication
ZPUSHKEEP=14 #Number of Snapshots with ZPUSHLABEL
ZPUSHLABEL=zsync-rz #Suffix for ZFS-Auto-Snapshot Engine
ZPUSHFILTER="" #ZPUSHLABEL will be replicated. So you can add more Patterns from ZFS, line hourly, daily, weekly, monthly.
# ZFS Zsync Replikation
ZSYNC='yes' # ZSYNC aktivieren (ja/nein)
ZPUSHTAG='bashclub:zsync-198-ssd' # Benutzer-Tag für ZFS
ZPUSHMINKEEP='3' # Mindestens zu behaltende Snapshots
ZPUSHKEEP='14' # Snapshots mit dem Tag, die behalten werden
ZPUSHLABEL='zsync-rz' # Suffix für Snapshot-Autoengine
ZPUSHFILTER='' # Weitere Filter (leer lassen oder Muster wie daily, weekly etc.)
#Backup
BACKUPSERVER=no #use yes for triggering Proxmox Backup to Store
MAINTDAY=7 #1 Monday to 7 Sunday, dont start your System too late
PBSHOST='192.168.50.199' #IP from your Proxmox Backupserver - dont forget to add your hosts public key to PBS authorized keys
BACKUPSTORE=backup #Datastorename configured in your Proxmox VE System to be backuped and replicated daily
BACKUPSTOREPBS=backup #Datastorename configured in your Proxmox Backup Server
BACKUPEXCLUDE='10,3252,3253,3254' #Machines to be excluded from Proxmox Backup
REPLEXCLUDE=$BACKUPEXCLUDE
# Backup mit Proxmox Backup Server
BACKUPSERVER='no' # Backup via PBS aktivieren?
MAINTDAY='7' # Wartungstag (1=Mo, 7=So)
PBSHOST='192.168.50.199' # IP des Proxmox Backup Servers
BACKUPSTORE='backup' # Datastore auf Quell-Proxmox
BACKUPSTOREPBS='backup' # Datastore auf PBS
BACKUPEXCLUDE='10,3252,3253,3254' # VM/CT-IDs, die vom Backup ausgeschlossen sind
REPLEXCLUDE="$BACKUPEXCLUDE" # Diese auch von Replikation ausschließen