Forum Discussion

sgol's avatar
sgol
Advocate I
9 months ago
Solved

Mirroring for SQL Server 2025 installed on Azure VM

hi, we have got SQL server 2025 installed on a Azure VM. (recently updated from 2016 to 2025 of our instances).

I need to bring this data into Onelake. what is the best possible option.

 

We prefer mirroring, but it doesnt look like it is supported on SQL server 2025 on Azure VMs. Any thoughts.

  • db mirroring is deprecated and not supported in sql 2025. For bringing data from SQL 2025 on Azure VM into OneLake, use ADF or fabric data pipelines with CDC/Change Tracking for near real time sync. If you need continuous replication, consider Transactional Replication or Azure Data Sync as supported alternatives.

  • To clear the confusion here, Fabric Mirroring is the name of a new feature and different from Database Mirroring that SQL Server used to have form SQL Server 2005 and is now deprecated.

    Fabric Mirroring is used to mirror tables from source SQL Server (or Azure SQL Database, Managed Instance or Fabric SQL Database) to OneLake in Microsoft Fabric in near real-time in delta parquet format and can be used for analytics in Fabric. The support for using mirroring from SQL Server 2025 running on Azure Virtual Machines is currently not available. This is on our roadmap and coming soon. You can however mirror from other lower versions or from SQL Server 2025 outside Azure.

    To summarize:

    1. Mirroring from SQL Server 2016-2022 is supported from Azure VM or outside Azure hosted environments.

    2. Mirroring from SQL Server 2025 is currently supported from outside Azure hosted environments.

7 Replies

  • db mirroring is deprecated and not supported in sql 2025. For bringing data from SQL 2025 on Azure VM into OneLake, use ADF or fabric data pipelines with CDC/Change Tracking for near real time sync. If you need continuous replication, consider Transactional Replication or Azure Data Sync as supported alternatives.

  • ajayjmsft's avatar
    ajayjmsft
    Microsoft Employee

    To clear the confusion here, Fabric Mirroring is the name of a new feature and different from Database Mirroring that SQL Server used to have form SQL Server 2005 and is now deprecated.

    Fabric Mirroring is used to mirror tables from source SQL Server (or Azure SQL Database, Managed Instance or Fabric SQL Database) to OneLake in Microsoft Fabric in near real-time in delta parquet format and can be used for analytics in Fabric. The support for using mirroring from SQL Server 2025 running on Azure Virtual Machines is currently not available. This is on our roadmap and coming soon. You can however mirror from other lower versions or from SQL Server 2025 outside Azure.

    To summarize:

    1. Mirroring from SQL Server 2016-2022 is supported from Azure VM or outside Azure hosted environments.

    2. Mirroring from SQL Server 2025 is currently supported from outside Azure hosted environments.

    • amend-de's avatar
      amend-de
      New Member

      Glad to hear this is on the roadmap. Is there any word on timeline?

  • v-venuppu's avatar
    v-venuppu
    Community Support

    Hi sgol ,

    Thank you for reaching out to Microsoft Fabric Community.

    Thank you Vinodh247 for the prompt response.

    I wanted to check if you had the opportunity to review the information provided and resolve the issue..?Please let us know if you need any further assistance.We are happy to help.

    Thank you.

  • sgol It does seem like there is a bit of controversy in this topic. If you look at the Fabric Roadmap here Microsoft Fabric Roadmap you'll see that Mirroring for SQL Server 2025 was shipped and is in the public preview:

    But in the documentation here Limitations of Fabric Mirrored Databases From SQL Server - Microsoft Fabric | Microsoft Learn it clearly states that Mirroring for SQL Server 2025 on Azure VM is not supported:

    I suppose you need to experiement and see what is working.
    On the other hand, the answer that Vinodh247 provided is not suported by a reference to a corresponding documentation, which would be very useful if it explained what is going on here:

    v-venuppu I would vouch for more detailed answer on this topic with a link to some kind of documentation.

  • v-venuppu's avatar
    v-venuppu
    Community Support

    Hi sgol ,

    Thank you apturlov for the prompt response.

    May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.

    Thank you.