backup stuff
This commit is contained in:
parent
01b83a80ec
commit
27e036eccd
16 changed files with 513 additions and 0 deletions
16
ansible/playbooks/backups.yml
Normal file
16
ansible/playbooks/backups.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
- name: Configure the offsite backup pull
|
||||
hosts: backup_store
|
||||
gather_facts: yes
|
||||
|
||||
tasks:
|
||||
- name: Ensure the box pulls every source on a timer
|
||||
ansible.builtin.include_role:
|
||||
name: backup_store
|
||||
vars:
|
||||
backup_store_sources:
|
||||
- name: arbret
|
||||
source: "arbret@prd-arbret:/opt/arbret/backups/"
|
||||
retention_days: 90
|
||||
- name: headscale
|
||||
source: "backup-pull@headscale.contrapeso.xyz:/opt/backups/headscale/"
|
||||
retention_days: 90
|
||||
Loading…
Add table
Add a link
Reference in a new issue