Continuous data protection explained

Continuous data protection (CDP), also called continuous backup or real-time backup, refers to backup of computer data by automatically saving a copy of every change made to that data, essentially capturing every version of the data that the user saves. In its true form it allows the user or administrator to restore data to any point in time.[1] The technique was patented by British entrepreneur Pete Malcolm in 1989 as "a backup system in which a copy [editor's emphasis] of every change made to a storage medium is recorded as the change occurs [editor's emphasis]."[2]

In an ideal case of continuous data protection, the recovery point objective—"the maximum targeted period in which data (transactions) might be lost from an IT service due to a major incident"—is zero, even though the recovery time objective—"the targeted duration of time and a service level within which a business process must be restored after a disaster (or disruption) in order to avoid unacceptable consequences associated with a break in business continuity"—is not zero.[3] An example of a period in which data transactions might be lost is a major discount chain having card readers at its checkout counters shut down at multiple locations for close to two hours in the month of June 2019. CDP runs as a service that captures changes to data to a separate storage location. There are multiple methods for capturing continuous live data changes involving different technologies that serve different needs. True CDP-based solutions can provide fine granularities of restorable objects ranging from crash-consistent images to logical objects such as files, mail boxes, messages, and database files and logs.[4] This isn't necessarily true of near-CDP solutions.

Differences from traditional backup

True continuous data protection is different from traditional backup in that it is not necessary to specify the point in time to recover from until ready to restore.[5] Traditional backups only restore data from the time the backup was made. True continuous data protection, in contrast to "snapshots", has no backup schedules. When data is written to disk, it is also asynchronously written to a second location, either another computer over the network[6] or an appliance.[7] This introduces some overhead to disk-write operations but eliminates the need for scheduled backups.

Allowing restoring data to any point in time, "CDP is the gold standard—the most comprehensive and advanced data protection. But 'near CDP' technologies can deliver enough protection for many companies with less complexity and cost. For example, snapshots ["near-CDP" clarification in [[Continuous Data Protection#Continuous vs near continuous|the section below]]] can provide a reasonable near-CDP-level of protection for file shares, letting users directly access data on the file share at regular intervals—say, every half hour or 15 minutes. That's certainly a higher level of protection than tape-based or disk-based nightly backups and may be all you need." Because "near-CDP does this [copying] at pre-set time intervals",[8] it is essentially incremental backup initiated—separately for each source machine—by timer instead of script.

Continuous vs near continuous

Since true CDP "backup write operations are executed at the level of the basic input/output system (BIOS) of the microcomputer in such a manner that normal use of the computer is unaffected", true CDP backup must in practice be run in conjunction with a virtual machine[6] [9] or equivalent[10] —ruling it out for ordinary personal backup applications. It is therefore discussed in the "Enterprise client-server backup" article, rather than in the "Backup" article.

Some solutions marketed as continuous data protection may only allow restores at fixed intervals such as 15 minutes or one hour or 24 hours, because they automatically take incremental backups at those intervals. Such "near-CDP"—short for near-continuous data protection—schemes are not universally recognized as true continuous data protection, as they do not provide the ability to restore to any point in time. When the interval is shorter than one hour,[11] "near-CDP" solutions—for example Arq Backup[12] —are typically based on periodic "snapshots"; "to avoid downtime, high-availability systems may instead perform the backup on ... a read-only copy of the data set frozen at a point in time—and allow applications to continue writing to their data". There is debate in the industry as to whether the granularity of backup must be "every write" to be CDP, or whether a "near-CDP" solution that captures the data every few minutes is good enough. The latter is sometimes called near continuous backup. The debate hinges on the use of the term continuous: whether only the backup process must be continuously automatically scheduled, which is often sufficient to achieve the benefits cited above, or whether the ability to restore from the backup also must be continuous. The Storage Networking Industry Association (SNIA) uses the "every write" definition.

There is a briefer sub-sub-section in the "Backup" article about this, now renamed to "Near-CDP" to avoid confusion.

Differences from RAID, replication or mirroring

Continuous data protection differs from RAID, replication, or mirroring in that these technologies only protect one copy of the data (the most recent). If data becomes corrupted in a way that is not immediately detected, these technologies simply protect the corrupted data with no way to restore an uncorrupted version. Continuous data protection protects against some effects of data corruption by allowing restoration of a previous, uncorrupted version of the data. Transactions that took place between the corrupting event and the restoration are lost, however. They could be recovered through other means, such as journaling.

Backup disk size

In some situations, continuous data protection requires less space on backup media (usually disk) than traditional backup. Most continuous data protection solutions save byte or block-level differences rather than file-level differences. This means that if one byte of a 100 GB file is modified, only the changed byte or block is backed up. Traditional incremental and differential backups make copies of entire files; however starting around 2013 enterprise client-server backup applications have implemented a capability for block-level incremental backup, designed for large files such as databases.

Risks and disadvantages

When real-time edits—especially in multimedia and CAD design environments—are backed up offsite over the upstream channel of the installation's broadband network,[13] network bandwidth throttling[14] may be needed to reduce the impact of true CDP. An alternative approach is to back up to a separate Fibre-Channel-connected SAN appliance.

See also

