Initial commit

This commit is contained in:
2025-09-01 15:49:49 +02:00
parent 75e89158e7
commit 397db59fc2
2 changed files with 18 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
shell_proxmox_backup_copy_own.env

View File

@@ -0,0 +1,17 @@
# ---------------------------------- Konfiguration -----------------------------------
PROX_BACKUP_DIR="/var/lib/vz/dump" # Proxmox Verzeichnis in dem Lokale Backups landen
SSH_USER="root" # Benutzer für die SSH Verbindung zum NAS
SSH_BACKUP_OWNER="thorsten" # Auf diesen Benutzer werden die Backups am Zielort übertragen falls er von SSH_USER abweicht (chown)
SSH_HOST="192.168.178.100" # IP des NAS Servers
SSH_DEST="/mnt/user/Home Server/Volumes/Proxmox/dump" # Zielpfad / Ein per ssh erreichbarer Pfad auf dem NAS, kein lokaler Pfad auf Proxmox
LOGFILE="/mnt/unRAID/Home Server/Volumes/Proxmox/dump/_shell_proxmox_backup_copy.log" # Logfile
SSH_KEY="$HOME/.ssh/proxmox" # Pfad zum SSH Key
BACKUPS_TO_KEEP=3 # Anzahl der neuesten Backups, die behalten werden
# -------------------------------- Benachrichtigung ----------------------------------
NTFY_USE=true
NTFY_TOPIC="Proxmox"
NTFY_SERVER="192.168.178.25:5885"
NTFY_AUTH="Bearer tk_jmt0ucnmephixst6p9tleb5klf0ra"
NTFY_TITLE="Backup Übertragung"
NTFY_ICON=""
# ---------------------------------- Script Start -----------------------------------