Hello,
I create backup job agent and I would like to know all the object processed by the job.
I use backup mode : Volume level backup
On object Tab : I select OS volume
Powershell commandlet is : Get-VBRComputerBackupJob
To know what are the selected volume it's : (Get-VBRComputerBackupJob).SelectedVolumes
It doesn't work for "OS volume" but it works if I write E: or D:.
Is there any way to have what I want ?
-
- 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: VeeamAgent job and powershell
Hi,
Apparently, this indication is missing in VBRComputerBackupJob class. I noted it as an enhancement request.
For now, you could use the workaround below:
The cmdlet is no longer supported for agent management jobs, but this option works fine.
Best regards,
Oleg
Apparently, this indication is missing in VBRComputerBackupJob class. I noted it as an enhancement request.
For now, you could use the workaround below:
Code: Select all
$job = Get-VBRJob -Name 'Windows Agent Backup Job'
$job.Options.EpPolicyOptions.BackupSystemState # true if OS volume is included
Best regards,
Oleg
-
- Veeam Legend
- Posts: 823
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: VeeamAgent job and powershell
Thanks for your answer
Who is online
Users browsing this forum: No registered users and 6 guests