CDP - Continuous Data Protection
Continuous backup, or continuous data protection, can be enabled and configured through a strategy.
Enabling CDP
| Key | Parameter | Control |
|---|---|---|
Configuration.Selection.ContinuousDataProtectionEnabled | [set <set>:] <bool> | Enables continuous data protection |
Possible values for these keys are:
[set <set>:]: optional parameter. If specified, it indicates which selection set CDP applies to. If not specified, CDP preferences apply to all selections.true: enables CDPfalse: disables CDP (default)
Trigger Rules
These keys define how long after a file modification continuous backup should process it, and what the maximum file size should be.
| Key | Parameter | Control |
|---|---|---|
Configuration.ContinuousDataProtectionDelayBeforeSave | <delay> | Delay after which a file is processed following modification |
Configuration.ContinuousDataProtectionMaximumSaveSize | <size> | Maximum file size processed by continuous backup |
Parameters have the following roles and values:
delay: trigger delay for continuous backup, expressed in secondssize: file size above which files are not processed by continuous backup. The size and unit must be expressed as follows:- b : bytes
- Mb : megabytes
- Gb : gigabytes
- Tb : terabytes
Example
You want to enable continuous backup on your mobile devices. It should trigger after 60 seconds and should not process files larger than 50 MB. In case of disconnection, it should use a cache limited to 1 GB.
You will therefore need to:
- Enable CDP on a selection set called "Documents"
- Set the trigger delay to 60 seconds
- Limit file size to 50 MB
Resulting strategy:
Configuration.Selection.ContinuousDataProtectionEnabled : set "Documents": true
Configuration.ContinuousDataProtectionDelayBeforeSave : 60
Configuration.ContinuousDataProtectionMaximumSaveSize : 1 Gb