I need a help to sync the data on Azure SQL from SQL server(On-premise).
Available recourses:
- 2 Database (SQL Server) on premise available on different server
- Azure SQL database on cloud
- Migration script/queries are ready to fetch data from on-premise sql server
Requirements:
- Set up a scheduler which will run every 12 hours means two times in a day on Azure SQL.
- In scheduler, using migration scripts data will be fetch from the On-premise SQL server and insert into Azure SQL Database.
One of the most prevalent Azure SQL DB migration/replication features is
Azure Data Sync.There are two sorts of schedules:
AutomaticandManual. Automatic schedules function on time intervals, with the lowest number being 5 minutes. The second kind is the manual schedule, which allows the user to conduct the sync anytime they want using the Azure Portal or PowerShell. The goal of this PowerShell workflow script is to do a one-time sync manually, then switch to automatic sync and configure Sync time intervals according to your preferences.you can refer this links to setup data sync Set up Data Sync in the Azure portal, Set up Data Sync with PowerShell
Reference: Schedule Data Sync with Azure SQL Database use an Automation account