Borgmatic Base Template for new backup setups
Go to file
Eric Renfro a120d4a8b5
Adjusted gitignore to igore symlink dirs
2021-09-03 15:27:10 -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 Fixed permissions on scripts/consul 2021-09-03 15:22:54 -04:00
templates Added consul script and starting hook_api updates 2021-09-03 15:11:32 -04:00
.gitignore Adjusted gitignore to igore symlink dirs 2021-09-03 15:27:10 -04:00
README.md Moved templates into templates directory to not crown main. 2021-09-02 21:03:00 -04:00

README.md

Borgmatic Backup Templates and Scripts

Installation

git checkout https://git.linux-help.org/Linux-Help/borgmatic-base.git /etc/borgmatic
pushd /etc/borgmatic
cp templates/config.yaml.tpl config.yaml
cp templates/patterns.tpl patterns
cp templates/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.