Share via

Azure SQL Database

Nick Diaz 286 Reputation points
2022-07-19T16:26:36.66+00:00

How can i

  1. Snapshot/Replicate MSSQL Server Database from SQL Server on Azure VM to Azure SQL Database
  2. Process CANNOT use built-in SQL Server Replication (because the application that uses the source database relies on TRUNCATE commands)
  3. Process needs to be repeatable and ideally can be automated/triggered via ADF/REST/etc.

Thanks for the help

SQL Server on Azure Virtual Machines
Azure SQL Database
0 comments No comments

1 answer

Sort by: Most helpful
  1. Bjoern Peters 8,921 Reputation points
    2022-07-19T16:43:05.02+00:00

    Why not using "LogShipping"?

    No additional service (maybe an Azure storage account for transfering/storing those files) needed, everything is build into SQL Server.
    eg doing a TLog backup every 5 min to a URL (Azure SA), an automatically restore those

    yeah, there is a con => Supports limited read-only access to secondary databases (during the interval between restore jobs).

    https://learn.microsoft.com/en-us/sql/database-engine/log-shipping/about-log-shipping-sql-server?view=sql-server-ver16

    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.