e2ab4a3f4b
No need to backup /etc/project-config or root cache things Change-Id: If31844e974b0bb287c871721453bc6ad500604a8 |
||
---|---|---|
.. | ||
defaults | ||
tasks | ||
templates | ||
README.rst |
Configure a host to be backed up
This role setups a host to use borgp
for backup to any
hosts in the borg-backup-server
group.
A separate ssh key will be generated for root to connect to the backup server(s) and the host key for the backup servers will be accepted to the host.
The borg
tool is installed and a cron job is setup to
run the backup periodically.
Note the borg-backup-server
role must run after this to
create the user correctly on the backup server. This role sets a tuple
borg_user
with the username and public key; the
borg-backup-server
role uses this variable for each host in
the borg-backup
group to initalise users.
Role Variables
The username to connect to the backup server. If this is left undefined, it will be automatically set to
borg-$(hostname)