From f683c16f858394e4f79c642940931ee976e389dc Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Mon, 10 Jun 2024 22:34:35 -0500 Subject: [PATCH] Add local backup oneoff Caveat: it uploads to localhost in the s3 bucket lol --- oneoffs/local_backup.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 oneoffs/local_backup.yml diff --git a/oneoffs/local_backup.yml b/oneoffs/local_backup.yml new file mode 100755 index 0000000..c67f890 --- /dev/null +++ b/oneoffs/local_backup.yml @@ -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 ]