CDP : Continuous Data Protection
The continuous data protection can be enabled and configured using a strategy.
Enabling CDP
Key | Parameters | Control |
---|---|---|
Configuration.Selection.ContinuousDataProtectionEnabled | [set < set >:] < bool > | Enables Continuous Data Protection |
Possible values :
- [set < set >:] : optional parameter. If not specified, CDP preferences will apply to all selections.
- true : to enable CDP
- false : to disable CDP (default)
Triggering rules
Those keys allow to define when, after a file modification, the continuous data protection will begin to process it, and also what is its maximum size.
Key | Parameter | Control |
---|---|---|
Configuration.ContinuousDataProtectionDelayBeforeSave | < delay > | Delay since its modification after which a file is processed |
Configuration.ContinuousDataProtectionMaximumSaveSize | < size > | Maximum file size to deal with continuous backup |
The parameters have the following roles and values :
- delay : delay before continuous backup starts processing, in seconds
- size : File size beyond which one files will not be processed by continuous backup. Both the size and its unit must be specified, as below :
- b : Bytes
- Mb : Mega bytes
- Gb : Giga bytes
- Tb : Tera bytes
Cache management
During a network disconnection, continuous backup is performed on a configurable local cache.
Key | Parameter | Control |
---|---|---|
Configuration.ContinuousDataProtectionLocalCacheDirectory | < path > | Path to the directory to use to store the cache |
Configuration.ContinuousDataProtectionLocalCacheSize | < size > | Maximum size for the local cache |
The parameters have the following roles and values :
- path : absolute path where to store the cache data
- size : maximum cache size. Both the size and its unit must be specified, as below :
- b : Bytes
- Mb : Mega bytes
- Gb : Giga bytes
- Tb : Tera bytes
Example
You want to enable continuous backup on your mobile workstations. It must be triggered after 60 seconds and does not handle files over 50 MB. In case of disconnection, it must use a cache, limited to 1 GB
What is to be done :
- Enable CDP on a backup set called "Documents"
- Set the trigger delay to 60 seconds
- Limit file size to 50 MB
- Create a local cache in "C:\Backup Cache\"
- Limit the cache size to 1 GB
Resulting strategy :
Configuration.Selection.ContinuousDataProtectionEnabled : set "Documents": true
Configuration.ContinuousDataProtectionDelayBeforeSave : 60
Configuration.ContinuousDataProtectionMaximumSaveSize : 50 Mb
Configuration.ContinuousDataProtectionLocalCacheDirectory : "C:\Backup Cache\"
Configuration.ContinuousDataProtectionMaximumSaveSize : 1 Gb