<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=4768124&amp;fmt=gif">
OPINION PIECE

Why I Love Log Shipping for Migrations

Log shipping isn't just a dependable DR tool. It's also one of the first options I reach for when moving a SQL Server database to new hardware, a new server or the cloud. In this blog, I'll explain how it cut one client's migration from 15+ hours to about one, why it makes rollback simple, and where Dbvisit's StandbyMP makes cutover even easier.

log-shipping-migrations-header-right-aligned
ORACLE DATA
https://dbvisit-7632844.hs-sites.com/blog/tag/oracle-data-recovery-advisor
ORACLE DATA
https://dbvisit-7632844.hs-sites.com/blog/tag/oracle-data-recovery-advisor
By John Morehouse |
December 1, 2026 |
Link Clicked!

In my previous post, which you can read here, I covered why log shipping is a great disaster recovery solution that is often overlooked. Its simplicity and ease of configuration make it a great DR strategy for organizations that require a low-cost solution.

As much as I appreciate log shipping for DR, I probably use it even more for migrations.  Whenever I need to move a database to a new server, log shipping is one of the first options I evaluate, if possible.


Minimize Downtime

Over the course of my career, database sizes have continued to increase. I can remember when a 1TB database was considered large. Now, almost all my clients have at least one database that is 1TB or larger. One client is even in the 30-40TB range for a single database.

The issue with databases at this scale is that the time to move the database to its new location effectively is often time-constrained. Log shipping allows for the initial restore of the database to occur well in advance of the migration window.  At the time of the migration, the applications can be stopped to prevent any further writes to the database, a log backup taken, and then shipped to the target. Once the target has received it, it will be restored.

The process looks something like this:

  1. Restore the most recent full backup to the destination server.

  2. Configure log shipping on the source database.

  3. Allow transaction logs to synchronize over time.

  4. Schedule a short cutover window.

  5. Take a final log backup, ship the backup, and then apply the final log backup.

  6. Recover the database and allow it to come online

  7. Redirect applications.

Instead of moving terabytes of data during the outage window, you're often only applying a small amount of remaining transaction logs. Usually, since the application has been stopped, these final transaction logs are very small.

A real-world example of this is where log shipping helped reduce a client’s migration from 15-plus hours to approximately one hour. They staged the initial restores earlier in the week, log shipping kept everything in sync, and then they could easily apply the final log backup, bring the database online, update any application connection strings, and then bring the application online. Needless to say, they were thrilled with the significant reduction in migration time.


Rollback Strategy

One of my favorite aspects of migration-based log shipping is the rollback plan. If issues occur after cutover, the first server still exists. If the original database remains online, just redirect applications back to it, and that’s about it. The Dbvisit StandbyMP software I’m an Ambassador for makes it even easier with a 3-click switchback that includes all your prechecks too.

I am a strong proponent of making sure that the rollback plan is as painless as possible, with minimal invasion into the existing system. The less intrusive a migration is, the easier it is to rollback. Because the migration process relies on backup and restore operations, reverting to the source environment is often far simpler than rolling back more complex migration approaches. A good rollback plan is one of the most overlooked parts of any migration project.


Hardware Refreshes Become Easier

Many organizations periodically replace aging infrastructure. Log shipping provides an easy path to move databases from:

  • Physical to virtual servers

  • Virtual to physical servers

  • Legacy storage to modern storage

  • Older operating systems to newer versions

The migration process remains largely the same regardless of the underlying infrastructure, and you still retain all the benefits of utilizing log shipping to migrate to new hardware.


Cloud Migrations

I've used log shipping numerous times to migrate databases into cloud environments.

Whether the destination is:

  • Azure Virtual Machines

  • AWS EC2

  • Another datacenter like Rackspace

Log shipping provides a predictable and low-risk method of keeping systems synchronized until the final cutover occurs. There are limitations with cloud migrations. More specifically, the target instance must be either infrastructure-as-a-service (IaaS), such as Azure Virtual Machine or AWS EC2.

Azure Managed Instance, which is a platform-as-a-service, is also an option. To be transparent, to migrate to Azure Managed Instance, you must use a flavor of log shipping called Log Replay Service (LRS). It’s the same concept as log shipping in that backups are sent to an Azure blob storage account and then restored to the MI through a service you can control.


The Feature Everyone Overlooks

One reason I think log shipping gets underestimated is that people focus on what it doesn't do:

  • It doesn't provide automatic failover.

  • It doesn't provide readable secondaries without additional configuration.

  • It doesn't provide automatic client redirection.

Those are valid observations. But they do not mean that you need to move directly from native log shipping to the complexity of Availability Groups. There is some middle ground.

Dbvisit StandbyMP retains the familiar transaction-log backup, transfer, and restore model while adding more capabilities around its operation and real-time visibility. It can manage planned switchovers, provide configurable automated failover, run custom scripts after a switchover or failover to help redirect applications, re-synchronize the database with a single click, schedule read-only windows on the standby, and synchronize SQL Server logins with their corresponding database users. On top of that, it also has real-time monitoring and alerting.

For a planned switchover, where the source remains available and application writes can be stopped, the remaining logs can be applied before the roles change to prevent data loss. StandbyMP’s GUI enables you to perform the switchover in just 3 clicks, making the process completely painless and avoiding much of the manual coordination involved in native log shipping migrations.

This does not make StandbyMP an Availability Group, nor does it remove the need to understand the underlying recovery process. But for organizations that like the predictability of log-based recovery and need more automation around cutover, failover, and ongoing monitoring, it can bridge most of the feature gap.

At their core, log shipping and StandbyMP are backup, copy, and restore. Those are processes every DBA already should understand. These are fundamental operations for any DBA, SQL Server or not. When disaster strikes or a migration deadline is approaching, I generally prefer predictable technologies over complicated ones if I can help it.


Is Log Shipping Always the Right Answer?

Of course not. If your business requires:

  • Automatic failover

  • Synchronous protection

  • Automatic application connectivity changes

  • High availability within the same data center

Then technologies like Availability Groups may be a better fit.

If your objective is:

  • Disaster recovery

  • Server migrations

  • Cross-version upgrades

  • Cost-effective redundancy

  • Out-of-region replication

Then Log shipping and StandbyMP deserve serious consideration.

Native log shipping may be enough when the team is comfortable managing the environment and performing recovery or cutover manually. When the same log-based approach still fits, but the organization needs more monitoring, scale, automation, reporting, or operational support, StandbyMP provides a practical middle ground.

The important thing is to understand the recovery and availability requirements first, then choose the simplest technology that can meet them reliably. Stay tuned for my next post, where I’ll explain why I love log shipping for database migrations.

 

John Morehouse
John Morehouse

Email John Morehouse
Principal Consultant at Denny Cherry & Associates Consulting | Dbvisit Software SQL Server Ambassador

Subscribe to our monthly blog updates

By subscribing, you are agreeing to have your personal information managed in accordance with the terms of DBVisit's Privacy Policy


Try StandbyMP for free

See for yourself how our continuous database protection can help keep your world in motion.

Find a local partner

We work with partners around the world to give you the best advice and world-class local support.

Mask Group 59
Mask Group 184-1
get a price2
get a price2
Get Pricing

With Dbvisit's StandbyMP software, Gold Standard Disaster Recovery doesn't have to be difficult or expensive. Get an instant quote now.