Azure SQL Datbase restoring

henrik johansen 0 Reputation points
2025-06-06T11:13:42.7966667+00:00

Yesterday i managed to delete the wrong database but noticed sql server Azure had this deleted database function. ive restored the database 1 hour ago and can see that the tables have come back but no data has been restored in the tables. does that process take a long time or does it not restore the data ?

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. PratikLad 1,825 Reputation points Microsoft External Staff Moderator
    2025-06-10T16:39:39.77+00:00

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.