Retention
You can inject the retention policy using a strategy.
Key | Parameters | Control |
---|---|---|
Configuration.Node.Retention | [at < path >] after < value > (days | weeks) keep ((every < value > (hours|days|weeks))|none) |
Possible values :
- [at < path >] : optional parameter. If specified indicates the path from which to inject retention. In it is not specified, retention will be injected on the whole account.
- value : numeric value used to specify the beginning of the period (for the first value) and the frequency of the retention (for the second value).
- time units :
- hours, days, weeks : pretty straight forward, isn't it ?
- none : no retention's end
Important note
Thanks to go to the Data retention section for more thorough explanation of the data retention model.
Example
You wish to apply a linear 60 days retention on your backup account and a degressive 12 weeks retention on your D: drive according to the following model:
- After 1 week, keep one version per week
- After 4 weeks, keep one version per 4 week period
- After 12 weeks, do not keep any history
Resulting strategy :
Configuration.Node.Rotation : after 60 days keep none
Configuration.Node.Rotation : at D: after 1 week keep every 1 week
Configuration.Node.Rotation : at D: after 4 weeks keep every 4 weeks
Configuration.Node.Rotation : at D: after 12 weeks keep none