You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/how-tos/encrypt-backup.md
+31-4Lines changed: 31 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,8 @@ nav_order: 8
6
6
---
7
7
# Encrypt backup
8
8
9
-
The image supports encrypting backups using one of two available methods: GPG with passphrase or GPG with a public key
9
+
The image supports encrypting backups using one of two available methods: GPG with passphrase or GPG with a public key.
10
10
11
-
## Using GPG passphrase
12
11
13
12
The image supports encrypting backups using GPG out of the box. In case a `GPG_PASSPHRASE` or `GPG_PUBLIC_KEY` environment variable is set, the backup archive will be encrypted using the given key and saved as a sql.gpg file instead or sql.gz.gpg.
14
13
@@ -20,7 +19,7 @@ To restore an encrypted backup, you need to provide the same GPG passphrase used
20
19
21
20
{: .note }
22
21
The backup encrypted using `GPG passphrase` method can be restored automatically, no need to decrypt it before restoration.
23
-
22
+
Suppose you used a GPG public key during the backup process. In that case, you need to decrypt your backup before restoration because decryption using a `GPG private` key is not fully supported.
0 commit comments