summaryrefslogtreecommitdiff
path: root/Makefile
blob: 3d297ca4814b4bcb5e66fa4f0044755b7d563667 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
BACKUP := backup

services packages:
	ansible-playbook -i inventory.ini --diff $@.yml

backup:
	ssh -t ship.lan "test -d $(BACKUP) \
		|| restic -r $(BACKUP) init \
		&& restic -r $(BACKUP) backup services"

.PHONY: services packages backup