backup complet yunohost
This commit is contained in:
parent
2e698030c1
commit
202903d19d
16
yunohost-backup.yml
Normal file
16
yunohost-backup.yml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
|
||||
- hosts: yunohost-backup
|
||||
|
||||
tasks:
|
||||
|
||||
- name: backup yunohost
|
||||
shell: /usr/bin/yunohost backup create
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
||||
- name: recup backup
|
||||
shell: scp * svprox.vermeulen.pro:/var/lib/vz/backup-yunohost/{{ ansible_hostname }}
|
||||
args:
|
||||
executable: /bin/bash
|
||||
chdir: /home/yunohost.backup/archives
|
Loading…
x
Reference in New Issue
Block a user