Notes and References

  1. Web site: Behzad Behtash . Why Continuous Data Protection's Getting More Practical . Disaster recovery/business continuity . InformationWeek . 2010-05-06 . 2011-11-12 . A true CDP approach should capture all data writes, thus continuously backing up data and eliminating backup windows.... CDP is the gold standard—the most comprehensive and advanced data protection. But "near CDP" technologies can deliver enough protection for many companies with less complexity and cost. For example, snapshots can provide a reasonable near-CDP-level of protection for file shares, letting users directly access data on the file share at regular intervals--say, every half hour or 15 minutes. That's certainly a higher level of protection than tape-based or disk-based nightly backups and may be all you need..
  2. Web site: US Patent 5086502: Method of operating a data processing system . Peter B. Malcolm . 13 November 1989 . Filing date Nov 13, 1989 ... a backup system in which a copy of every change made to a storage medium is recorded as the change occurs ... backup write operations are executed at the level of the basic input/output system (BIOS) ... . Google Patents . 29 November 2016.
  3. Web site: Richard May . Finding RPO and RTO . dead. https://web.archive.org/web/20160303224604/http://www.virtualdcs.co.uk/blog/business-continuity-planning-rpo-and-rto.html . 2016-03-03. November 2012 .
  4. Web site: An Overview of Continuous Data Protection . Infosectoday.com . 2007 . 2011-11-12 . https://web.archive.org/web/20190617161626/http://www.infosectoday.com/Articles/Continuous_Data_Protection.htm . 2019-06-17 . What is Continuous Data Protection?, Can CDP be leveraged for backing up and recovering email? . ... may be block, file-, or application-based and can provide fine granularities of restorable objects to infinitely variable points in time.... New granular recovery technologies have emerged that enable mail messages, mailboxes, and folders to be restored individually without having to restore an entire email database, and without separate and redundant mailbox backups. . Pat Hanavan.
  5. Web site: Data Protection Best Practices . SNIA . Storage Networking Industry Association . 27 June 2019 . 2.1.4 Continuous Data Protection (CDP) . 23 October 2017 . ...pros to the use of snapshots:[new paragraph]Allows for the recovery of files from a specific point in time (based on snapshot schedule)....CDP can provide the ability to restore to any previous point in time, since the backups are taking place near-instantaneously; therefore, the potential for data loss is very small..
  6. Web site: Wu . Victor . EMC RecoverPoint for Virtual Machine Overview . Victor Virtual . WuChiKin . 22 June 2019 . 4 March 2017 . The splitter splits out the Write IOs to the VMDK/RDM of a VM and sends a copy to the production VMDK and also to the RecoverPoint for VMs cluster..
  7. Web site: Wendt . Jerome M. . Symantec Brings RealTime CDP into NetBackup Data Management Fold . DCIG . DCIG LLC . 5 August 2019 . 21 September 2009 . NetBackup RealTime is an appliance-based CDP solution intended for the protection of multiple hosts. Residing in corporate FC-SANs as a side-band appliance, it sits outside of the data path between application servers and their assigned storage to eliminate any possibilities of application disruption..
  8. Web site: Continuous data protection (CDP) explained: True CDP vs near-CDP . ComputerWeekly.com . TechTarget . 22 June 2019 . July 2010 . ... copies data from a source to a target. True CDP does this every time a change is made, while so-called near-CDP does this at pre-set time intervals. Near-CDP is effectively the same as snapshotting....True CDP systems record every write and copy them to the target where all changes are stored in a log. [new paragraph] By contrast, near-CDP/snapshot systems copy files in a straightforward manner but require applications to be quiesced and made ready for backup, either via the application's backup mode or using, for example, Microsoft's Volume Shadow Copy Services (VSS)..
  9. Web site: Zerto or Veeam? . RES-Q Services . 7 July 2019 . March 2017 . Zerto doesn’t use snapshot technology like Veeam. Instead, Zerto deploys small virtual machines on its physical hosts. These Zerto VMs capture the data as it is written to the host and then send a copy of that data to the replication site.....However, Veeam has the advantage of being able to more efficiently capture and store data for long-term retention needs. There is also a significant pricing difference, with Veeam being cheaper than Zerto..
  10. Web site: Agent Related . CloudEndure.com . 3 July 2019 . What does the CloudEndure Agent do? . 2019 . The CloudEndure Agent performs an initial block-level read of the content of any volume attached to the server and replicates it to the Replication Server. The Agent then acts as an OS-level read filter to capture writes and synchronizes any block level modifications to the CloudEndure Replication Server, ensuring near-zero RPO..
  11. Web site: Pond . James . FAQ 13. How are [Time Machine] backups scheduled (and can I change that)? ]. Apple OSX and Time Machine Tips . Baligu.com (as mirrored after James Pond died in 2013) . 4 July 2019 . 25 May 2013 . Time Machine was designed and optimized to do backups hourly.... You cannot change the schedule within Time Machine. You must use a 3rd-party app, or manually alter some system files..
  12. Web site: Reitshamer . Stefan . Troubleshooting backing up open/locked files on Windows . Arq Blog . Haystack Software LLC . 25 June 2019 . 5 July 2017 . Arq uses Windows Volume Shadow Copy Service (VSS) to back up files that are open/locked. [Reitshamer is the principal developer of Arq Backup].
  13. Web site: Off-Site Backup – The Bandwidth Hog . Accel Networks . 5 August 2010 . Nick . Carter . https://web.archive.org/web/20110707080023/http://www.accel-networks.com/blog/index.php?q=%2F2010%2F08%2Foff-site-backup-bandwidth-hog.html . 2011-07-07 . In a true CDP environment, whenever large files are saved – images, audio, video, CAD or 3D models – the data is transmitted over the same broadband connection that feeds users' email and internet, not to mention back-end business-critical processes. Moreover, these transmissions rely on the scarcer of the two channels, the upstream channel. The result for many companies is an erratic broadband performance, and even server slow-down..
  14. News: . Fewer Excuses for Not Doing a PC Backup . David Pogue . 4 January 2007 . options like "Enable Bandwidth Throttle" and "Don’t back up if the CPU is over this % busy.".