changed restic restore to absolute path
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user