add restore from backup playbook
GIVEN:
- the url of a backup
source
and a restoretarget
-
source
has docker volumes as specified in/files/docker-compose.yml
-
target
the guarantee that source and target both have running nextcloud instances as specified by/files/docker-compose.yml
WHEN:
- a friendo runs the
restore
playbook
THEN ansible should:
- create an ssh keypair on
source
and place the public key ontarget
- rsync all the docker volume files from
source
totarget
- restart all (relevant) docker containers on
target
- perform some sort of smoke test to verify that it worked (?)
Edited by aguestuser