Skip to content

Config example for Synology Borg Setup is outdated #38

@dreetz

Description

@dreetz

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: repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions