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 also processes all transaction logs of the copied database to create 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:

  1. [Applies when performing 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) from the point made 10 minutes ago. 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.

  1. Launches a worker instance in an Azure region where the staging server or the source database is located.

    1. 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.

    1. Reads data from the exported BACPAC file on the worker instance, transfers the data to a backup repository and stores it in the native Veeam format.
    1. [Applies when performing backup using a staging server] Removes the copy of the source database from the staging server.
    2. Deallocates the worker instance when the backup session completes.
    3. If you enable the backup archiving mechanism, Veeam Backup for Microsoft Azure performs the following operations:
    1. Launches a worker instance in an Azure region in which a backup repository storing backed-up data resides.
    2. Retrieves data from the backup repository and transfers it to the target archive repository.
    3. Deallocates the worker instance when the archive session completes.

    Related Topics

    Backup Chain