restore all backups
This commit is contained in:
@@ -80,7 +80,9 @@
|
||||
|
||||
- name: Restore zabbix Dir
|
||||
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:
|
||||
chdir: /home/restic
|
||||
creates: /zabbix
|
||||
|
||||
Reference in New Issue
Block a user