Ian Wienand fff85f029c borg-backup-server: wait for lock in verify
We have seen a case where the weekly verification run conflicted with
an in-progress backup run.  Make the verification step wait for up to
an hour for the lock to allow backups to complete.

Change-Id: Id87dd090c7cd652695ab0c4aa73477cf0d72c28d
2021-10-06 10:34:13 +11:00
..
2020-07-21 17:36:50 +10:00
2020-07-21 17:36:50 +10:00

Setup backup server

This role configures backup server(s) in the borg-backup-server group to accept backups from remote hosts.

Note that the borg-backup role must have run on each host in the borg-backup group before this role. That role will create a borg_user tuple in the hostvars for for each host consisting of the required username and public key.

Each required user gets a separate home directory in /opt/backups. Their authorized_keys file is configured with the public key to allow the remote host to log in and only run borg in server mode.

Role Variables