Samix TechnologySQL Server DBA expertise

Business continuity

SQL Server high availability: Always On, log shipping and disaster recovery

How much data can you afford to lose, and how long can you afford to be down? We design, implement and test the SQL Server architecture that actually meets those targets.

Start with the right questions

Before talking technology, you need two numbers for each application: how much data you can afford to lose (RPO) and how long you can afford to be down (RTO). A payroll application that can wait half a day doesn't call for the same architecture as an online ordering site. Without those numbers, you either overbuild or, more often, find out on the day of the outage that the solution in place doesn't meet expectations.

The building blocks

Solid backups

They are the foundation of any continuity plan: full, differential and log backups at the right frequency, off-site copies, encryption, integrity checks. Many companies need nothing more, provided all of it is actually tested.

Log shipping

A copy of the database kept up to date on a second server by regularly restoring transaction log backups. Simple, available in every edition, and ideal for a disaster recovery site.

Always On availability groups (AG)

Synchronous or asynchronous replication to one or more replicas, automatic failover, and readable secondary replicas to offload reporting. The most complete option, and one that demands careful design and disciplined operations.

Failover cluster instances (FCI)

The entire instance fails over from one node to another on shared storage. Still relevant in some infrastructures, and often combined with an availability group for the disaster recovery site.

Azure

Azure SQL Managed Instance and Azure SQL Database have high availability built in and offer geo-replication and failover groups. On-premises SQL Server can also use Azure as its disaster recovery site.

An untested SQL Server DR plan is not a DR plan

Real outages always expose what the diagrams leave out: a SQL Agent job that only exists on the primary node, a login missing from the secondary, an application pointing to a server name instead of the listener. That's why every implementation ends with a documented failover test, along with written procedures your team can follow without us.

The ransomware threat

Ransomware attacks now go after backups first. Backups that production accounts can reach will be encrypted right along with production. We check how isolated your copies are, which accounts can access them and, above all, whether you can restore everything within an acceptable timeframe.

Already have an architecture in place?

We can review it: synchronization health, consistency of server-level objects across replicas, listener and failover timeout configuration, and how well it fits your targets. This check is part of our SQL Server audit, and ongoing monitoring is included in our remote DBA services.

Trusted by

  • Synertrade
  • Azura Group
  • MagicOrange
  • Daly Credit Solutions

Frequently asked questions

Does Always On require Enterprise edition?

Full availability groups, with multiple databases and readable secondary replicas, require Enterprise edition. Standard edition offers Basic Availability Groups, limited to one database per group and two replicas, which is enough in many cases.

Log shipping or Always On: which should we choose?

Log shipping is simple, robust and available in every edition, but failover is manual and data loss is measured in minutes. Always On allows automatic failover and zero data loss in synchronous mode, at the cost of a more demanding architecture. The right choice follows from your RPO and RTO targets, and from your ability to operate the solution.

How often should we test failover?

At least once a year, and after every major infrastructure or application change. A failover test almost always uncovers something that was missed: a job, a login, a connection string setting.

Do our backups protect us against ransomware?

Not if they can be reached with the same accounts as production. Real protection means isolated or immutable copies, separate accounts, backup encryption and regular restore tests.

A SQL Server problem to solve?

Describe your setup to a SQL Server expert: we reply within one business day with a first read of the situation and a clear proposal.