A retention policy is set in the Cloud Protection Manager backup job configuration settings and defines the number of restore points to keep in Amazon S3 object storage repositories.
Retention policies are initially managed by Cloud Protection Manager until a Veeam Backup & Replication client reclaims ownership of a repository and all the backup files in such a repository.
Once ownership is reclaimed, Cloud Protection Manager ceases to govern retention policies and the Veeam Backup & Replication client becomes responsible for removing obsolete restore points from Amazon S3 object storage altogether.
The restore points that fall under the retention policy will be removed upon the next successful session of the maintenance job.
When a Veeam Backup & Replication client removes an external repository from its scope, it relinquishes its ownership which then goes directly to Cloud Protection Manager until another Veeam Backup & Replication client reclaims it anew and so forth.
A retention policy can only be applied by the Veeam Backup & Replication client that is the rightful owner of an Amazon S3 object storage repository and its backup files.