restore all backups

This commit is contained in:
tolerryan
2024-12-16 00:42:33 -06:00
parent 05d9acb4a2
commit 7389611ade

View File

@@ -80,7 +80,9 @@
- name: Restore zabbix Dir - name: Restore zabbix Dir
shell: | shell: |
restic --password-file /home/restic/.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / restore latest restic --password-file /home/restic/.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / --path /zabbix/zabbix-server restore latest
restic --password-file /home/restic/.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / --path /zabbix/zabbix-web restore latest
restic --password-file /home/restic/.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / --path /zabbix/zabbix-backups restore latest
args: args:
chdir: /home/restic chdir: /home/restic
creates: /zabbix creates: /zabbix