borgmatic-base/README.md

22 lines
898 B
Markdown
Raw Normal View History

2021-09-02 13:48:53 -04:00
# Borgmatic Backup Templates and Scripts
## Installation
```
2021-09-05 08:53:52 -04:00
git clone https://git.linux-help.org/Linux-Help/borgmatic-base.git /etc/borgmatic
2021-09-02 13:48:53 -04:00
pushd /etc/borgmatic
cp templates/config.yaml.tpl config.yaml
cp templates/patterns.tpl patterns
cp templates/excludes.tpl excludes
2021-09-02 13:48:53 -04:00
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.
2021-09-05 08:53:52 -04:00
ssh_command - Provide the ssh key for your backups.
When Adding agents to the before_backup, before_check, and after_backup, make sure the ones being added to after_backup are in reverse order to the ones in before_backup so they can perform their cleanups, if need-be, in the right order.