Update backup script

This commit is contained in:
albert 2024-12-24 20:42:46 +01:00
parent 59520328b4
commit 48ff0f263b
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -75,7 +75,7 @@ Arguments:
Environment: Environment:
GOTIFY_TOKEN Read from /run/secrets/btrfs-backups/gotify_token GOTIFY_TOKEN Read from /run/secrets/btrfs-backups/gotify_token
REMOTE_HOST Default: root@synology REMOTE_HOST Default: root@synology
KEEP_SNAPSHOTS Default: 14 KEEP_SNAPSHOTS Default: 7
Example: Example:
$(basename "$0") root $(basename "$0") root
@ -91,7 +91,7 @@ fi
# Configurable variables (can be overridden by environment) # Configurable variables (can be overridden by environment)
: "${REMOTE_HOST:=root@synology}" : "${REMOTE_HOST:=root@synology}"
: "${KEEP_SNAPSHOTS:=14}" : "${KEEP_SNAPSHOTS:=7}"
: "${BACKUP_DESCRIPTION:=btrfs-backup}" : "${BACKUP_DESCRIPTION:=btrfs-backup}"
# Configuration # Configuration