Hi @basel khalil ,
Welcome to Microsoft Q&A!
Agree with them. Your situation sounds like a restore operation did be performed.
Please use this script to check the restore history:
SELECT
[restore_date]
,[destination_database_name]
,[user_name]
,[backup_set_id]
,[restore_type]
,[replace]
,[recovery]
,[restart]
FROM [msdb].[dbo].[restorehistory]
This script can be used to find the user who did the restore operation:
SELECT [USER_NAME]
,restore_date
,destination_database_name
FROM msdb..restorehistory
WHERE destination_database_name = 'YourDatabase'
For more information, please see: https://www.sqlshack.com/how-to-get-a-sql-database-restore-history/
Hope these could give you some help.
Best regards,
Seeya
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.