Continuous data protection (CDP) is a method that captures every change to data as it is written and stores those changes in a time-ordered journal, so that a system can be restored to any point in time within a retention window. In backup & recovery for Servers, it sits at the far end of the protection spectrum, where the recovery point objective approaches zero.
Conventional backups protect data at intervals, such as nightly or hourly. CDP removes the interval: instead of asking which backup is the latest good one, an administrator chooses the exact second before a failure or corruption and rolls back to it.
How continuous data protection captures changes
Continuous data protection works by intercepting write operations and sending a copy of each one to a separate journal, usually on different storage. Each entry carries a timestamp and the block or file location, which allows the system to reconstruct the state of a volume at any moment by replaying or reversing entries.
Interception can happen at several layers of the stack, and the choice determines overhead, granularity and what can be protected. The table below shows the common capture points.
| Capture layer | Mechanism | Typical use |
|---|---|---|
| Hypervisor | I/O filter on virtual disks | Protecting whole virtual machines |
| Operating system driver | Block-level filter driver on the host | Physical servers and mixed workloads |
| Storage array | Journaling inside the array or appliance | Large databases on shared storage |
| Application | Transaction log shipping or change streams | Databases with native log support |
| File system | File change notification and versioning | File servers and user shares |
Most implementations combine the journal with a periodic baseline copy. Recovery starts from the nearest baseline and then applies journal entries up to the chosen moment, which keeps restore times reasonable even when the journal covers several days.
True CDP and near-continuous protection
The industry distinguishes true CDP, which journals every individual write, from near-continuous protection, which takes very frequent snapshots or replication cycles. Both are marketed as continuous, yet they produce different recovery points and different storage costs.
| Property | True CDP | Near-continuous protection |
|---|---|---|
| Recovery granularity | Any write, often to the second | Each snapshot, often every 1 to 15 minutes |
| Typical RPO | Seconds | Minutes |
| Storage overhead | Proportional to write volume | Proportional to changed blocks per interval |
| Performance impact | Continuous small overhead on writes | Short bursts at each snapshot |
| Complexity | Journal sizing and management | Snapshot scheduling and pruning |
Neither variant is automatically better. True CDP is justified when losing even minutes of transactions is unacceptable, while frequent snapshots often meet business requirements at lower cost and simpler operation.
How CDP differs from other backup methods
CDP differs from full, incremental and differential backups mainly in when data is copied: continuously rather than on a schedule. It also differs from replication, because a plain replica mirrors changes immediately, including corruption and deletions, whereas a CDP journal preserves the history needed to step back before the damage.
| Method | Copy frequency | Point-in-time recovery | Main weakness |
|---|---|---|---|
| Full backup | Scheduled, complete copy | Only at backup times | Large backup window |
| Incremental backup | Scheduled, changes only | Only at backup times | Restore chain dependency |
| Snapshot | On demand or scheduled | Only at snapshot times | Often on the same storage |
| Synchronous replication | Every write | No, mirrors current state | Replicates corruption instantly |
| Continuous data protection | Every write, journaled | Yes, within retention | Journal size and cost |
For this reason, CDP is best treated as one layer of a broader strategy. It complements, rather than replaces, offsite copies that satisfy the 3-2-1 backup rule and immutable backups that resist ransomware with administrative access.
Sizing the journal and setting retention
The journal size determines how far back recovery can reach, and it depends almost entirely on the write rate of the protected workload. A database that writes 50 GB of changes per day needs roughly that much journal capacity per day of retention, plus overhead for metadata and compression results that vary by data type.
Practitioners usually keep a short CDP window, commonly between a few hours and several days, and then convert older history into periodic recovery points. The following decision table summarizes typical choices:
| Situation | Recommended approach | Reason |
|---|---|---|
| Transactional database with strict RPO | True CDP with 24 to 72 hours of journal | Restores to the second before corruption |
| General virtual machines | Near-continuous snapshots every 5 to 15 minutes | Good RPO at modest cost |
| File servers with user errors | File versioning plus daily backups | Fine granularity is rarely needed |
| Ransomware recovery planning | CDP journal on isolated storage | Allows rollback to just before encryption |
Bandwidth to a remote journal is the other constraint. If the link cannot absorb peak write bursts, the journal falls behind and the effective RPO grows silently, so monitoring the replication lag is essential.
Limitations and common mistakes
Continuous data protection reduces data loss, but it does not guarantee consistent or usable recovery points. Several failure modes recur in practice:
- Crash-consistent only: without application awareness, a restored database may need log recovery or may not start cleanly.
- Journal on the same storage: a single array failure destroys both production data and its protection.
- Undersized journal: heavy write periods shorten the retention window and remove expected recovery points.
- Untested restores: the ability to pick any second is worthless if no one has rehearsed the procedure.
- Write latency: synchronous journaling adds delay that latency-sensitive applications may not tolerate.
Regular restoration tests and clear ownership of the journal settings turn CDP from a feature on a data sheet into a reliable recovery capability.
In everyday language
Continuous data protection works like a security camera for your data. A normal backup is a photo taken once a night. If something goes wrong in the afternoon, you can only return to last night and lose everything since.
With continuous protection, every change is recorded as it happens. When a mistake or an attack occurs, you can rewind to the moment just before it and keep almost all of your work. The main idea is losing seconds instead of hours, at the price of more storage and careful setup.
Seen in the real world
A regional hospital runs its patient records database on two virtualized servers. Nightly backups alone would risk losing a full day of clinical notes, so the IT team enables continuous data protection at the hypervisor level with a 48-hour journal stored on a separate array in another building.
One morning at 10:42, ransomware begins encrypting the database files. Monitoring raises an alert within minutes, and the team isolates the affected servers. Using the journal, they select 10:41:30 as the recovery point, verify that the database starts cleanly in an isolated network, and bring it back into service.
The outcome is that the hospital loses about 90 seconds of records, which staff re-enter from paper notes, instead of an entire morning of patient documentation.