SQL Server 2022 runs on an Azure VM with Windows Server 2022. The databases use the FULL recovery model. A storage account for backups already exists. A SQL Server Agent job inside the VM currently takes transaction log backups every 15 minutes. You have these requirements:
- Azure must take care of running the database backups.
- Transaction log backups must still be taken to meet the RPO.
- The log backup chain must not be split across two backup methods.
Which configuration meets all the requirements?
On a Windows Server-based SQL Server VM, the SQL Server resource provider can configure automated backups. Azure then takes database and transaction log backups using a storage account. Keeping log backups under both methods can leave files needed for recovery distributed across them. Enabling automated backups and disabling the in-guest log job meets all three requirements.
- Correct: Enable automated backups with log backups, and disable the in-guest log backup job. Automated backups through the SQL Server resource provider let Azure take database and log backups in one place on a Windows Server VM with a storage account. Disabling the in-guest job leaves a single backup method.
- Not correct: Enable automated backups, and change the databases to the SIMPLE recovery model. The SIMPLE recovery model does not allow transaction log backups, so the RPO requirement could not be met.
- Not correct: Enable automated backups with log backups, and keep the in-guest log backup job. Taking log backups through both methods can distribute the files needed for recovery between them. A restore may require backups from both methods, violating the requirement to keep the chain within one method.
- Not correct: Keep the in-guest log backup job, and add a maintenance plan for full backups. Maintenance plans and Agent jobs run inside SQL Server in the VM. With this option, Azure does not take care of the backups.