An Azure relational database service.
Hi @苏钰
It sounds like you're in a tricky situation with your Azure SQL database being in a read-only state due to your student subscription reaching its limit. Unfortunately, this indeed restricts your ability to perform backup and export operations directly.
Given the circumstances, here are a few points to consider:
Options for Exporting Your Azure SQL Database:
Using the Azure Portal:
- Typically, you would log into the Azure portal, navigate to your SQL server instance, select your database, and use the Export option to create a BACPAC file. However, since your resources are in a read-only state, this will not be an option for you.
SQLPackage Utility:
- It is a command-line tool that facilitates exporting your Azure SQL Database to a BACPAC file. However, this requires an active connection to the database as well. As you've stated that your SQL Server can't be started, this option may not be feasible for you right now.
- Check [Export to a BACPAC file documentation](https://learn.microsoft.com/en-us/azure/azure-sql/database/database-export?view=azuresql) for guidance on using SQLPackage.
**Contacting Support**:
- Since you've exhausted your options and cannot create a new subscription or access the necessary resources, the best course of action would be to reach out to Azure Support for assistance. They may be able to help you recover the database or offer another solution given your educational context.
Follow-Up Questions:
To provide a more tailored response or solution, I would recommend clarifying a few things:
- Have you reached out to Azure Support regarding your expired subscription and the inability to perform the export or backup?
- Are there any deadlines for your project that might put pressure on finding a solution swiftly?
- Have you considered any alternative subscriptions that may offer flexibility for students, such as Azure for Education renewals or other offers?
I hope this gives you a better sense of direction on how to approach your database issue! If you have more questions or need further clarification, feel free to ask!