Azure SQL Database is a robust database service offered as part of Microsoft Azure. As part of the Azure backup architecture, Azure SQL Database has a built-in backup mechanism that lets you restore your database to any point in time, within a configurable retention window of 7-35 days. You can also create a Long Term Retention (LTR) policy and save database backups for up to 10 years.
In this post, we’ll explain Azure’s backup SQL capabilities, show how to restore a database from backup, and explain how NetApp Cloud Volumes ONTAP can help optimize and save costs on Azure backup storage.
In this article, you will learn:Microsoft Azure SQL Database is a Database as a Service (DBaaS) offering provided as part of the Azure cloud. You can run an Azure SQL Database in three deployment modes:
Azure SQL Database has built-in backup functionality, with three levels of backups:
Azure SQL Database offers Point in Time Restore (PITR), meaning you can select a point in time within the retention window of 7-35 days, and restore the database to its previous state at that time. Azure SQL Database backup uses read-access geo-redundant storage (RA-GRS), replicated to a paired data center to make backups resilient to data center outages.
There are several scenarios in which you would want to restore an Azure SQL Database backup:
Azure SQL Database has a variety of deployment options, each with its own pricing. In addition to the three deployment modes listed above, there are two compute models - provisioned and serverless - and two pricing models - DTU and vCore.
The two pricing models work as follows:
All pricing options are shown on the official pricing page - be sure to select the deployment model, service tier and computer tier at the top of the page to see the correct pricing.
To learn more, see our in-depth article about Azure SQL Database pricing .
Azure SQL Database offers Transparent Data Encryption (TDE), which performs real-time encryption and decryption of your production database, its backups and transaction log files. Encryption is applied to data at rest. TDE is enabled by default for Azure SQL Database instances.
If you did not turn off TDE for your database, backups within the retention window as well as LTR backups are automatically encrypted at rest.
Here is how to restore an Azure SQL Database from backup:
1. In the Azure Console, select SQL Database and click through to your database server.
2. In the database overview screen, click Restore in the top toolbar.
3. For a Single Database, select Point-in-time backup (as in the screenshot below). This option is not shown for a Managed Instance. For both types of database, choose the database you wish to recover, and the date and time you want to recover from.
Source: Microsoft Azure
4. Click OK to start the restore operation.
When planning your backup and recovery strategy, consider these important points:
Recovering data into an existing database—you can also use data from your backup to populate an existing database, for example to recover from data corruption. However, this requires writing a data recovery script that extracts data from the restored database and imports it into the existing database.
NetApp understands ONTAP better than anyone else, which is why the best backup solution for ONTAP systems is NetApp Cloud Backup. Designed by NetApp specifically for ONTAP, Cloud Backup automatically creates block-level incremental forever backups. These copies are stored in object format and preserve all ONTAP’s storage efficiencies. Your backups are 100X faster to create, easy to restore, and much more reliable than with any other solution.
Cloud Backup simplifies the entire backup process. It’s intuitive, quick to deploy, and managed from the same console as the rest of the NetApp cloud ecosystem. Whether you’re looking for a less expensive way to store your backups, a faster, more capable technology than NDMP, or an easy way to enable a 3-2-1 strategy, Cloud Backup offers the best backup solution for ONTAP.