A line-of-business app published through Azure Virtual Desktop uses a SQL Server database. The database runs on a Windows Server Azure VM named VM-SQL1. You are designing the Azure Backup strategy for VM-SQL1 and must meet these requirements:
- Recovery points must be application-consistent.
- VM backups must not truncate the SQL Server transaction logs, because the database team runs its own log backups.
- VM-SQL1 must stay running 24 hours a day.
What should you include in the backup design for VM-SQL1?
Azure Backup uses VSS to create application-consistent snapshots of running Windows VMs. Copy-only VSS backups preserve SQL Server transaction logs, meeting the database team's requirement. Non-copy-only full VSS backups can truncate logs, crash-consistent backups fail the consistency requirement, and stopping the VM violates the availability requirement.
- Not correct: Schedule the VM backups for times when VM-SQL1 is stopped. Stopping VM-SQL1 for backup violates the requirement that the VM remain running 24 hours a day.
- Correct: Use copy-only VSS backups for the VM. Copy-only VSS backups provide application-consistent snapshots while preserving SQL Server transaction logs. Azure Backup coordinates with VSS while the Windows VM remains running.
- Not correct: Enable the
UseVssFullBackupsetting on the VM. This setting opts in to non-copy-only full VSS backups, which can truncate SQL Server transaction logs. - Not correct: Change the backup policy to agentless crash-consistent backups. An agentless crash-consistent backup does not produce the application-consistent recovery points that the design requires.