restore backup task
This commit is contained in:
parent
f142b0cf16
commit
1ff7fd5414
2 changed files with 4 additions and 4 deletions
|
@ -32,3 +32,7 @@
|
|||
enabled: true
|
||||
state: started
|
||||
daemon_reload: "{{ 'yes' if service.changed or timer.changed else 'no' }}"
|
||||
- name: Restore backup
|
||||
command:
|
||||
cmd: "borgmatic extract --archive latest --destination / --config {{ service_dir }}/backup.yml"
|
||||
creates: /data
|
||||
|
|
Reference in a new issue