-
- Service Provider
- Posts: 326
- Liked: 78 times
- Joined: Mar 16, 2015 4:00 pm
- Full Name: David Rubin
- Contact:
BEM creates jobs differently than VBR
I've been noticing differences in jobs created in the Enterprise Manager Self-Service portal versus those created directly in VBR since 9.5, but now I have something that I have reproduced in multiple environments. When you use the "Get-VBRBackup" PowerShell cmdlet on a VBR, it will only return jobs that have been created directly within the VBR console; jobs that have been created via the Self-Service portal do not get returned. It doesn't matter whether the jobs are vCD jobs or vSphere jobs.
-
- Veeam Software
- Posts: 3625
- Liked: 608 times
- Joined: Aug 28, 2013 8:23 am
- Full Name: Petr Makarov
- Location: Prague, Czech Republic
- Contact:
Re: BEM creates jobs differently than VBR
Hi David,
The mentioned cmdlet returns backups but not backup jobs, did you try "Get-VBRJob"?
Thanks!
The mentioned cmdlet returns backups but not backup jobs, did you try "Get-VBRJob"?
Thanks!
-
- Service Provider
- Posts: 326
- Liked: 78 times
- Joined: Mar 16, 2015 4:00 pm
- Full Name: David Rubin
- Contact:
Re: BEM creates jobs differently than VBR
The documentation here says to use Get-VBRBackup, but Get-VBRJob seems to be more appropriate to my needs (and works properly). That doesn't negate the above oddity, though.
-
- Veeam Software
- Posts: 3625
- Liked: 608 times
- Joined: Aug 28, 2013 8:23 am
- Full Name: Petr Makarov
- Location: Prague, Czech Republic
- Contact:
Re: BEM creates jobs differently than VBR
I think that wording on this page is not 100 % accurate and needs to be corrected. I'm glad to hear that another cmdlet works fine, but anyway we'll have a closer look at the discrepancy with "Get-VBRBackup", your feedback is highly appreciated!
Thanks!
Thanks!
-
- Service Provider
- Posts: 326
- Liked: 78 times
- Joined: Mar 16, 2015 4:00 pm
- Full Name: David Rubin
- Contact:
Re: BEM creates jobs differently than VBR
Thanks @PetrM! I'm not sure what Get-VBRBackup is supposed to do, but it doesn't seem to be doing it properly.
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: BEM creates jobs differently than VBR
Hi David,
Tested Get-VBRBackup in my lab, it does reflect backups in VBR created with self-service backup jobs.
Are you still experiencing the aforementioned oddity?
Thanks,
Oleg
Tested Get-VBRBackup in my lab, it does reflect backups in VBR created with self-service backup jobs.
Are you still experiencing the aforementioned oddity?
Thanks,
Oleg
-
- Service Provider
- Posts: 326
- Liked: 78 times
- Joined: Mar 16, 2015 4:00 pm
- Full Name: David Rubin
- Contact:
Re: BEM creates jobs differently than VBR
Hi Oleg,
Yes, it is still only showing me the jobs that I created directly within VBR, and none of the jobs created via the self-service portal.
Yes, it is still only showing me the jobs that I created directly within VBR, and none of the jobs created via the self-service portal.
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: BEM creates jobs differently than VBR
Just to be certain - do you already have backups made by these self-service backup portal jobs? Are they visible in VBR console? I just want to make sure we are talking about the same thing as if the jobs you created haven’t run yet, there will be nothing for Get-VBRBackup to show. Thanks!
-
- Service Provider
- Posts: 326
- Liked: 78 times
- Joined: Mar 16, 2015 4:00 pm
- Full Name: David Rubin
- Contact:
Re: BEM creates jobs differently than VBR
Yes, all of these jobs have been running for a couple of weeks now, have associated backup points, and are all visible in the VBR console.
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: BEM creates jobs differently than VBR
Doesn't look right. Are any of those backups reflected upon execution of this method?
It would also help to know your VBR version.
Thanks!
Code: Select all
[Veeam.Backup.Core.CBackup]::GetAll()
Thanks!
-
- Service Provider
- Posts: 326
- Liked: 78 times
- Joined: Mar 16, 2015 4:00 pm
- Full Name: David Rubin
- Contact:
Re: BEM creates jobs differently than VBR
[Veeam.Backup.Core.CBackup]::GetAll() returns a list of all my backups, and is a much longer list than I get from Get-VBRBackup.
I'm running VBR 11.0.0.837 P20210525
I'm running VBR 11.0.0.837 P20210525
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: BEM creates jobs differently than VBR
Hi David,
Thanks, checked on the same build and also encountered this issue. Looks like this bug is specific to v11 and has been fixed in v11a.
The workaround for v11 would be to use GetAll() method I mentioned above.
Best regards,
Oleg
Thanks, checked on the same build and also encountered this issue. Looks like this bug is specific to v11 and has been fixed in v11a.
The workaround for v11 would be to use GetAll() method I mentioned above.
Best regards,
Oleg
-
- Service Provider
- Posts: 326
- Liked: 78 times
- Joined: Mar 16, 2015 4:00 pm
- Full Name: David Rubin
- Contact:
Re: BEM creates jobs differently than VBR
Thanks Oleg! I'll add this to my list of "Reasons to patch".
Who is online
Users browsing this forum: No registered users and 7 guests