I wanted to change BackupTargetOptions.TransformToSyntethicDays for a couple of backup jobs. But the used wildcard for job name did also include copy jobs. My check for $Job.BackupTargetOptions.TransformToSyntethicDays now returns the changed day (Thursday) also for copy jobs.
That is the intended way of setting it -- the Get-VBRJob cmdlet will return CJob object which has a lot of properties that aren't used on all backup types anymore, so that's why it accepted the change but the UI didn't see any changes because it's reading the info from a different location.
David Domask | Product Management: Principal Analyst
Aha, understandable; what you ended up doing here was setting the retention value in some XML somewhere, but the backup copy will read the _real_ values from elsewhere. This is just a made up example but you can imagine some XML looking like:
<JobOptionsRoot>
<RetentionSettings>
<BackupTargetOptions>
<TransformToSyntethicDays>Thursday</TransformToSyntethicDays>
</BackupTargetOptions>
</RetentionSettings>
<GFSSettings> <== This is where the UI/Job would read the data from
<GFSWeeklyDay>Friday</GFSWeeklyDay> <== This is where the UI/Job would read the data from
</GFSSettings>
</JobOptionsRoot>
So ultimately it's fine, the Backup Copy is not relying on the other data you set initially.
David Domask | Product Management: Principal Analyst