summaryrefslogtreecommitdiffstats
path: root/docs/usage
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2023-07-02 22:29:05 +0200
committerThomas Waldmann <tw@waldmann-edv.de>2023-07-03 15:38:21 +0200
commit8ac7178ab92c04344b8089960c31515fbf02d2c0 (patch)
tree87ce8a6a3332214e03d0af181ba8bf44267103b7 /docs/usage
parent6b0dc53f11e8eae0c1a46e5569674347f276bffd (diff)
BORG_WORKAROUNDS=authenticated_no_key to extract from authenticated repos without key, fixes #7700
Diffstat (limited to 'docs/usage')
-rw-r--r--docs/usage/general/environment.rst.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/usage/general/environment.rst.inc b/docs/usage/general/environment.rst.inc
index bf9327d44..87ad5148f 100644
--- a/docs/usage/general/environment.rst.inc
+++ b/docs/usage/general/environment.rst.inc
@@ -100,6 +100,22 @@ General:
caused EROFS. You will need this to make archives from volume shadow copies
in WSL1 (Windows Subsystem for Linux 1).
+ authenticated_no_key
+ Work around a lost passphrase or key for an ``authenticated`` mode repository
+ (these are only authenticated, but not encrypted).
+ If the key is missing in the repository config, add ``key = anything`` there.
+
+ This workaround is **only** for emergencies and **only** to extract data
+ from an affected repository (read-only access)::
+
+ BORG_WORKAROUNDS=authenticated_no_key borg extract repo::archive
+
+ After you have extracted all data you need, you MUST delete the repository::
+
+ BORG_WORKAROUNDS=authenticated_no_key borg delete repo
+
+ Now you can init a fresh repo. Make sure you do not use the workaround any more.
+
Some automatic "answerers" (if set, they automatically answer confirmation questions):
BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK=no (or =yes)
For "Warning: Attempting to access a previously unknown unencrypted repository"