Use the following task to set a retention policy, which limits the amount of data collected over a retention period. It is strongly recommended that you set retention policies to meet your minimum business requirements, in order to preserve disk space. The maximum retention period is two years.