I have to create a bcakup job and When i am executing below commands
Code: Select all
$Server = Get-VBRServer -Name "vcenter namel"
$VM = Find-VBRViEntity -Server $Server -name "vm name"
$repo = Get-VBRBackupRepository -ScaleOut -Name "scale out repository name"
Add-VBRViBackupCopyJob -Name "job name" -Description "File Server" -Entity $VM -Repository $repo
Add-VBRViBackupCopyJob : Parameter set cannot be resolved using the specified named parameters.
At line:4 char:1
+ Add-VBRViBackupCopyJob -Name "ASMD_PROD_AMQC2012FS1_Archive" -Descrip ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Add-VBRViBackupCopyJob], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Veeam.Backup.PowerShell.Cmdlets.AddVBRViBackupCopyJob
I have tried -force, -backup option as well but every time it fails with same error. I don't know what i am missing.
Thanks
Arun