Update backup script
This commit is contained in:
parent
59520328b4
commit
48ff0f263b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue