The solution is to pay for a support plan since that is the only way you are allowed to contact Microsoft about this bug/error, due to it being a "technical question".
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.
3 answers
Sort by: Most helpful
-
-
Kalle Macklin 0 Reputation points
2025-02-24T09:34:08.2633333+00:00 I have marked an answer, please don't contact me anymore regarding this.
PraktikLad above has already private messaged me, refusing to explain who they are, trying to get tons of sensitive technical details from me so right now this is only a breeding ground for scam attempts sadly.
-
Kalle Macklin 0 Reputation points
2025-02-26T20:21:33.14+00:00 Solution finally:
After either 3 or 4 full days, the job released from CancelInProgress to Cancelled, so perhaps time heals all wounds.