Updated template and documentation

master
Eric Renfro 1 year ago
parent fcd51bdb03
commit fbfffae58a
Signed by: psi-jack
GPG Key ID: 14977F3A50D9A5BF
  1. 7
      README.md
  2. 2
      templates/config.yaml.tpl

@ -3,12 +3,11 @@
## Installation
```
git checkout https://git.linux-help.org/Linux-Help/borgmatic-base.git /etc/borgmatic
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
ln -s ../scripts/post_end postbackup.d/90-post_end
popd
```
@ -16,3 +15,7 @@ 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.

@ -176,7 +176,7 @@ storage:
# Command to use instead of "ssh". This can be used to specify
# ssh options. Defaults to not set.
# ssh_command: ssh -i /path/to/private/key
ssh_command: ssh -i /path/to/private/key
# Base path used for various Borg directories. Defaults to
# $HOME, ~$USER, or ~.

Loading…
Cancel
Save