SnapCenter Plug-in for VMware vSphere (SCV) 4.3 or later
SCV applies retention based on the backup time and not the snapshot creation time and guarantees the correct amount of snapshots are kept
- Retention is 2 days
- Snapshot created is "
- The job workflow log (WFE) shows the backup time is
- Should be removed on 17/05, but job shows a cut-off time of 05/15/2020 00:25:05
"2020-05-17 00:25:06.453 -02:00 [INF] Retention days 2 (Cut-off date & time: 05/15/2020 00:25:05)"
- Therefore the snapshot will not be deleted until the following day as the backup time is 7 seconds after the cut-off time
To avoid this, in the policy change the retention from Days to keep to Backup(s) to keep
Note: Retention only runs as part of a backup, and only when the backup is successful. This is done to prevent loss of (all) previous backups when backups fail, but subsequently means that OnDemand Backups (manually run) with "Days to keep" do not run retention when they are not manually triggered daily.