About Retention Policy
A retention policy defines how long and under which retention type your data should be stored in a repository.
Veeam Backup for Microsoft 365 provides the following types of retention:
Select this type if you want to keep an item until the restore point of an item's version 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 |
Backup jobs do not process items the last modification time of which exceeds the specified retention period. |
That said, there are three different versions of the Item 1 in a backup repository.
Note |
Backup jobs process all available items regardless of their creation time or last modification time. |
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 is an example that demonstrates a backup of the mailbox A which is followed by 6 consecutive unsuccessful attempts (B though 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
Each version of an item can have its own restore point. 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.
Consider the following example with 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 scope, 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 scope 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 is an example in which the mailbox A has been removed because it was already out of the retention scope (Example 1), and the next mailbox to 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.
Related Topics