emuell / restic-browser

A GUI to browse and restore restic backup repositories.
MIT License
722 stars 22 forks source link

Environment variables not fully supported anmore starting with version 3, can't open repository anymore #115

Closed JsBergbau closed 3 months ago

JsBergbau commented 3 months ago

Having an environment

set RESTIC_PASSWORD_FILE=resticCred
set RESTIC_REPOSITORY_FILE=resticRepository
set RESTIC_PACK_SIZE=100
set RESTIC_COMPRESSION=max
set RESTIC_CACERT=my_key

works perfectly with 0.2.6

Beginning with v0.3.0-beta up to current version you get this error message.

grafik

Failed to open repository: Fatal: Options -r and --repository-file are mutually exclusive, please specify only one

emuell commented 3 months ago

Thanks for reporting and sorry for the late reply.

This should be fixed in #117

Could you please check if this is fixed for you as well, using the builds from PR? https://github.com/emuell/restic-browser/actions/runs/10492574312

JsBergbau commented 2 months ago

Sorry for the late reply. Works now. Thank you very much.