-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The config example for setting up Borg Backup on Synology DiskStation is using deprecated configuration sections. The newest Synology Borg (v1.4.1-19) package from the SynoCommunity includes borgmatic v2.0.7. At least in this borgmatic version the configuration sections are deprecated and will be dropped in future releases. (I couldn't figure out in which version exactly the configuration sections became deprecated.)
Configuration sections (like location:, storage:, retention:, consistency:, and hooks:) are deprecated and support will be removed from a future release. To prepare for this, move your options out of sections to the global scope.I suggest updating the example to
# List of source directories to backup.
source_directories:
- /volume1/data
- /volume1/more-data
# Paths of local or remote repositories to backup to.
repositories:
- xxxxx@xxxxx.repo.borgbase.com:repo
# Point to your private key
ssh_command: ssh -i /path/to/private/key
# Add passphrase used during repo init
encryption_passphrase: "my-secret-passphrase-8859849"
# Retention policy for how many backups to keep.
keep_daily: 7
keep_weekly: 4
keep_monthly: 6
# List of checks to run to validate your backups.
checks:
- name: repositoryMetadata
Metadata
Assignees
Labels
No labels