Borgmatic Base Template for new backup setups
Find a file
2021-09-02 13:48:53 -04:00
postbackup.d Initial commit 2021-09-02 13:48:53 -04:00
prebackup.d Initial commit 2021-09-02 13:48:53 -04:00
scripts Initial commit 2021-09-02 13:48:53 -04:00
.gitignore Initial commit 2021-09-02 13:48:53 -04:00
config.yaml.tpl Initial commit 2021-09-02 13:48:53 -04:00
excludes.tpl Initial commit 2021-09-02 13:48:53 -04:00
patterns.tpl Initial commit 2021-09-02 13:48:53 -04:00
README.md Initial commit 2021-09-02 13:48:53 -04:00

Borgmatic Backup Templates and Scripts

Installation

git checkout https://git.linux-help.org/Linux-Help/borgmatic-base.git /etc/borgmatic
pushd /etc/borgmatic
cp config.yaml.tpl config.yaml
cp patterns.tpl patterns
cp excludes.tpl excludes
ln -s ../scripts/post_end postbackup.d/90-post_end
popd

Once installed and initially setup, you should edit the config.yaml and set: source_directories - Include any additional directories needed if needed. repositories - Add repository locations appropriately. encryption_passphrase - Passphrase for backup, if not using 'none' for encryption.