Understanding item-level retention

When configuring a backup scheduler, you must specify the maximum time for which a backup can be held in your repository. If you have set an item-level retention of x months, it ensures that the backup held in your repository only holds information of all changes made in the preceding x months.

For SharePoint Online, OneDrive for Business, and Microsoft Teams items, item-level retention is calculated based on the date and time the item was modified.

For item versions, item-level retention is calculated based on the date and time at which the version was created.

When you configure a new backup scheduler, and you set an item-level retention of x months, the process that happens is as follows:

  • When the backup job begins, RecoveryManager Plus will analyze the metadata of all your SharePoint Online, OneDrive for Business, and Microsoft Teams data.
  • The item-level retention starting point is set to the current date/time.
  • The last modification date of each item is identified.
  • For SharePoint Online, OneDrive for Business, and Microsoft Teams items, the age of the item is calculated by comparing the last modified date and time and the current date/time. For item versions, the age is calculated by comparing the date and time at which the version was created with the current date/time.
  • The age is then compared with the value that you’ve set as the maximum item-level retention.
  • If the age of an item exceeds the specified interval, the item will not be backed up into the repository.
  • If the age is less than the specified item-level retention, the item will be backed up.

For example, assume a backup scheduler is created on July 5, 2018 to perform a backup every Sunday at 12:00 AM. The item-level retention is set to 1 year. The first time that the scheduler will run is on July 8, 2018 at 12:00 AM. July 8, 2018 will be set as the starting point of the item-level retention. All SharePoint Online, OneDrive for Business, and Microsoft Teams items that have their last modified entry from July 8, 2017 to July 8, 2018 will be backed up as the age of the modified item will be less than the maximum item-level retention. Any item that has the last modified date earlier than July 8, 2017 will not be backed up.

This retention policy is then applied to the backed up data on the repository.

  • After all items that satisfy the age criteria are backed up, RecoveryManager Plus checks for items that have exceeded the item-level retention.
  • Items whose age exceeds the item-level retention will be removed from the backup repository.

Considering the same example from the scenario above, the next installment of the backup will occur on July 15, 2018 at 12am. With July 15, 2018 set as the starting point of the item-level retention, RecoveryManager Plus will scan the backed up data to find all items whose last modified time are earlier than July 15, 2017. All items that fit the criteria are then removed from the repository.