Decommissioning Azure Storage Accounts for Backup with Azure SQL Managed Instance

InfraSolutions 711 Reputation points
2025-03-24T10:11:15.7+00:00

The current setup in Azure includes:

  • Primary region: Two SQL Servers enabled for Failover Cluster Instance (FCI) sharing the same data disk, taking backups to Azure Blob storage with Geo-Redundant Storage (GRS).
  • Secondary region for Disaster Recovery (DR): A similar setup, restoring data backups from Azure Blob storage with Locally Redundant Storage (LRS).

The plan is to transition from SQL Servers to Azure SQL Managed Instance (MI). Is it possible to decommission the Azure Storage account used for backups and restores, considering that Azure SQL Managed Instance has built-in backup and restore capabilities? What recommendations exist for decommissioning the storage account in the context of Azure SQL MI?

SQL Server on Azure Virtual Machines
0 comments No comments
{count} votes

Accepted answer
  1. Vijayalaxmi Kattimani 2,235 Reputation points Microsoft External Staff Moderator
    2025-03-24T11:57:06.2266667+00:00

    Hi MJ-1983,

    Greetings!

    We would like to inform you that, transitioning from SQL Servers to Azure SQL Managed Instance (MI) is a significant step, and it does come with changes in how backups and restores are managed. Azure SQL Managed Instance has built-in automated backup capabilities, which means that it handles backups for you without the need for a separate Azure Storage account for backup purposes.

    Azure SQL Managed Instance automatically takes full backups weekly, differential backups every 12 hours, and transaction log backups every 5 to 10 minutes. These backups are stored in Azure and are retained for a configurable period (up to 35 days). You can restore databases to any point in time within the retention period.

    These backups are stored in geo-redundant storage by default, ensuring high availability and disaster recovery. Please refer to this document https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/automated-backups-overview?view=azuresql

    However, there are some considerations and recommendations to keep in mind when decommissioning the Azure Storage account used for backups and restores:

    • Verify Backup Retention: Ensure that all necessary backups are available, and that the retention period meets your requirements. Azure SQL MI supports point-in-time restore within the retention period (up to 35 days) and long-term retention (up to 10 years) if configured.
    • Transition Backups: Before decommissioning, confirm that all critical data has been successfully transitioned to Azure SQL MI's backup system. Perform test restores to verify data integrity and availability.
    • Update Disaster Recovery Plan: Adjust your disaster recovery plan to reflect the new backup and restore processes with Azure SQL MI. Ensure that your team is familiar with the new procedures.
    • Decommission Storage Account: Once you are confident that the Azure SQL MI backups are functioning correctly and all necessary data is secure, you can proceed to decommission the Azure Storage account. Follow best practices for decommissioning, such as ensuring no other services depend on the storage account and securely deleting any remaining data. Please refer to this document https://learn.microsoft.com/en-us/troubleshoot/azure/azure-storage/blobs/recovery/data-protection-backup-recovery

    I hope this information helps. Please do let us know if you have any further queries.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.