fbpx

Azure Sql Database Backup

Azure Sql Database Backup

Another excellent service of Azure SQL database backup is the Recovery Service Vault resource. To create a recovery service vault resource, you need to assign a name to your Azure Subscription, Resource Group, and Location. You may choose to display the name in your dashboard by simply clicking the "Pin to Dashboard" option. After that, click "Create" and viola- you have a new Recovery Service vault resource. Note, you will need to make sure that your Recovery Service vault is made within the same Azure subscription as your SQL Azure server.

Once you have created a Recovery Service vault resource, you will be able to configure your long-term backup retention policy. If all this sounds new to you, don't worry. Users of Azure SQL database backup are familiar with this feature. The entire process can be done in a matter of minutes, and it's straight-forward. To configure your long-term retention policy, select your SQL Azure server, and click "Long-Term Retention" button. Before you configure, read and accept the terms of use.

Configure Your Recovery Service Vault

Once you accept the terms of use, you will notice a database grid in the right pane. As part of the Azure SQL database backup Recovery Service Vault feature, you can select the database(s) you are going to configure. Note, if you try to select the "Configure" option before you select a database, it will not work. You will need to choose your database(s) first, and then the "Configure" button will be enabled.

Click the "Configure" button, and then click the "Recovery Service Vault," and find the Recovery Service vault you created earlier. You may now create a new long-term retention policy. This Azure SQL database backup feature requires that you enter your name and choose how long you'd like to set your long-term retention period for. Next, click "Ok," and then go back to the prior screen to save your long-term retention policy.

Now, wait. After 1-2 hours, you can check the Activity log and monitor if your Recovery Service vault is backing up your database(s) correctly. Please be patient. It can take longer than you'd expect for progress to show. If it's working correctly, you will be able to see Write operations. This means that your backups are being stored in your new Recovery Service Vault.

Restore a Deleted Database

What happens if you accidentally delete a database? Is it gone forever? No. The only time you can't restore a deleted database is if the database was deleted before you created your backup retention policy. Aside from that, recovering a deleted database is quite simple. First, you need to log in to your Azure portal and select the Azure SQL server that stored your deleted database. Click "Deleted Databases."

In the right pane, you will be able to choose the name of the deleted database. Select the deleted database you wish to restore. Just select a new name for the deleted database and click "Ok." Your database restoration will begin. The Azure SQL database backup service will give you a confirmation when the deleted database has been restored. See! It is that simple.

We welcome your comments!

Azure Sql Database Backup