- Veeam Support Knowledge Base
- Retention type changes after re-adding an object storage repository
Retention type changes after re-adding an object storage repository
| KB ID: | 4176 |
| Product: | Veeam Backup for Microsoft Office 365 | 3.0 | 4.0 | 5.0 |
| Published: | 2021-05-28 |
| Last Modified: | 2021-06-08 |
Cheers for trusting us with the spot in your mailbox!
Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
Oops! Something went wrong.
Please, try again later.
Challenge
When a repository extended to object storage that was initially created using PowerShell or REST API is removed from Veeam Backup for Microsoft 365 and then added back, the retention type changes to item-level. This change in retention type after such a repository has been re-added may cause certain items to not be in retention.
This issue applies to versions of Veeam Backup for Microsoft 365 between 3.0 GA (3.0.0.422 ) and 5b cumulative patch KB4135 (5.0.1.225). The currently installed build number can be found in the main menu under Help and Support > About.
Cause
This issue only affects repositories that meet the following criteria:
- Initially created using Veeam Backup for Microsoft 365 3.0.0.422 through 5.0.1.225.
- Initially created with REST API or PowerShell.
- Configured with the snapshot-based retention.
- Extended to object storage
Solution
Install the latest version of Veeam Backup for Microsoft 365 to avoid the issue on existing and new repositories. This issue was initially corrected in build 5.0.1.252.
If any repositories are experiencing this issue, the following steps will allow the repository to be re-added with snapshot-based retention. These steps are to be performed after updating Veeam Backup for Microsoft 365 to version 5.0.1.252 or higher.
- Open the Veeam Backup for Microsoft 365 console and stop any active backup jobs.
- Open the Services.msc console on the Veeam Backup for Microsoft 365 server.
- In the Services.msc console, stop the following Veeam services:
- Veeam.Archiver.Service
- Veeam.Archiver.Proxy
- Veeam.Archiver.RESTful.Service
- Copy C:\ProgramData\Veeam\Backup365\Proxy.xml to another location to create a backup of it.
- Run Notepad as Administrator and use File > Open to open C:\ProgramData\Veeam\Backup365\Proxy.xml.
- Add the following line in the <Archiver> section. If this line already exists, ensure that its value equals True.
<RepositoryConfig AllowChangeRetentionType="True" />
Example:
<Veeam>
<Archiver>
<RepositoryConfig AllowChangeRetentionType="True" />
</Archiver>
</Veeam>
Do not apply this if a different issue is occurring.
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.