Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4532

AAG DB restore using Azure backup

$
0
0

Hi there,

Can anyone point me in the direction of a step by step guide to restore a SQL database which is in an AAG using Azure backup please? I can only find instructions using native SQL backup. I have an AAG with 1 primary and 1 secondary server with a synchronous connection. They are Server 2016 VM’s.

My thinking is that I need to carry out the following – I am not a DBA so I need confirmation of the process please.

Restore the SQL database using Azure portal using “Alternate location” and specify the SQL instance in which the database is on (ensure restored DB is called something different). Then pick the relevant log file point I want to restore from. Do I select “Restore with NoRecovery” enabled or disabled here?

Once restore is complete - in SSMS on primary server - evict the database from the AAG.

Rename the original defective DB on Primary to something else or delete it.

Rename the restored DB to the original DB name.

On secondary SQL server rename or delete the original defective DB from the list of Databases.

On primary - add the restored DB to the AAG. At the “Select your data synchronisation preference” select “Full” and browse to a location that the primary and secondary can connect to. Do I need to create a new share for this or is there already an existing share somewhere they already use for synchronising I can use? Here will be where a full backup will be taken and then restored onto the secondary then added to the AAG?

Does this sound right – anything else I need to do or I have done wrong?!


Viewing all articles
Browse latest Browse all 4532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>