Add Evnironment Variables to borgmatic .yaml config file #153

Closed
opened 2019-03-12 19:40:02 +00:00 by airbillion · 6 comments

Can you please add the below environment variables as official borgmatic config options?

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

Can you please add the below environment variables as official borgmatic config options? 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
Contributor

Hey, thanks for this simply awesome tool. This is important especially in the case where multiple remote repositories are being used and each one requires a different passphrase to access the repository (I need BORG_PASSPHRASE for example).

Hey, thanks for this simply awesome tool. This is important especially in the case where multiple remote repositories are being used and each one requires a different passphrase to access the repository (I need `BORG_PASSPHRASE` for example).
Contributor

Opened up witten/borgmatic#159 after ...

Opened up https://projects.torsion.org/witten/borgmatic/issues/159 after ...
Owner

I commented on #159, but I consider BORG_PASSPHRASE already supported by the existing borgmatic encryption_passphrase option. The other environment variables though could definitely be added as additional options.

I commented on #159, but I consider `BORG_PASSPHRASE` already supported by the existing borgmatic `encryption_passphrase` option. The other environment variables though could definitely be added as additional options.
Owner

Implemented and released as part of borgmatic 1.3.5. You can find the new borgmatic configuration options that support this in the storage: section. Here's the full list:

  • borg_base_directory
  • borg_config_directory
  • borg_cache_directory
  • borg_security_directory
  • borg_keys_directory

Enjoy!

Implemented and released as part of borgmatic 1.3.5. You can find the new borgmatic configuration options that support this in the `storage:` section. Here's the full list: * `borg_base_directory` * `borg_config_directory` * `borg_cache_directory` * `borg_security_directory` * `borg_keys_directory` Enjoy!
Contributor

Excellent stuff!

Excellent stuff!
Author

Great!

Thank you!

Can't wait to try it out...

Great! Thank you! Can't wait to try it out...
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#153
No description provided.