How to fix sql server having a stuck ExportDatabase job at 1%, cancelling leads to stuck CancelInProgress instead
We were doing an ExportDatabase operation on our production database. This is part of our release pipeline, to do a backup before deploying new code.
The github action timed out eventually since the export job got stuck at 1% and was stuck for 8 hours. We then used az cli to cancel this job. This job is now stuck at status CancelInProgress
. It has been so for 22 hours now.
We cannot do any more backups. We cannot cancel the job more than it being cancel in progress. We cannot deploy our new code the client is waiting for.
Is there any way to fix this "hostage situation" other than paying for a support plan to ask Microsoft themselves a "technical question" with their broken system?
A server restart could perhaps fix it we thought, however disruptive that is for the client. But there is no way to restart an SQL server in Azure from what we could gather in the documentation.