We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f74c25a commit 21c1f09Copy full SHA for 21c1f09
bin/ghe-restore
@@ -345,6 +345,10 @@ if is_external_database_target_or_snapshot && $SKIP_MYSQL; then
345
else
346
echo "Restoring MySQL database from ${backup_snapshot_strategy} backup snapshot on an appliance configured for ${appliance_strategy} backups ..."
347
ghe-restore-mysql "$GHE_HOSTNAME" 1>&3
348
+ # Clear GitHub Connect settings stored in the restored database
349
+ if ! $RESTORE_SETTINGS; then
350
+ ghe-ssh "$GHE_HOSTNAME" -- "/usr/local/share/enterprise/ghe-reset-gh-connect -y"
351
+ fi
352
fi
353
354
if ghe-ssh "$GHE_HOSTNAME" -- 'ghe-config --true app.actions.enabled'; then
0 commit comments