diff options
author | Thomas Waldmann <tw@waldmann-edv.de> | 2023-03-22 18:11:50 +0100 |
---|---|---|
committer | Thomas Waldmann <tw@waldmann-edv.de> | 2023-03-22 18:52:58 +0100 |
commit | e6b8e03e191759564b10735641c76b9a4ed1bc7d (patch) | |
tree | 4589788e3566962a3aa068c96b4492727b5e825b /docs/usage | |
parent | 671c66361d1d39cb501088bd7a8de100d90ba38a (diff) |
BORG_KEY_FILE: clarify docs, fixes #7444
Diffstat (limited to 'docs/usage')
-rw-r--r-- | docs/usage/general/environment.rst.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/usage/general/environment.rst.inc b/docs/usage/general/environment.rst.inc index 4102be871..bf9327d44 100644 --- a/docs/usage/general/environment.rst.inc +++ b/docs/usage/general/environment.rst.inc @@ -141,7 +141,16 @@ Directories and files: Defaults to ``$BORG_CONFIG_DIR/keys``. This directory contains keys for encrypted repositories. BORG_KEY_FILE - When set, use the given filename as repository key file. + When set, use the given path as repository key file. Please note that this is only + for rather special applications that externally fully manage the key files: + + - this setting only applies to the keyfile modes (not to the repokey modes). + - using a full, absolute path to the key file is recommended. + - all directories in the given path must exist. + - this setting forces borg to use the key file at the given location. + - the key file must either exist (for most commands) or will be created (``borg rcreate``). + - you need to give a different path for different repositories. + - you need to point to the correct key file matching the repository the command will operate on. TMPDIR This is where temporary files are stored (might need a lot of temporary space for some operations), see tempfile_ for details. |