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 d059b2a commit e09bfa3Copy full SHA for e09bfa3
share/github-backup-utils/ghe-restore-mysql
@@ -29,7 +29,7 @@ ghe_remote_version_required "$GHE_HOSTNAME"
29
snapshot_dir="$GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT"
30
31
# When customer uses external database, we rely on customer to implement the restore process
32
-if is_service_external 'mysql'; then
+if is_service_external 'mysql' "$snapshot_dir/settings.json"; then
33
echo "Restore external MySQL database using customer-provided script ..."
34
cat $snapshot_dir/mysql.sql.gz | $EXTERNAL_DATABASE_RESTORE_SCRIPT
35
else
0 commit comments