Initial commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
shell_proxmox_backup_copy_own.env
|
||||
17
shell_proxmox_backup_copy.env
Normal file
17
shell_proxmox_backup_copy.env
Normal 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 -----------------------------------
|
||||
Reference in New Issue
Block a user