changed restic restore to absolute path

This commit is contained in:
tolerryan
2024-11-06 01:29:41 -06:00
parent d2a1d6fe79
commit 28477d2da8
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@
- name: Restore docker config Dir - name: Restore docker config Dir
shell: | 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: args:
chdir: /home/docker chdir: /home/docker
creates: /home/docker/qbitorrent creates: /home/docker/qbitorrent

View File

@@ -115,7 +115,7 @@
- name: Restore Wikmd Dir - name: Restore Wikmd Dir
shell: | 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: args:
chdir: /home/restic chdir: /home/restic
creates: /data/wikmd creates: /data/wikmd