Enviroment Variables #152
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#152
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
How do you add Enviroment Variables such as:
BORG_BASE_DIR=/not/default/location
BORG_CONFIG_DIR=/not/default/location
BORG_CACHE_DIR=/not/default/location
BORG_KEYS_DIR=/not/default/location
I do not use the standard /home/.cache location...
Thank you!
You should be able to add those in the environment in which you invoke borgmatic. For instance:
Does that work for you?
If some of these would be more convenient as official borgmatic config options, then please feel free to file a ticket for those! Thanks.
Hello,
OK...that helps a little.
It would be more convenient as official borgmatic config options if it was possible to add.
Currently I created a backup.sh script with:
export BORG_BASE_DIR=/not/default/location
export BORG_CONFIG_DIR=/not/default/location
export BORG_CACHE_DIR=/not/default/location
export BORG_KEYS_DIR=/not/default/location
at the very top....
However, if they could be added into the config .yaml that would be great!!
Thank you for your help!
Glad that's working out for you in the meantime. I'll close this in favor of the other ticket you filed on this, #153!