Borgmatic Base Template for new backup setups
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Eric Renfro 85024f9bb2
Fixed bug on output restore.sh again
1 week ago
postbackup.d Initial commit 2 years ago
prebackup.d Initial commit 2 years ago
scripts Fixed bug on output restore.sh again 1 week ago
templates Updated template and documentation 2 years ago
.gitignore Adjusted gitignore to igore symlink dirs 2 years ago
README.md Updated template and documentation 2 years ago

README.md

Borgmatic Backup Templates and Scripts

Installation

git clone 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
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. 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.