Skip to main content Explore View all products (200+) Microsoft Foundry Azure Copilot GitHub Copilot Azure Kubernetes Service (AKS) Azure Cosmos DB Azure Database for PostgreSQL Azure Arc Microsoft Fabric Linux virtual machines in Azure Foundry Models Foundry Agent Service Foundry IQ Foundry Tools Foundry Control Plane Observability in Foundry Control Plane Azure OpenAI in Foundry Models Azure Speech in Foundry Tools Azure Machine Learning View all databases Azure Cosmos DB Azure DocumentDB Azure SQL Azure Database for PostgreSQL Azure Managed Redis Microsoft Fabric Azure Databricks Linux virtual machines in Azure Windows Server on Azure Azure Functions Azure Virtual Machine Scale Sets Azure API Management Azure Container Apps Azure Kubernetes Service (AKS) Azure Kubernetes Fleet Manager Azure Container Registry Azure Red Hat OpenShift Azure Container Instances Azure Container Storage Azure Arc Azure Local Microsoft Defender for Cloud Azure Monitor Microsoft Sentinel Azure Migrate View all solutions (40+) Cloud solutions for small and medium businesses Cloud migration and modernization center Data analytics for AI Azure Databases AI apps and agents Microsoft Marketplace Microsoft Sovereign Cloud AI apps and agents Responsible AI with Azure AI Infrastructure Data analytics for AI Machine learning operations (MLOps) Low-code application development on Azure Integration Services Serverless computing DevOps Migration and modernization center .NET apps migration Databases on Azure Linux on Azure Oracle on Azure SAP on the Microsoft Cloud Adaptive cloud High-performance computing (HPC) Infrastructure as a service (IaaS) Resiliency Azure Essentials Frontier Accelerate for Azure FinOps on Azure Microsoft Marketplace Azure pricing overview Create an Azure account Free Azure services Flexible purchase options Pricing calculator FinOps on Azure Maximize ROI from AI Azure savings plans Azure reservations Azure Hybrid Benefit Virtual Machines Azure SQL Microsoft Foundry Microsoft Fabric Azure Kubernetes Service (AKS) Microsoft Defender for Cloud View more Software Development Companies Microsoft Marketplace Find a partner Resources for Azure partners Get started with Azure Customer stories Analyst reports, white papers, and e-books Videos Learn more about cloud computing Documentation Explore Azure portal Developer resources Quickstart templates Resources for startups Developer community Students Azure for partners Blog Events and Webinars Learn Support Contact Sales Get started with Azure Sign in

With the release of the Basic, Standard, and Premium Azure SQL Database service tiers, we provide built-in backup and restore capabilities. These new capabilities help reduce the need to perform manual backups for disaster recovery, recovery of accidental data corruption, and recovery of deleted data, using the Import/Export service.

The table below is a quick comparison of the Import/Export and the built-in backup restore capabilities.

 

Designed for Disaster Recovery

Support PITR

No operational overhead

Transactional consistent backups

No additional cost

Restore to On-Premises

DB Export

No

No

Export needs to be externally triggered

Required DB copy before backup.

Storage and extra DB cost.

Yes

Built-in Backup

Yes

Yes

Yes

Yes

Yes

No

What are Azure SQL Database Built-in Backups?

Basic, standard, and premium databases are backed up automatically in Azure SQL Database. These backups are retained for 7 days, 14 days, and 35 days respectively. With these backups Azure SQL Database supports two restore capabilities.

  • Point in Time Restore allows a database to be restored to any point in time, up to the millisecond, within a database’s retention period.
  • Geo-Restore utilizes a database’s latest geo-redundant backup to recover a database. This means a database can be recovered in the event of a regional outage with the 1 hour old geo-redundant backup.

How was Export used for Backup?

Before the built-in backup capabilities were available, Export was used as a mechanism for backing up a database.

diagram

The process for creating a BACPAC file using export is the following:

The copy of the database is used to guarantee transaction consistency of the BACPAC file. This copy is treated as a second database and is billed as such.

Geo-Restore vs Hourly Export

Matching the functionality of Geo-Restore would require an export to be taken every hour. Every hour a database copy would need to be made then exported into geo-redundant storage. Depending on the size of the database and its schema, it may take longer than 1 hour to complete the export.

Over the course of a month, the costs end up being roughly the same as running an entire second database just for backup, and even with all the extra management work, you still may not even be able to meet the same recovery point objective (RPO) that Geo-Restore offers.

Point in Time Restore vs Export

Point in Time Restore allows you to restore a database to any point in time, up to the millisecond, within the database’s retention period. The Export technology cannot provide the same fine restore granularity.

Conclusions

The built-in backup and restore capabilities offered by Azure SQL Database provide great functionality for recovering from disaster and human error (oops mistakes). Accomplishing these same functionalities with Import/Export could be costly and incur a lot of operational overhead.

Import/Export cannot entirely be replaced by the built-in backups. Import/Export, along with client tools like SSDT and SSMS, is still recommended for migrating data in and out of Azure SQL Database.

It’s time to reduce your operational overhead by moving to Basic, Standard, or Premium databases and stopping manual backup with Export!

What’s next?

Learn how to use Azure SQL Database built-in restore capabilities.

Learn more about the built-in restore capabilities.

WE ARE MICROSOFT

Explore Microsoft Foundry

The future of AI starts here. Envision your next great AI app with the latest technologies. Get started with Azure.