File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
share/github-backup-utils Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # / Usage: ghe-restore-settings <host>
3
- # / Restore settings from a snapshot to the given <host>.
2
+ # / Usage: ghe-restore-column-encryption-keys <host>
3
+ # / Restore the column encryption keys from a snapshot to the given <host>.
4
+ # / This script will be run automatically by `ghe-restore
4
5
set -e
5
6
6
7
# Bring in the backup configuration
@@ -26,9 +27,11 @@ ghe_remote_version_required "$GHE_HOSTNAME"
26
27
GHE_RESTORE_SNAPSHOT_PATH=" $GHE_DATA_DIR /$GHE_RESTORE_SNAPSHOT "
27
28
28
29
# Restore encrypted column encryption keying material if present
30
+ log_info " Restoring encrypted column encryption keying material"
29
31
restore-secret " encrypted column encryption keying material" " encrypted-column-encryption-keying-material" " secrets.github.encrypted-column-keying-material"
30
32
31
33
# Restore encrypted column current encryption key if present
34
+ log_info " Restoring encrypted column current encryption key"
32
35
restore-secret " encrypted column current encryption key" " encrypted-column-current-encryption-key" " secrets.github.encrypted-column-current-encryption-key"
33
36
34
37
bm_end " $( basename $0 ) "
You can’t perform that action at this time.
0 commit comments