From 7389611ade75e41430dcc4e45e07c930d3b99856 Mon Sep 17 00:00:00 2001 From: tolerryan <105945216+tolerryan@users.noreply.github.com> Date: Mon, 16 Dec 2024 00:42:33 -0600 Subject: [PATCH] restore all backups --- roles/ind/zabbix/zabbix-install.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/ind/zabbix/zabbix-install.yml b/roles/ind/zabbix/zabbix-install.yml index 0a917e4..b355d57 100644 --- a/roles/ind/zabbix/zabbix-install.yml +++ b/roles/ind/zabbix/zabbix-install.yml @@ -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