SQL Backup
When processing an Azure SQL database added to a backup policy, Veeam Backup for Microsoft Azure can create a restore point of the database and transfer the point directly to a backup repository, or Veeam Backup for Microsoft Azure can copy the database to a staging server first, create a restore point and then transfer it to a repository. In the latter case, Veeam Backup for Microsoft Azure creates a transactionally consistent backup. This guarantees the consistency of the database state during recovery but can increase costs associated with cross-region data transfer.
Veeam Backup for Microsoft Azure performs SQL backup in the following way:
- [Applies only if you perform backup using a staging server] Depending on the type of the processed Azure SQL database, Veeam Backup for Microsoft Azure does the following:
- For an Azure SQL database residing on a SQL Server — creates a copy of the source database on the staging server using the Azure REST API.
- For a database residing on an Azure SQL Managed Instance — creates a copy of the source database on the staging server using point-in-time restore (PITR). For more information on Azure point-in-time restore, see Microsoft Docs.
For more information on the Azure SQL family of SQL Server database engine products, see Microsoft Docs.
- Launches a worker instance in an Azure region where the staging server or the source database resides.
- Synchronizes data between the backup repository and the configuration database to ensure data consistency.
- Exports the database schema, indexes and constraints to a BACPAC file. For more information on BACPAC files, see Microsoft Docs.
Important
BACPAC export of databases with external references is not supported. If a SQL database was migrated to an Azure SQL Database Server or Azure SQL Managed Instance, make sure to clear legacy references, orphaned database users and credentials set up with authentication types not supported by Azure SQL, to avoid BACPAC export errors.
- Reads data from the exported BACPAC file on the worker instance, transfers the data to the target backup repository and stores it in the native Veeam format.
- [Applies only if you perform backup using a staging server] Removes the copy of the source database from the staging server.
- Deallocates the worker instance when the backup session completes.
- If you enable the backup archiving mechanism, Veeam Backup for Microsoft Azure performs the following operations:
- Launches a worker instance in an Azure region in which the target backup repository resides.
- Retrieves data from the backup repository and transfers it to the target archive repository.
- Deallocates the worker instance when the archive session completes.
Related Topics