restore backup task

This commit is contained in:
Pim Kunis 2023-01-21 00:09:26 +01:00
parent f142b0cf16
commit 1ff7fd5414
2 changed files with 4 additions and 4 deletions

View file

@ -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