Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Copy Table from Local Sql Database to Azure SQL Database

How can I go about copying a table from a local SQL database to an Azure SQL database nightly? Maybe I should use SSIS packages?

like image 450
raginggoat Avatar asked Oct 24 '25 14:10

raginggoat


2 Answers

Options (in rough order of preference):

  • SQL Server Transactional Replication
  • SSIS
  • Azure Data Factory (especially for simple table copies)
  • SQL Server Snapshot Replication
  • Linked Server (INSERTs will be row-by-row)
  • Azure Data Sync (still in preview)
like image 83
David Browne - Microsoft Avatar answered Oct 26 '25 04:10

David Browne - Microsoft


Looks like a good job for Azure SQL Data Sync.

I won't copy paste the article here, but the main steps are:

Step 1 - Create sync group
Step 2 - Add sync members
Step 3 - Configure sync group (here you can choose tables)

The link I've provided has the details

like image 42
4c74356b41 Avatar answered Oct 26 '25 05:10

4c74356b41



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!