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

different names used for .borgmatic in ".env" and "docker-compose.yml" #197

Open
Carunga opened this issue Dec 27, 2022 · 3 comments
Open

Comments

@Carunga
Copy link

Carunga commented Dec 27, 2022

If starting up the container for the first time there will be an error message caused by different names in the .env (VOLUME_DOT_BORGMATIC) and docker-compose.yml (VOLUME_BORGMATIC_STATE). Simply changing the name in one file worked for me.

@witten
Copy link
Collaborator

witten commented Jun 20, 2023

Sorry for the lengthy delay here. If it's still happening, can you provide the error message you're seeing, along with the command you're running to get it? Seeing your .env and docker-compose.yml file contents would be helpful too. Thanks!

@jetchirag
Copy link
Contributor

@witten
I was just testing it and experienced it too.
If you check the docker compose file in base flavour, you'll find

- ${VOLUME_BORGMATIC_STATE}:/root/.borgmatic # borgmatic state files

on Line 10. However .env.template file uses variable VOLUME_DOT_BORGMATIC=./data/.borgmatic

Also the doc mentions it's depreciated

@witten
Copy link
Collaborator

witten commented Jun 20, 2023

Thanks, that looks like an easy fix. The path is currently deprecated, but it's possible it will become un-deprecated at some point...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants