Hello henrik johansen
Restoring a deleted Azure SQL Database should bring back both schema and data as it recovers from a point-in-time backup
Did you restore from the correct point in time?
- If you restore the data from backup where initially the data was deleted, the restore will include the schema but not the data.
Check Activity Log in Azure:
- Go to your SQL server in Azure >> Click Activity Log
- Filter by "Restore" operations.
- Confirm the restore was "Succeeded" and not partially failed.
Ensure the database is not in a read-only or recovery state that might affect visibility.
Currently T-SQL is the only supported way to view accurate progress of a backup restore operation and there is no support via Portal, PowerShell, CLI or API.
Here is a sample T-SQL query to view the status of a Restore operation:
Select * from sys.dm_operation_status
where operation like '%Restore%'
order by Start_Time Desc;
This DMV contains a column called percent_complete
which displays 3 states:
- 0 = Operation not started
- 50 = Operation in progress
- 100 = Operation complete
Please review the scenarios mentioned above. If the issue still persists, feel free to reach out with the requested details so we can assist you further.