Cold standby

On this page 7

Cold standby is a redundancy arrangement in which a backup system is kept powered off, unloaded or unconfigured and is brought into service only after the primary system fails. In server reliability, it is the lowest-cost and slowest form of standby, accepting a recovery time measured in hours in exchange for minimal ongoing expense.

A cold standby spare may be a physical server on a shelf, a stopped virtual machine template or an infrastructure definition that can be deployed on demand. What all variants share is that nothing runs and nothing synchronizes until someone or something starts the recovery procedure.

How cold standby recovery works

Cold standby recovery is a sequence of manual or scripted steps that turns an idle spare into a working replacement. Because the spare holds no current state, recovery always includes restoring data from backups or from replicated storage before service can resume.

  1. Detect and declare the failure of the primary system.
  2. Power on or provision the standby hardware or virtual machine.
  3. Install or verify the operating system, patches and application software.
  4. Restore data from the most recent backup or snapshot.
  5. Reconfigure networking, DNS records, certificates and load balancer targets.
  6. Test and release the service to users.

Each step adds time, and the data restoration step usually dominates. Restoring several terabytes from object storage or tape can take many hours, so the realistic recovery time depends far more on backup size and restore throughput than on how quickly the hardware boots.

Cold, warm and hot standby compared

Standby levels differ in how much of the backup is already running and current when the primary fails. The temperature metaphor describes readiness: the hotter the standby, the faster the failover and the higher the continuous cost.

Standby levelState of the backupTypical RTOTypical RPORelative cost
Cold standbyOff or not provisioned, no live dataHours to daysLast backup, often hoursLow
Warm standbyRunning, data replicated periodicallyMinutes to an hourMinutesMedium
Hot standbyRunning, data replicated continuouslySeconds to minutesNear zeroHigh
Active-activeServing traffic alongside the primaryNear zeroNear zeroHighest
Standby levels in server reliability

These ranges are indicative rather than fixed. A cold standby with automated provisioning and a small dataset can recover in under an hour, while a poorly documented one can take days. The recovery time objective (RTO) and recovery point objective (RPO) agreed with the business should drive the choice, not the label.

Forms of cold standby in modern infrastructure

Cold standby is no longer limited to a spare chassis in a storeroom. Cloud and virtualization platforms have created cheaper variants in which the standby exists mainly as configuration and stored images.

FormWhat is kept readyMain recovery delay
Spare physical serverIdentical hardware, often unpoweredRacking, cabling, OS and data restore
Stopped virtual machineDisk image at a secondary siteData restore and network changes
Infrastructure as codeTemplates and scripts onlyProvisioning plus data restore
Pilot lightMinimal core such as a small database replicaScaling up application tiers
Vendor spare-parts contractReplacement delivered on demandShipping and installation time
Common implementations of cold standby

The pilot light approach sits on the border between cold and warm standby: only the most critical component runs continuously, which shortens the RPO without paying for a full duplicate environment.

When cold standby is the right choice

Cold standby suits systems whose downtime is tolerable and whose budget is constrained. It is a deliberate risk decision: the organization accepts a longer outage in return for avoiding the cost of continuously running duplicate capacity.

WorkloadRecommended levelReason
Internal reporting serverCold standbyA day of downtime has limited impact
Archive or compliance systemCold standbyRarely accessed, data changes slowly
Company intranetWarm standbyUsers notice outages within hours
Online store checkoutHot standby or active-activeEvery minute of downtime loses revenue
Payment authorizationActive-activeNear-zero RTO and RPO required
Choosing a standby level by workload

Cold standby is also common as a second line of defense behind a hot or warm standby, for example a geographically distant environment that is only built if an entire region becomes unavailable.

Risks and common mistakes with cold standby

The greatest risk of cold standby is that an untested spare fails exactly when it is needed. Because the backup never runs during normal operation, configuration drift, expired licenses, outdated firmware and missing credentials stay hidden until the emergency.

  • Configuration drift: the primary receives patches and changes that are never applied to the spare.
  • Unverified backups: data that cannot be restored makes the standby useless.
  • Missing runbooks: recovery depends on one person who knows the steps.
  • Underestimated RTO: restore throughput is never measured, so promises to users are unrealistic.
  • Shared failure domain: the spare sits in the same rack or site as the primary.

The remedy is regular recovery drills. Rebuilding the service from the standby at least once or twice a year, and timing each step, turns the theoretical RTO into a measured one and exposes gaps while there is still time to fix them.

Explained without jargon

Cold standby is like keeping a spare tire in the trunk. It costs little and does nothing most of the time, but when a tire goes flat you have to stop, take out the jack and change it yourself.

With servers, the spare machine is switched off or not even set up. When the main server breaks, people start the spare, load the software and copy the data back. It works, but it takes time, so it fits systems where waiting a few hours is acceptable.

A typical use case

A regional accounting firm runs its document archive on a single server. Staff open old files a few times a week, and the firm agrees that an outage of up to one working day is acceptable, with an RPO of 24 hours.

Instead of paying for a second running server, the IT team keeps a stopped virtual machine template at a secondary data center and sends nightly backups of about 400 GB to object storage there. A written runbook covers starting the machine, restoring the data and changing the DNS record.

During a semiannual drill, the team measures a full recovery in about five hours, mostly spent restoring data. When a storage controller on the primary later fails, the archive is back online the same afternoon, at a fraction of the cost of a warm or hot standby.