Hi
@DaKernel,
Don't worry, I had the same confusion.
When you add via -Job, the Backup Copy will automatically know which repository to use.
-SourceRepository isn't about selecting the valid repositories like you see here:
https://helpcenter.veeam.com/docs/backu ... ml?ver=110
-SourceRepository is about adding a repository as the object for the Backup Copy, as shown here:
https://helpcenter.veeam.com/docs/backu ... ml?ver=110
[For the immediate copy mode] Select a type of a source from which you want to copy restore points:
From jobs. You will see existing backup jobs. Veeam Backup & Replication will copy restore points created by the selected backup jobs.
From repositories. You will see all backup repositories in the backup infrastructure. Veeam Backup & Replication will copy restore points stored on the selected backup repositories. Veeam Backup & Replication will copy only restore points of workloads of the same platform as you have selected when launching the wizard.
If you select repositories as sources, and target new jobs to the repositories in future, Veeam Backup & Replication will update backup copy job settings automatically to include these jobs to be copied.
I had the exact same confusion, as the cmdlet instructions just mention an array of Repositories, which now I understand to mean as an object source for the Backup Copy, but I initially read it the same as you, that it's about specific repositories being valid sources for Backup Copy Objects added from infrastructure. (e.g., assume you have a VM named "important_vm", and it's part of a few jobs for various reasons. You only want to use Repository A as a source for the Backup Copy. If you add From Infrastructure, Veeam by default will look for the most recent restore point for that VM regardless of the repository, and limiting the Source Repositories helps to avoid poorly routed Backup Copies)