Add local backup oneoff

Caveat: it uploads to localhost in the s3 bucket lol
This commit is contained in:
Salt 2024-06-10 22:34:35 -05:00
parent 3ca88c4d88
commit f683c16f85

12
oneoffs/local_backup.yml Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
# Home desktops
- hosts: localhost
roles:
- role: backup
vars:
backup_s3backup_tar_args_extra: h
backup_s3backup_list_extra:
- /home/salt/.backup/
tags: [ backup ]