-
Notifications
You must be signed in to change notification settings - Fork 23
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
What is the pattern for SFTP? #128
Comments
How exactly do you pass the SFTP password to restic? Do you enter it interactively in the shell with restic? This won't work in Restic Browser, because there is no shell. You could either use ssh or rclone to avoid entering a password interactively. Also note that the sftp path in Restic browser should be exactly the same as with the restic CLI, but without the
|
Hi @emuell I open Restic-Browser select " SFTP ", enter " [email protected]:REPO ", enter " Repo-Password ", click on " Okay ", after that it shows me on the left-bottom corner " Fetching snapshots" but nothing happends, it loads but nothing coming in, even after 10-15 min. If i use the restic in command-line i need first to enter " SFTP-password " then i get a prompt to enter " Repo-password ". Maybe i need to pass the SFTP-Password to in Restic-Browser but how? Thanks in advance. |
There is no shell in Restic Browser to do that. But you can use rclone or set a ssh key for your storage box to avoid entering a password for the sftp connection. I'll check if there's a way to generate a better error in restic browser to make that more clear. |
Thank you, after creating and uploading the ssh-key to the storagebox, restic-browser will automatically search for the key or anything needs to be configured in connection field or somewhere else in restic-browser? |
Yes, it should work just fine then. That's how I use it on Windows. It may be problematic on macOS. If it does not, use rclone. That definitely will work. |
Hi @emuell
I downloaded Restic Browser, works fine when it's local.
Now I want to access sftp, at the bottom it says fetching snapshots but nothing comes in, just loads.
sftp://[email protected]//REPO even tried sftp://[email protected]/REPO
It states: fetching snapshots but nothing happens.
PS. Used lastest scoop version (the same lastest as here). EDIT: Github Version makes no difference.
EDIT: Im sure i used the wrong pattern of sftp because even if i enter the false password i get " fetching snapshots ", something is wrong here. Its a Hetzner-Storagebox.
restic -r sftp:[email protected]:/REPO snapshots <-- This command works fine in commandline.
Am I doing something wrong here?
The text was updated successfully, but these errors were encountered: