Browse Source

backup complet yunohost

master
Samuel VERMEULEN 2 years ago
parent
commit
202903d19d
  1. 16
      yunohost-backup.yml

16
yunohost-backup.yml

@ -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…
Cancel
Save