From 28477d2da8c374be5abc33102b656fb5cdf4ee60 Mon Sep 17 00:00:00 2001 From: tolerryan <105945216+tolerryan@users.noreply.github.com> Date: Wed, 6 Nov 2024 01:29:41 -0600 Subject: [PATCH] changed restic restore to absolute path --- roles/ind/grail/grail-install.yml | 2 +- roles/ind/wikmd/wikmd-install.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ind/grail/grail-install.yml b/roles/ind/grail/grail-install.yml index 7107d84..1bda92f 100644 --- a/roles/ind/grail/grail-install.yml +++ b/roles/ind/grail/grail-install.yml @@ -87,7 +87,7 @@ - name: Restore docker config Dir shell: | - restic --password-file ./.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / restore latest + restic --password-file /home/restic/.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / restore latest args: chdir: /home/docker creates: /home/docker/qbitorrent diff --git a/roles/ind/wikmd/wikmd-install.yml b/roles/ind/wikmd/wikmd-install.yml index 510fae7..de064fe 100644 --- a/roles/ind/wikmd/wikmd-install.yml +++ b/roles/ind/wikmd/wikmd-install.yml @@ -115,7 +115,7 @@ - name: Restore Wikmd Dir shell: | - restic --password-file ./.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / restore latest + restic --password-file /home/restic/.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / restore latest args: chdir: /home/restic creates: /data/wikmd