Skip to content

Commit 882c2e7

Browse files
committed
code review comments
1 parent 037e57a commit 882c2e7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

share/github-backup-utils/ghe-restore-column-encryption-keys

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/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
45
set -e
56

67
# Bring in the backup configuration
@@ -26,9 +27,11 @@ ghe_remote_version_required "$GHE_HOSTNAME"
2627
GHE_RESTORE_SNAPSHOT_PATH="$GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT"
2728

2829
# Restore encrypted column encryption keying material if present
30+
log_info "Restoring encrypted column encryption keying material"
2931
restore-secret "encrypted column encryption keying material" "encrypted-column-encryption-keying-material" "secrets.github.encrypted-column-keying-material"
3032

3133
# Restore encrypted column current encryption key if present
34+
log_info "Restoring encrypted column current encryption key"
3235
restore-secret "encrypted column current encryption key" "encrypted-column-current-encryption-key" "secrets.github.encrypted-column-current-encryption-key"
3336

3437
bm_end "$(basename $0)"

0 commit comments

Comments
 (0)