Hello All,
Could someone help me with adding servers to agent-based backup jobs via powershell/commandline. In the below command i get error while mentioning Job and backupobject.
Set-VBRComputerBackupJob -Job <VBRComputerBackupJob> ;-Name <string>] ]-Description <string>] ]-BackupObject <Objectc]>]. Where RKTest is an existing Job, I’m trying to add objects or servers to the backup job RKTest.
Error:
cmdlet Set-VBRComputerBackupJob at command pipeline position 1
Supply values for the following parameters:
Job: "RKTest"
Set-VBRComputerBackupJob : Cannot bind parameter 'Job'. Cannot convert the ""RKTest"" value of type "System.String" to type "Veeam.Backup.PowerShell.Infos.VBRComputerBackupJob".
At line:1 char:1
+ set-vbrcomputerbackupjob
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) rSet-VBRComputerBackupJob], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Veeam.Backup.PowerShell.Cmdlets.SetVBRComputerBackupJob
--------------------------------------------------------------------------------------
Add-VBRComputerBackupJob : A backup object with the specified name is of unsupported type: {sgdvl184.sgd.flextronics.com}.
At line:1 char:1
+ Add-VBRComputerBackupJob
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) Add-VBRComputerBackupJob], ArgumentException
+ FullyQualifiedErrorId : System.ArgumentException,Veeam.Backup.PowerShell.Cmdlets.AddVBRComputerBackupJob