My defaults for borgmatic backup configuration.
These defaults are designed for Linux-based systems. They might work on Macs as well.
You need to have installed:
- borg / borgbackup
- borgmatic
As root, clone the repo into /etc/borgmatic-defaults
git clone git@github.com:rolandu/borgmatic-defaults.git /etc/borgmatic-defaults/
cp /etc/borgmatic-defaults/template.yaml /etc/borgmatic/
Create your configs within /etc/borgmatic
(or anywhere else).
Example flow:
## Initialize the repo:
borgmatic --config /etc/borgmatic/your_config.yaml init --encryption repokey
## Store the key:
borgmatic --config /etc/borgmatic/your_config.yaml key export
## Try to do an initial backup:
borgmatic --config /etc/borgmatic/your_config.yaml create --verbosity 1 --list --stats
... and then you can go ahead and use borgmatic as you like.