Skip to content

Commit 7f9b059

Browse files
committed
Remove expectation of having the mysql data in the snapshot
1 parent e09bfa3 commit 7f9b059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/github-backup-utils/ghe-restore-mysql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ snapshot_dir="$GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT"
3131
# When customer uses external database, we rely on customer to implement the restore process
3232
if is_service_external 'mysql' "$snapshot_dir/settings.json"; then
3333
echo "Restore external MySQL database using customer-provided script ..."
34-
cat $snapshot_dir/mysql.sql.gz | $EXTERNAL_DATABASE_RESTORE_SCRIPT
34+
$EXTERNAL_DATABASE_RESTORE_SCRIPT
3535
else
3636
ssh_config_file_opt=
3737
if is_binary_backup_feature_on; then

0 commit comments

Comments
 (0)