927046f18a
To complete our transition to borg backups, remove bup-related bits from backup hosts. All hosts have been backing up with borg since Ic3adfd162fa9bedd84402e3c25b5c1bebb21f3cb. Change-Id: Ie99f8cee9befee28bcf74bff9f9994c4b17b87ff |
||
---|---|---|
.. | ||
files | ||
tasks | ||
README.rst |
Configure a host to be backed up
This role setups a host to use bup
for backup to any
hosts in the 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 bup
tool is installed and a cron job is setup to run
the backup periodically.
Note the backup-server
role must run after this to
create the user correctly on the backup server. This role sets a tuple
bup_user
with the username and public key; the
backup-server
role uses this variable for each host in the
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
bup-$(hostname)