I have noticed a lot of removed SharePoint sites are still backed up, so i tried te remove them from the repository.
I can delete some sites, but the most sites give the following error:
Code: Select all
Remove-VBOEntityData : Cannot validate argument on parameter 'Site'. The argument is null. Provide a valid value for th
e argument, and then try running the command again.
At line:1 char:52
+ Remove-VBOEntityData -Repository $repository -Site $site
+ ~~~~~
+ CategoryInfo : InvalidData: (:) [Remove-VBOEntityData], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Veeam.Archiver.PowerShell.Cmdlets.BackupItems.RemoveVBO
EntityData
Code: Select all
$repository = Get-VBORepository -Name "Default Backup Repository (D:)"
$site = Get-VBOEntityData -Type Site -Repository $repository -Name "examplesite"
Remove-VBOEntityData -Repository $repository -Site $site