Replies: 4 comments 2 replies
-
|
Already possible to expand env vars: https://vykar.borgbase.com/configuration#environment-variable-expansion |
Beta Was this translation helpful? Give feedback.
-
|
I read that; I haven't expressed myself correctly. I have: Where command_dumps:
- name: fireflyiii
command: " docker exec firefly_iii_db mariadb-dump -u '${DB_USER}' -p'${DB_PASSWORD}' '${DB_DATABASE}'"Could this be achieved? |
Beta Was this translation helpful? Give feedback.
-
|
No opposed to loading a .env file in the config. Let's look into that. For the current case, the issue could be a missing
If the file already has |
Beta Was this translation helpful? Give feedback.
-
|
I am missing export in my .env. If you are adding "env files" in config, I will wait for it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using it to backup mainly selfhosted docker images. If the container is running, I make a database dump, with password in config file.
Could be possible to specify a .env file (.env, .env.local, conf/.env, ...) to load variables, so they could be used in command_dumps or hooks?
(I checked documentation and couldn't find it)
Beta Was this translation helpful? Give feedback.
All reactions