An Azure relational database service.
Recovery of the deleted resource group itself is not possible. A deleted resource group cannot be restored.
For the Azure SQL logical server and database, recovery depends on two conditions:
- Whether soft delete for logical servers was configured
- If soft delete retention was configured on the logical server before deletion, the server enters a soft-deleted state for 1–7 days (depending on the configured
soft-delete-retention-days). - During this retention period, the logical server can be restored using the Azure portal, PowerShell, or Azure CLI.
- After restoring the logical server, databases that are still within their backup retention period can be restored from backups.
- Azure portal:
- Go to the Azure SQL hub in the Azure portal.
- Under Azure SQL Database, select SQL logical servers.
- Select Restore in the command bar to open Restore deleted server.
- Choose the correct Subscription and Location (Central India).
- Select the deleted server from the Deleted server dropdown.
- Select Restore. The server is restored with the same name and configuration as at deletion time.
- Azure CLI:
az sql server restore \ --name risu_dev \ --resource-group <resource-group-name> \ --location centralindia - PowerShell:
Restore-AzSqlServer ` -ServerName risu_dev ` -ResourceGroupName <resource-group-name> ` -Location centralindia
- Azure portal: on the server, use Deleted databases to select and restore
risu_frame. - PowerShell: use
Get-AzSqlDeletedDatabaseBackupandRestore-AzSqlDatabase -FromDeletedDatabaseBackup.
- If soft delete retention was configured on the logical server before deletion, the server enters a soft-deleted state for 1–7 days (depending on the configured
- If soft delete for logical servers was not configured
- If the logical server did not have soft delete enabled (or
soft-delete-retention-dayswas0), then once the server is deleted it cannot be recovered. - When a server is deleted without soft delete, its databases and their PITR backups on that server are also deleted and cannot be restored from PITR.
- In this case, only long-term retention (LTR) backups, if previously configured, could be used to restore databases to a different server. The context provided does not include LTR-specific recovery steps for this scenario.
- If the logical server did not have soft delete enabled (or
Because the subscription is Azure for Students and does not include standard technical support, but backend recovery (if possible) is handled only by Microsoft support engineers, the only escalation path in the documentation is to open an Azure support case and request investigation of whether the deleted resources can be restored. The documentation notes:
- A deleted resource group cannot be recovered.
- Some resource types support soft delete and may be restorable.
- A support engineer must investigate and advise whether recovery is possible.
If soft delete was enabled and the deletion is within the configured retention window (1–7 days), use the portal/CLI/PowerShell steps above to attempt self-service restore. If the server does not appear in the soft-deleted list and cannot be restored with az sql server restore or Restore-AzSqlServer, then only Azure Support can confirm whether any backend recovery is still possible.
References: