Maintain control of your Microsoft 365 data
Post Reply
Cuebid-Fredrik
Service Provider
Posts: 16
Liked: 2 times
Joined: Jun 18, 2019 8:22 am
Full Name: Fredrik Ranelov
Contact:

How to remove specific job data from S3 repo

Post by Cuebid-Fredrik »

Hi,

I have a customer with a big S3 repo with migrated and archived data from several jobs - mail, sharepoint, onedrive for example.
They want to cut S3-costs and remove sharepoint and onedrive backup data but keep the mail data.
Is it possible and still keep the integrity of the mail backups?
Remove-VBOBackupItem?

Any input much appreciated!
/Fredrik
Mildur
Product Manager
Posts: 10316
Liked: 2754 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: How to remove specific job data from S3 repo

Post by Mildur »

Hello Fredrik

To remove backups, you need to use Remove-VBOEntityData.

Please follow the example in the user guide: https://helpcenter.veeam.com/docs/vbo36 ... ity&ver=70
Example 1 is for user backup removal. Example 3 is for SharePoint backup removal.

Code: Select all

$repository = Get-VBORepository -Name "ABC Daily Backup"
$user = Get-VBOEntityData -Type User -Repository $repository -Name "Chuck Brown"
Remove-VBOEntityData -Repository $repository -User $user -OneDrive -Sites
Parameter Mailbox, ArchiveMailbox, OneDrive and Sites will specify which objects of a user you will remove with the cmdlet.
For SharePoint backups we have Parameter such as Site or Team.

As always, test the command on a single user first and then check in the backup console if the right backups are gone.

Best,
Fabian
Product Management Analyst @ Veeam Software
Cuebid-Fredrik
Service Provider
Posts: 16
Liked: 2 times
Joined: Jun 18, 2019 8:22 am
Full Name: Fredrik Ranelov
Contact:

Re: How to remove specific job data from S3 repo

Post by Cuebid-Fredrik »

Brilliant! Thanks a lot Fabian!

Kind regards,
/Fredrik
Mildur
Product Manager
Posts: 10316
Liked: 2754 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: How to remove specific job data from S3 repo

Post by Mildur »

You're welcome :)

Remove-VBOBackupItem would only remove the object from a backup job.
Backups would still be in your backup repository until the retention is over.

Best,
Fabian
Product Management Analyst @ Veeam Software
Post Reply

Who is online

Users browsing this forum: No registered users and 60 guests