Hello, I am trying to change the protection group via powershell after creating a backupjob in veeam, but there is no problem when I change it once, if I want to change it again after changing it, I get such an error, how can I solve this?
Set-VBRComputerBackupJob : The specified computer backup job is invalid.
Failed to validate a BackupObject with the specified name: test3. IndexIncludedOnly or IndexEverythingExceptExcluded options are not supported by Linux computer backup job of
SelectedFiles type.
At line:5 char:1
+ Set-VBRComputerBackupJob -Job $job2 -BackupObject $protection
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-VBRComputerBackupJob], ArgumentException
+ FullyQualifiedErrorId : System.ArgumentException,Veeam.Backup.PowerShell.Cmdlets.SetVBRComputerBackupJob
Which Veeam version are you using currently? I seem to remember there was an older issue with this cmdlet and it was resolved in one of the early v11 updates, so can you confirm if you're on v12 already? If not, please try upgrading and then see if the behavior continues. If it does, please open a Support case and let the Support Team review the issue.
David Domask | Product Management: Principal Analyst
I would ask if you could please update to the latest version of Veeam Backup and Replication and see if the issue continues to reproduce; if it does, it's best to open a case and let the Veeam Support Team take a look at the behavior.
When you open a case, please share the case number here.
David Domask | Product Management: Principal Analyst
What's your $job.IndexingOptions.IndexingMode value? Also, did you create your linux agent job via powershell?
Looks like I cannot reproduce the same issue in 12.0.0.1420, but you could try changing the existing indexing options.
hello I realized that the structure I was trying to use was a different structure than the one that worked for me and I stopped researching this situation thank you for your help