Retention Policy
A retention policy defines how long and under which retention type your backup data should be stored in a backup repository.
Veeam Backup for Microsoft 365 provides the following types of retention:
Select this type if you want to keep an item state until the restore point of an item state is within the retention coverage.
Select this type if you want to keep an item until its creation time or last modification time is within the retention coverage.
Note |
Both types of retention are supported for either JET-based backup repositories or object storage repositories. Keeps in mind that the retention type cannot be changed once set. For more information, see Adding JET-Based Backup Repositories and Adding Object Storage Repositories. |
There are the following states of the Item 1 in the backup repository:
- State 1 includes the initial version of the Item 1 and the modification made on Monday.
- State 2 includes the initial version of the Item 1 and modifications made on Monday and Tuesday.
- State 3 includes the initial version of the Item 1 and modifications made on Monday, Tuesday and Wednesday.
Note |
Backup jobs process all available items regardless of their creation time or last modification time. |
Note |
Backup jobs do not process items the last modification time of which exceeds the specified retention period. |
Removing Items After Unsuccessful Backup Attempts
If during the subsequent backup job sessions Veeam Backup for Microsoft 365 fails to back up organization mailboxes, Microsoft SharePoint items, Microsoft OneDrive for Business items, or Microsoft Teams items, the product preserves the latest backup state of such items until the next successful backup is created.
The following example represents a backup of the mailbox A which is followed by 6 consecutive unsuccessful attempts (B through G) of backing up that same mailbox during the subsequent backup job sessions. The mailbox A will not be removed until this mailbox is successfully backed up during the attempt H.
Removing Restore Points
The restore points of items are removed as soon as they are out of the retention coverage. Once the latest available restore point is removed, the parent item of such a restore point will be removed as well.
The following example represents four items (A through D) and two restore points (A1 and A2) both of which belong to the item A. The A1 restore point has already been removed since it was out of the retention coverage, whereas the A2 restore point will only be removed after it goes out of the retention coverage (Example 1).
Once the latest restore point is out of the retention coverage and, therefore, can safely be removed, the item A — the parent item of the latest restore point A2 — will be removed as well (Example 2).
Backup Job Idleness
If a backup job has created a successful backup and then went idle for an indefinite period of time (for example, it become disabled), then all the data created by such a job will be removed once it is out of the retention coverage.
The following example represents the mailbox A that has been removed because it was already out of the retention coverage (Example 1). The next mailbox that will be removed is the mailbox B, the removal of which will happen once it goes beyond the retention coverage (Example 2).
The same is applicable to Microsoft SharePoint, Microsoft OneDrive for Business and Microsoft Teams.
Object Storage Retention for Backup Copies
Consider the following:
- The retention type of the object storage repository selected as a target for a backup copy job must match that of the object storage repository where you store your backups. The retention period can be different.
- If you increase the retention period for the object storage repository selected as a target for a backup copy job that has the item-level retention type and start a backup copy job without source backup job started prior to that, Veeam Backup for Microsoft 365 will not copy backed-up data of items whose last modification time fits the updated retention coverage of backup copy.
Related Topics