-
- Enthusiast
- Posts: 35
- Liked: 4 times
- Joined: Aug 16, 2023 5:31 pm
- Full Name: Henry Aragon
- Contact:
How to remove specific users from old snapshots
Good day all.
We backed up a DL with some users that we did not need to back up, and only found out about 1 week later. We added the DL to the exclusion list, but the previous snapshots still have data for those users.
I'm trying to figure out what PowerShell command will delete only that user's data from all relevant snapshots. Can anyone point me in the right direction here?
We backed up a DL with some users that we did not need to back up, and only found out about 1 week later. We added the DL to the exclusion list, but the previous snapshots still have data for those users.
I'm trying to figure out what PowerShell command will delete only that user's data from all relevant snapshots. Can anyone point me in the right direction here?
-
- Product Manager
- Posts: 10290
- Liked: 2747 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: How to remove specific users from old snapshots
Hello Henry
The command is Remove-VBOEntityData
https://helpcenter.veeam.com/docs/vbo36 ... tml?ver=70
You can follow Example 1:
Please be aware, with jet based databases, you won't reclaim any space with the deletion. Deleted blocks in the database will be marked as free and can be reused in further backup sessions.
Best,
Fabian
The command is Remove-VBOEntityData
https://helpcenter.veeam.com/docs/vbo36 ... tml?ver=70
You can follow Example 1:
Code: Select all
$repository = Get-VBORepository -Name "REPOSITORY NAME"
$user = Get-VBOEntityData -Type User -Repository $repository -Name "USER NAME"
Remove-VBOEntityData -Repository $repository -User $user -Mailbox -ArchiveMailbox -OneDrive -Sites
Best,
Fabian
Product Management Analyst @ Veeam Software
-
- Enthusiast
- Posts: 35
- Liked: 4 times
- Joined: Aug 16, 2023 5:31 pm
- Full Name: Henry Aragon
- Contact:
Re: How to remove specific users from old snapshots
Hello Fabian.
This is perfect! Thank you so much!
This is perfect! Thank you so much!
-
- Influencer
- Posts: 11
- Liked: 2 times
- Joined: Jan 16, 2025 10:54 am
- Full Name: Antonio Julio
- Contact:
Re: How to remove specific users from old snapshots
Hello,
I receive a warning status. Where can I see what it means?
I receive a warning status. Where can I see what it means?
Antonio Julio
-
- Product Manager
- Posts: 10290
- Liked: 2747 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: How to remove specific users from old snapshots
Hi Antonio
Warning and Error messages should be investigated by our customer support team.
Just for my own interest, what did the warning say? Normally the warning should be self explaining and provide you with some hint what could be wrong.
Best,
Fabian
Warning and Error messages should be investigated by our customer support team.
Just for my own interest, what did the warning say? Normally the warning should be self explaining and provide you with some hint what could be wrong.
Best,
Fabian
Product Management Analyst @ Veeam Software
-
- Veeam Legend
- Posts: 364
- Liked: 56 times
- Joined: Jun 30, 2015 9:13 am
- Full Name: Stephan Lang
- Location: Austria
- Contact:
Who is online
Users browsing this forum: No registered users and 74 guests