When restoring an Azure portal SQL database, an instance is created as the current DB

전승근 20 Reputation points
2023-10-16T09:04:33.6066667+00:00

When restoring an Azure portal SQL database, an instance is created as the current DB.

I set the restore point to a week ago, entered a new instance name, and restored the DB.

But the new instance has the rows created today.

Do you know why this is?

Azure SQL Database
0 comments No comments
{count} votes

Accepted answer
  1. Sreeju Nair 12,641 Reputation points
    2023-10-16T09:16:25.9866667+00:00

    You make sure your database backup settings supports the period you are trying to restore in point-in-time restore.

    refer: https://learn.microsoft.com/en-us/azure/azure-sql/database/long-term-backup-retention-configure?view=azuresql&tabs=portal#create-long-term-retention-policies

    I recommend you to go through the Point in time restore procedure described in the below link and verify whether you are doing everything right.

    https://learn.microsoft.com/en-us/azure/azure-sql/database/recovery-using-backups?view=azuresql&tabs=azure-portal#point-in-time-restore

    Hope this helps

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.