Maintain control of your Microsoft 365 data
Post Reply
Robvil
Expert
Posts: 172
Liked: 20 times
Joined: Oct 03, 2016 12:41 pm
Full Name: Robert
Contact:

Ver. 2.0 / Delete users from repository and compress db

Post by Robvil »

Hi,

Is it possible in version 2 to:
1) delete users from the backup repository manual?
2) compress the repository db?

/Robert
Polina
Veeam Software
Posts: 2939
Liked: 681 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Ver. 2.0 / Delete users from repository and compress db

Post by Polina »

Hi Robert,

1. Backed up data is stored in a database and there's no way you can remove a specific user from it. Obsolete data is removed from the repository based on the retention settings configured.
2. There's only native Jet database compression (about 15% in average)
Polina
Veeam Software
Posts: 2939
Liked: 681 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Ver. 2.0 / Delete users from repository and compress db

Post by Polina »

Robert,

After a double check on #1, I have to apologize for my incorrect responce (every day is a lesson...) - a user can, actually, be deleted from a repository by using the Remove-VBOBackupItem cmdlet.
m.novelli
Veeam ProPartner
Posts: 504
Liked: 84 times
Joined: Dec 29, 2009 12:48 pm
Full Name: Marco Novelli
Location: Asti - Italy
Contact:

Re: Ver. 2.0 / Delete users from repository and compress db

Post by m.novelli »

Polina wrote:Robert,

After a double check on #1, I have to apologize for my incorrect responce (every day is a lesson...) - a user can, actually, be deleted from a repository by using the Remove-VBOBackupItem cmdlet.
I think this command delete a user from Backup Job, not from Backup Repository :D

Ciao

Marco
Polina
Veeam Software
Posts: 2939
Liked: 681 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Ver. 2.0 / Delete users from repository and compress db

Post by Polina »

What a mess, indeed! Thanks for pointing me to this, Marco.

Remove-VBOEntityData is the correct option to delete a user (or group, or site data) directly from a repository.

Code: Select all

PS C:\PS> $repository = Get-VBORepository -Name "ABC Daily Backup"
PS C:\PS> $user = Get-VBOEntityData -Type User -Repository $repository -Name "User Name"
PS C:\PS> Move-VBOEntityData -From $repository -User $user -Mailbox -ArchiveMailbox -OneDrive -Sites
My apologies for the inconvenience.
Robvil
Expert
Posts: 172
Liked: 20 times
Joined: Oct 03, 2016 12:41 pm
Full Name: Robert
Contact:

Re: Ver. 2.0 / Delete users from repository and compress db

Post by Robvil »

Thanks.
Post Reply

Who is online

Users browsing this forum: bavo.vdk and 17 guests