Closed kbekus closed 5 months ago
Hi @kbekus , sorry for the delay in replying.
According to your question, you are installing BorgWarehouse as a native application and not in a Docker environment (what I call a baremetal installation). That's great, but you're using the docker environment variable file.
I refer you to the Debian documentation, which specifies the environment variables to be used. It's listed here in the documentation..
Finally, in the Debian environment, to use another location for storage, simply make a symbolic link from the repos directory to the directory of your choice. You can even mount an SSHFS directory (storage box hetzner or others...) on repos to deport storage to another machine.
Have a nice Sunday!
thanks for your reply. I did see the different .env file but wondered if I could use additional fields to perform additional functions.
I'll just delete and recreate the borgwarehouse user specifying the alternate location as the home directory.
Thanks again.
hi there, I'm trying to get this service running on a new Debian 12 system as a native application. I've followed the instructions and it's largely running, however it seems that repos are being created in /home/borgwarehouse/repos despite me setting the location in the ~/app/.env.local file:
I can create a repo using the web interface and from a remote machine I then initialise the repo. It gets created in /home/borgwarehouse/repos, not /backup/repos.
And if I check ~/.ssh/authorised_keys it's putting the repo location in /home/borgwarehouse/repos:
can you tell me please what I'm doing wrong? I've recompiled the application a couple of times since editing the .env.local file and it doesn't seem to be changing the location.