Hello
Is it normal to get the destination repository the attribute I have to query depends on the agent mode ?
If agent is on mode ManagedbyAgent : (Get-VBRComputerBackupJob).destinationoptions.backuprepository.name
If agent is on mode ManagedByServer : (Get-VBRComputerBackupJob).backuprepository.name
I just would like to know if this is a normal behavior or not
-
- Veeam Legend
- Posts: 823
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Repository veeam agent
Hi matteu,
Yes, it is normal. As you might have noticed, for ManagedByAgent jobs, unlike for ManagedByServer jobs, you can choose destination type (backup repo, local storage etc.). So, it would require a separate step (UI) and a separate property (Powershell) to hold all the destination data. To avoid creating reduntant classes we decided to reflect BackupRepository property as null in ManagedByAgent job objects and DestinationOptions as null in ManagedByServer job objects.
Thanks,
Oleg
Yes, it is normal. As you might have noticed, for ManagedByAgent jobs, unlike for ManagedByServer jobs, you can choose destination type (backup repo, local storage etc.). So, it would require a separate step (UI) and a separate property (Powershell) to hold all the destination data. To avoid creating reduntant classes we decided to reflect BackupRepository property as null in ManagedByAgent job objects and DestinationOptions as null in ManagedByServer job objects.
Thanks,
Oleg
-
- Veeam Legend
- Posts: 823
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Repository veeam agent
OK,
Thanks for your answer.
Thanks for your answer.
Who is online
Users browsing this forum: Bing [Bot] and 9 guests