Skip to content
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

HOWTO: Start Restic-browser with selected repository on Windows #76

Open
KamikazeePL opened this issue Oct 2, 2023 · 3 comments
Open
Labels
documentation Improvements or additions to documentation

Comments

@KamikazeePL
Copy link

Create batch file (*.bat)
Change path to yours restic-browser.exe

@echo off
set RESTIC_REPOSITORY=rest:http://example.repository/repo
set RESTIC_PASSWORD=PasswordToRespoitory
start "" d:\Restic-Browser.exe (Path to Restic-Browser.exe)

This batch file will start Restic Browser and connect to selected restic repository.

@AxelPetermann
Copy link

Thanks for that hint.

Would it be also possible to set the path to restic.exe, because on my system it is not part of $PATH.

@emuell
Copy link
Owner

emuell commented Oct 19, 2023

You could either change/update the PATH in the bat file, so Restic Browser can find it or use the new app argument:

start "" PATH_TO\Restic-Browser.exe --restic PATH_TO\restic.exe

@ScottyDoesKnow
Copy link

ScottyDoesKnow commented Oct 31, 2023

Thanks for the tip. For Backblaze:

@echo off
set RESTIC_REPOSITORY=b2:<YourRepository>
set B2_ACCOUNT_ID=<YourAccountID>
set B2_ACCOUNT_KEY=<YourAccountKey>
set RESTIC_PASSWORD=<YourPassword>
start "" .\Restic-Browser.exe

No quotes on the account ID, account key, or password (don't know if that's a problem if there's a space in your password). And obviously change the start path if your .bat isn't in the same folder as the exe.

@emuell emuell changed the title [Guide] [HOWTO] [Windows] start Restic-browser with selected repository HOWTO: Start Restic-browser with selected repository on Windows Jan 18, 2025
@emuell emuell added the documentation Improvements or additions to documentation label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants