diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f9d4a52 --- /dev/null +++ b/Makefile @@ -0,0 +1,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" |