Azure SQL Data sync

salilsingh-9961 351 Reputation points
2021-03-30T09:57:49.937+00:00

Hi Team,

I have restored .bak file of AdventureWorks2012 to an on-premises SQL server.
Using Migration Assistant, I have migrated the on-premises SQL Server db to Azure SQL Server db.
Using Azure Data sync, inside a sync group I am syncing migrated azure SQL db to another Azure SQL db (on same server).

While doing the syncing, I could see out of 71 tables, data for only 33 tables inserted into new DB, for other tables it was giving errors related to limitation of Azure SQL sync.
Does this means Azure SQL data sync is not a good option for syncing data such as tables/data obtained after restoring AdventureWorks2012.bak file?
If yes, what other options I have to sync this data?

Thanks,
Salil

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. Anurag Sharma 17,631 Reputation points
    2021-03-31T12:39:11.517+00:00

    Hi @salilsingh-9961 , thanks for replying back.

    I was trying to repro the issue and was able to observe the similar behavior with Adventureworks2012.bak.

    I noticed that the table columns which were giving the unsupported error were all user defined data types column which are not supported in Azure Data Sync. Please refer to below screenshot for the same.

    83296-image.png

    Workaround to achieve the same would be to use .bacpac file for importing the data.

    Please let me know if this helps or we can discuss further.

    ----------

    if answer helps, please mark it 'Accept Answer'


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.