You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by br...@apache.org on 2024/05/14 09:29:09 UTC
(solr-sandbox) branch main updated: Update ENCRYPTION.md to describe EncryptionBackupRepository. (#107)
This is an automated email from the ASF dual-hosted git repository.
broustant pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-sandbox.git
The following commit(s) were added to refs/heads/main by this push:
new a7a07cb Update ENCRYPTION.md to describe EncryptionBackupRepository. (#107)
a7a07cb is described below
commit a7a07cb4042bf0c1581c2b3723009b8c8d96494f
Author: Bruno Roustant <33...@users.noreply.github.com>
AuthorDate: Tue May 14 11:29:05 2024 +0200
Update ENCRYPTION.md to describe EncryptionBackupRepository. (#107)
---
ENCRYPTION.md | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/ENCRYPTION.md b/ENCRYPTION.md
index 759f77b..d8575ec 100644
--- a/ENCRYPTION.md
+++ b/ENCRYPTION.md
@@ -78,6 +78,12 @@ the specified folder.
</mergePolicyFactory>
</indexConfig>
+ <backup>
+ <repository name="encryptionBackupRepository" class="org.apache.solr.encryption.EncryptionBackupRepository" default="true">
+ <str name="delegateRepoName">yourBackupRepository</str>
+ </repository>
+ </backup>
+
</config>
```
@@ -104,6 +110,9 @@ logs.
`EncryptionMergePolicyFactory` is a wrapper above a delegate MergePolicyFactory (e.g. the standard
`TieredMergePolicyFactory`) to ensure all index segments are re-written (re-encrypted).
+`EncryptionBackupRepository` ensures the encrypted files are copied encrypted to a delegate `BackupRepository`,
+but still verifies their checksum before the copy. It requires that you define a delegate `BackupRepository`
+
## Calling EncryptionRequestHandler
Once Solr is set up, it is ready to encrypt. To set the encryption key id to use, the Solr client calls the