Skip to main content

Hello,

 

We have Veeam O365 5b (5.0.1.225). By mistake we enabled the backup job for the entire organization, so that means it includes Sharepoint, OneDrive, Teams, etc. and now our Repository disk is full.

We need to do a clean-up of the repository disk, in order to leave just emails (users, groups, shared mailboxes, archives, etc.) and delete all data of Sharepoint, OneDrive, Teams, etc. Finally create a job only for emails (users, groups, shared mailboxes, archives, etc.)

How can I  do that?

Thanks for your help,

 

Omar De Souza.

Hi @omar.desouza -

All the info you need is in the Veeam Backup for O365 User Guide here.

Just follow the steps to create a backup and select the Objects you want for each job.

Hope that helps.

Cheers!


Since O365 uses a JET database I don’t believe there is a way to do this.  The best suggestion would be add another drive if a virtual machine and create a new repo.  Then on that set up the new job excluding everything you don’t want.  Then you can let the other repo age out or remove it to free up space once the other job is running successfully.


Hi @omar.desouza -

All the info you need is in the Veeam Backup for O365 User Guide here.

Just follow the steps to create a backup and select the Objects you want for each job.

Hope that helps.

Cheers!

Definitely use this for the new job as noted.


Removing data needs to be done with the help of powershell. The vbo365 database files will not be getting smaller, but you can remove the data. New mail backups will reuse the already allocated size on the disk.

https://helpcenter.veeam.com/docs/vbo365/powershell/remove-vboentitydata.html?ver=50

 

Another option is to move the data to a new backup repo, that way, the vbo365 backup databases will be only the size of the mail backup data.

https://helpcenter.veeam.com/docs/vbo365/powershell/move-vboentitydata.html?ver=50

https://www.veeam.com/kb3067


Removing data needs to be done with the help of powershell. The vbo365 database files will not be getting smaller, but you can remove the data. New mail backups will reuse the already allocated size on the disk.

https://helpcenter.veeam.com/docs/vbo365/powershell/remove-vboentitydata.html?ver=50

 

Another option is to move the data to a new backup repo, that way, the vbo365 backup databases will be only the size of the mail backup data.

https://www.veeam.com/kb3067

Ah yes!!  Forgot about the powershell piece to remove data.  Thanks for that one @Mildur 


Removing data needs to be done with the help of powershell. The vbo365 database files will not be getting smaller, but you can remove the data. New mail backups will reuse the already allocated size on the disk.

https://helpcenter.veeam.com/docs/vbo365/powershell/remove-vboentitydata.html?ver=50

 

Another option is to move the data to a new backup repo, that way, the vbo365 backup databases will be only the size of the mail backup data.

https://www.veeam.com/kb3067

Ah yes!!  Forgot about the powershell piece to remove data.  Thanks for that one @Mildur 

I've had to use this earlier today as I had to cleanup a few users 😅

Personally I would go with a new repo as you'll have a clean VBO365 database without white space or fragmentation.


Removing data needs to be done with the help of powershell. The vbo365 database files will not be getting smaller, but you can remove the data. New mail backups will reuse the already allocated size on the disk.

https://helpcenter.veeam.com/docs/vbo365/powershell/remove-vboentitydata.html?ver=50

 

Another option is to move the data to a new backup repo, that way, the vbo365 backup databases will be only the size of the mail backup data.

https://www.veeam.com/kb3067

Ah yes!!  Forgot about the powershell piece to remove data.  Thanks for that one @Mildur 

I've had to use this earlier today as I had to cleanup a few users 😅

Personally I would go with a new repo as you'll have a clean VBO365 database without white space or fragmentation.

Yes cleaning up whitespace and fragmentation is fun with JET databases. 😂


So, If I need only remove Sharepoint, Teams, OneDrive data for all the repository with Powershell, this is the command? : Remove-VBOEntityData -Repository $repository -OneDrive -Sites 

 

Teams and Sharepoint are included in -Sites? 


So, If I need only remove Sharepoint, Teams, OneDrive data for all the repository with Powershell, this is the command? : Remove-VBOEntityData -Repository $repository -OneDrive -Sites 

 

Teams and Sharepoint are included in -Sites? 

Based on the documentation that seems right.


Comment