Update backup script

This commit is contained in:
albert 2024-12-24 20:24:05 +01:00
parent 54ac624c4b
commit 59520328b4
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -184,8 +184,8 @@ if [ -z "$NEW_SNAPSHOT" ]; then
fi
HOSTNME=$(hostname)
BASE_DEST_PATH="/volume1/BTRFS_Receives/`hostname`/${SNAPPER_CONFIG}"
DEST_PATH="/volume1/BTRFS_Receives/`hostname`/${SNAPPER_CONFIG}/${NEW_SNAPSHOT}"
BASE_DEST_PATH="/volume1/BTRFS_Receives/hosts/`hostname`/${SNAPPER_CONFIG}"
DEST_PATH="/volume1/BTRFS_Receives/hosts/`hostname`/${SNAPPER_CONFIG}/${NEW_SNAPSHOT}"
STATE_FILE="/var/lib/snapper-backup-${SNAPPER_CONFIG}.state"
LOG_FILE="/var/log/snapper-backup-${SNAPPER_CONFIG}.log"