SQL Server has no shortage of high-availability and disaster recovery technologies. Availability Groups, Failover Cluster Instances, replication, distributed availability groups, and more. The list goes on, and each option offers varying degrees of RPO, RTO, and overall reliability.
Yet despite all the technologies available today, I still find myself recommending and implementing log shipping on a fairly regular basis. Let’s be honest: it’s old enough to drink in the United States, so it’s been around for a very long time, and, even more importantly, it’s rock-solid in terms of stability. The process is also very transparent: you can see whether the backup, copy or restore step needs attention.
That preference for simple, dependable disaster recovery is also one reason I became a Dbvisit ambassador. Their StandbyMP tool goes beyond Log Shipping, offering a smarter, more automated approach to transaction-log-based standby protection for SQL Server.
While Log Shipping is sometimes viewed as a technology replaced by Availability Groups, I see it differently. Log Shipping remains one of the simplest, most reliable, and most flexible tools available to SQL Server professionals. Not only is it an excellent disaster recovery solution, but it's also one of my favorite migration tools.
When discussing disaster recovery, I always ask a question:
What problem are we trying to solve? For many organizations, the answer isn't automatic failover. It's having a recoverable copy of the database in another location that can be brought online when needed in the event things go sideways. That's exactly where log shipping shines. It's simple. It’s easy to deploy. It just works.
The architecture isn’t complex and is easy to understand:
1. Back up transaction logs on the primary server.
2. Copy, or “ship”, the backups to another server.
3. Restore them on the secondary server.
There are no cluster resources, quorum votes, listeners, or complex networking requirements. Plus, it is also available in SQL Server editions that include native Log Shipping, such as Standard, Enterprise and Web. SQL Server Express is the exception because it does not include SQL Server Agent, which native Log Shipping uses to run its backup, copy and restore jobs. Note: StandbyMP does support SQL Server Express because it schedules and coordinates the standby process through its own services rather than relying on native SQL Server Agent jobs.
When something breaks, troubleshooting is comparatively straightforward because every step is visible. Plus, it comes with a simple built-in monitoring tool for free.
One of the biggest advantages of log shipping is flexibility.
I've used log shipping between:
Different SQL Server versions
Different hardware platforms
Different storage architectures
Different geographic regions
On-premises and cloud environments
If backup and restore are supported and network connectivity between sites can be established, log shipping is usually an option. And it’s often an overlooked option.
Unlike backups that are written and, hopefully, never needed, log shipping continuously demonstrates that backups can be restored. Often, I find that organizations do not validate their backups effectively (are you restoring your backups to verify them?), so their DR strategy is an unknown wild card. I’ll attest that it’s frightening to be amid a disaster event and be asked, “Are the backups valid?” with the answer, “We don’t know.”
With log shipping, every successful restore validates:
Backup integrity
File accessibility
Recovery procedures
Secondary server readiness
That ongoing validation provides a level of confidence that backup jobs alone cannot.
With other technologies such as availability groups, as soon as the data is modified on the primary database, that change is replicated to the secondaries and applied as quickly as possible. If a malicious actor gains access to the database and causes harm, the secondaries will be affected almost immediately.
This isn’t necessarily the case with log shipping and StandbyMP. You can delay either the copying of the log backup to the target or even the restore job.
In the early days of my career, I was a DBA Consultant for an organization in Omaha, Nebraska, and they delayed the restore of the log backup by 12 hours. This window of time was specifically set so they could fix any damage a malicious actor may have caused before propagating that change to the secondary.
You can’t do that easily with availability groups. To be fair and transparent, you can do that with replication, but it comes with its own set of issues that, in larger environments, can become unwieldy very quickly.
Availability Groups are often recommended as the default, but not every organization has SQL Server Enterprise Edition licensing available. Enterprise licensing isn’t cheap, especially when you have multiple replicas in the mix. While you can deploy Basic Availability Groups (BAGs) with SQL Server Standard Edition, it’s cumbersome and can become unwieldy quickly, as you can only have one database within each availability group. If you have hundreds of databases that you want placed in availability groups, that’s hundreds of individual AGs, and that’s going to be painful.
Log shipping is supported by SQL Server Standard Edition and can provide an effective warm-standby DR solution at a fraction of the cost. This is one of my biggest reasons I still recommend log shipping (and StandbyMP) to organizations.
Let’s face it, technology trends come and go, but reliability never goes out of style. After more than two decades of working with SQL Server, I've learned that the best solution isn't always the newest solution. Sometimes it's the one that's easy to understand, easy to troubleshoot, easy to deploy, and consistently delivers the results you need.
That's why I still love log shipping. It may not be the most glamorous feature in SQL Server, but it's one of the most practical. And when it comes to disaster recovery and database migrations, practical and reliable wins more often than people realize.
I’ve spent most of this post talking about how simple log shipping is, and I stand by that. But simple doesn’t always mean effortless at scale. With a few databases, the backup, copy and restore jobs are easy enough to follow. With dozens or hundreds, there are a lot more moving parts to watch, and coordinating a recovery becomes a much bigger operational task. That’s where my connection with Dbvisit fits naturally. Dbvisit’s StandbyMP keeps the practical transaction-log-based approach I like while making larger standby environments easier to monitor and manage with real-time visibility and multi-database actions.
Check out my next blog, where I’ll explain why I love log shipping for database migrations.