blob: f9d4a522c0767567f1a7a623c4f9a0083f9978c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
BACKUP := backup
setup:
ansible-playbook -i inventory.ini --diff setup.yml
backup:
ssh -t ship.lan "test -d $(BACKUP) \
|| restic -r $(BACKUP) init \
&& restic -r $(BACKUP) backup services"
|