-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restic + rclone errors #26
Comments
The error message clearly tells you what is wrong. The rclone binary cannot be executed because Windows does not find it in any of the directories in your %PATH% environment variable. You need to put the rclone binary in one of the directories listed in your %PATH% or adjust the %PATH% so that it includes the C:\restic directory. |
You’ll need to be a bit more specific
|
This is completely out of the scope of restic or this wrapper script. Making your PATH environment variable contain the paths you need for any software you want to run to work, is something that has to do with your Windows configuration. Here is the very first hit on DuckDuckGo.com when searching for "windows 10 set path": https://www.computerhope.com/issues/ch000549.htm , and here are the other hits: https://duckduckgo.com/?q=windows+10+configure+PATH&t=osx&ia=web Please, start researching at least a little bit before asking questions that are super basic. If you do, you will find answers pretty fast ;) |
Sure and I appreciate your detailed and quick assistance. I googled %path% and %path% restic relevant to me and wasn’t able to find anything. I will revisit my approach using the information above |
The key is that if you don't know what the PATH variable is or is about, you look for information to understand that. When you will be able to solve your initial need. One shouldn't just try to find a solution to the problem, one should try to understand why the problem happens, and understand what the solution does. Not just copy paste some instructions. |
@Jeff-rgb2 I hope you got your issues sorted out. Let me know if you still need help. Thanks! |
@kmwoley Thank you for reaching out. Firstly thank you for taking the time to create such a fantastic product. Yes I was able to get my issues sorted. I guess my only other question is what are your thoughts on protecting or encrypting the secrets.ps1 file given it contains the repo password. An adversary would only need that file and they'd have access to my repo. Lmk your thoughts. |
Good question - I’m open to ideas on how to better store the secrets. I
imagine there’s some way to take advantage of some type of key store, but
I’ve never looked into it.
…On Sat, Nov 28, 2020 at 2:58 PM Jeff-rgb2 ***@***.***> wrote:
@Jeff-rgb2 <https://github.com/Jeff-rgb2> I hope you got your issues
sorted out. Let me know if you still need help. Thanks!
@kmwoley <https://github.com/kmwoley> Thank you for reaching out. Firstly
thank you for taking the time to create such a fantastic product.
Yes I was able to get my issues sorted. I guess my only other question is
what are your thoughts on protecting or encrypting the secrets.ps1 file
given it contains the repo password. An adversary would only need that file
and they'd have access to my repo. Lmk your thoughts.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOWG6BLWO3EAYN3KYSV2DDSSF6B5ANCNFSM4UEY5DRA>
.
|
It's not that uncommon to store your password and similar sensitive information in a file. If this was bad practice in general, restic wouldn't have the You just have to make sure that the file in question is only readable by yourself. |
20201127T2201243045.err.txt
20201127T2201243045.log.txt
The text was updated successfully, but these errors were encountered: