Retention Settings

This section describes retention settings for backup files stored on the backup target.

Parent Tag

Parameter

Description

RetentionInfo

Parent tag that encapsulates information about short-term retention policy settings.

 

RetentionType

Type of the applied short-term retention policy. Possible values:

  • 0 — Veeam Agent retains a certain number of latest restore points.
  • 1 — Veeam Agent retains restore points for a certain number of days.

Note: for Free/Workstation edition, you can set this parameter only to 1.

 

RestorePointsCount

Number of restore points that is maintained by the backup job.

  • If the RetentionType is set to 0, the RestorePointsCount parameter defines the number of latest restore points maintained in the backup chain.
  • If the RetentionType is set to 1, the RestorePointsCount parameter defines the number of days during which Veeam Agent retains a restore point.

Example

You use the Server edition and want to keep 10 restore points in the backup chain on the backup target. The input XML file will contain the following parameters:

<ExecutionResult>
 <JobInfo ConfigId="f5bb9cd2-9b7d-4bb3-9c72-435cec24420c" JobName="Backup Job">
   <RetentionInfo RetentionType="0" RestorePointsCount="10"/>
 </JobInfo>
</ExecutionResult>