Hi Henrik,
It sounds like you're facing an issue with your SQL database export getting stuck at 1%. Here are some steps you can take to troubleshoot and proceed with the export:
- Check Resource Limits: Ensure that your Azure SQL Database hasn’t hit its storage or performance limits. You can do so by checking the Database Transaction Units (DTUs) consumption in the Azure portal. If you’re maxing out on resources, consider upgrading your service tier.
- Export Methods: Rather than relying solely on the Azure Portal export, you might want to try exporting using other methods, such as:
- Using the SQLPackage utility.
- Azure Data Studio for exporting to a BACPAC file.
- SQL Server Management Studio (SSMS), which often has better performance for exports.
- Monitor for Errors: If possible, check if there are any logs or messages that can provide more insight into what might be causing the export to hang. Sometimes, timeouts or errors related to storage issues are recorded in these logs.
- Cancel and Retry: If you can’t cancel the ongoing export job from the Azure Portal, you might be able to terminate it using PowerShell commands. However, if the cancellation is stuck, you may need to wait until the system processes the request or until it automatically cancels after the two-day limit.
- General Considerations:
- Ensure large tables have clustered indexes, as exporting large tables without them can be slow.
- Consider running export operations during off-peak hours to reduce competition for resources.
- Enable Access for Azure Services: Make sure that the Allow Azure services to access this server option is turned on for your SQL database server, as this can impact the functionality of the export process.
I hope these tips help you get past that 1%! If things are still stuck after trying these, let me know and we can dig deeper.
Follow-Up Questions:
- What export method were you using (Azure Portal, SSMS, etc.)?
- Have you checked to see if your database is hitting any storage limits?
- Are there any specific error messages or logs available?
References:
Hope this helps! Let me know if you have any other questions or need further assistance.