Virtual Machine and Disks

TBFG Azure Admin 65 Reputation points
2026-07-21T05:45:23.42+00:00

Hi

I have a question about Disaster Recovery, the disks created and the accessibility of these disks at times when the VM is not available for some reason. Never happened to us, but we are only two months into using Azure.

Are all 'non-operating system' disks independant of the VM?

Here is our setup

User's image

How do we access these disks if the VM is unavailable?

The reason that we ask is because we have started to send our SQL backups to a folder on DataDisk1 instead of an external FTP site. We also have nighly snapshots of the databases that at held on Azure, but these are not downloadable as .BAK files.

Any advice would be great, we don't want to be searching for answers in a time of emergency.

Thanks in advance

Wayne

Azure Backup
Azure Backup

An Azure backup service that provides built-in management at scale.


3 answers

Sort by: Most helpful
  1. Alex Burlachenko 25,030 Reputation points MVP Volunteer Moderator
    2026-07-22T07:44:40.39+00:00

    TBFG Azure Admin hi & thx for sharing urs issue here at Q&A portal,

    Yes. Managed data disks are independent Azure resources. The VM is just attached to them while it's running. If the VM becomes unavailable or is deleted (without deleting the disks), the data disks remain in your subscription and can be attached to another VM. For a recovery scenario u can detach the data disk from the failed VM (if possible) or create a new VM and attach the existing managed disk. The disk will appear as an additional volume, allowing you to browse the files and copy your SQL .bak backups. That said, I wouldn't recommend using a VM data disk as the only backup location. If the VM, disks, or resource group are affected by accidental deletion or corruption, both your database and the backups could be at risk. A more resilient approach is to store SQL backups in Azure Blob Storage or use Azure Backup/Azure SQL backup features, which keep the backups separate from the VM.

    It's also a good idea to periodically test ur recovery process. For example, create a temporary VM, attach a copy of DataDisk1 (or a disk restored from a snapshot), and verify that you can access the .bak files and restore a database. Knowing that the process works before an emergency is just as important as having the backups themselves.

    rgds,

    Alex

    &

    If my answer was helpful pls mark it and additional thx if u follow me at Q&A portal

    and at my blog https://ctrlaltdel.blog/

     

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. Sina Salam 31,056 Reputation points Volunteer Moderator
    2026-07-29T08:41:36.1266667+00:00

    Hello TBFG Azure Admin,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you want to avoid an emergency situation where the SQL backup files on DataDisk1 become inaccessible because the Azure VM is unavailable.

    The Azure managed data disks are independent Azure resources and can be accessed even when the original VM is unavailable, provided the disk still exists and is healthy. The best recovery method is to stop or deallocate the affected VM if needed, detach DataDisk1, attach it to a healthy recovery VM in the same region, bring the disk online without formatting it, and copy or restore the SQL .BAK, .DIF, and .TRN files. Azure supports detaching a data disk without deleting it, and the same disk can be reattached to the same or another VM. - https://learn.microsoft.com/en-us/azure/virtual-machines/windows/detach-disk, https://learn.microsoft.com/en-us/cli/azure/vm/disk?view=azure-cli-latest

    However, storing SQL backups only on DataDisk1 is not a complete disaster recovery strategy. It protects you from some OS disk or VM boot issues, but it does not protect you from accidental disk deletion, disk corruption, ransomware, regional issues, or loss of access to the disk. For production SQL Server workloads on Azure VMs, use Azure Backup for SQL Server on Azure VM or SQL Server Backup to URL with Azure Blob Storage. - https://learn.microsoft.com/en-us/azure/backup/backup-azure-sql-database, https://learn.microsoft.com/en-us/sql/relational-databases/backup-restore/sql-server-backup-to-url?view=sql-server-ver17

    Also, the nightly snapshots you mentioned should not be treated as downloadable SQL .BAK files. SQL Server database snapshots are read-only views and do not replace regular backups. Azure managed disk snapshots are disk-level point-in-time copies and must be restored to a managed disk before files can be accessed. - https://learn.microsoft.com/en-us/sql/relational-databases/databases/database-snapshots-sql-server?view=sql-server-ver17, https://learn.microsoft.com/en-us/azure/virtual-machines/snapshot-copy-managed-disk

    Lastly, keep DataDisk1 only as a local staging or fast-restore location, configure SQL backups to Azure Blob Storage or Azure Backup for SQL Server on Azure VM, and keep Azure VM Backup enabled for full VM or disk-level recovery. This gives you both immediate disk access and a reliable recoverable backup chain. - https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/backup-restore?view=azuresql, https://learn.microsoft.com/en-us/azure/backup/backup-azure-sql-database, https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms. Use the associated resource links for more reading and steps.

    I hope this is helpful. Please! Do not hesitate to let me know if you have any other questions, steps or clarifications.


    Please do not close the thread by upvoting and accepting the answer if any part of it is helpful.

    Was this answer helpful?

    0 comments No comments

  3. TBFG Azure Admin 65 Reputation points
    2026-07-23T00:21:44.6033333+00:00

    Thanks Alex!

    Understand now

    We also use the SQL Backup Snapshots nightly, so covered there.

    Just thinking old school in having a .BAK file that can be moved anywhere in an emergency.
    The SQL Backup Snapshots don't allow this, so I am trying to create a solution that works for us.

    We were FTPing the backups to another site, but with 15 databases it was getting expensive and large.

    Thanks again

    Wayne

    Was this answer helpful?

    0 comments No comments

Your answer

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