system-config/playbooks/roles/backup
Ian Wienand 445eb7a7b2 backup: minor fixes
The ssh config file is /.ssh/config (not ssh_config)

We are accepting the ed25519 key, not the ecdsa key, so fix that in
the known_hosts stanza.

Change-Id: If3a42a7872f5d5e7a2bf9c3b5184fb14d43e6a1a
2019-08-09 14:11:41 +10:00
..
files Ansible roles for backup 2019-08-05 16:59:57 +10:00
tasks backup: minor fixes 2019-08-09 14:11:41 +10:00
README.rst Ansible roles for backup 2019-08-05 16:59:57 +10:00

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)