-
- Novice
- Posts: 5
- Liked: 1 time
- Joined: Mar 07, 2019 10:05 am
- Full Name: Arben Q
- Contact:
Get-VBRBackup does not return backups for a number of jobs
Dears.
Using the VB&R v12, buid 12.0.0.1420, the command:
Get-VBRBackup -Name $JobName
does not return anything for a number of jobs, whereas for some of the others, it returns records.
All of them are Windows Agent Backup type, and taking the File Level Backup of the specified system objects - a directory path.
Moreover, when running the Get-VBRBackup for all backups, on the names returned, the abovementioned jobs are missing on the list.
What could be the reason of such a behavior for different jobs?
Thank you in advance
Using the VB&R v12, buid 12.0.0.1420, the command:
Get-VBRBackup -Name $JobName
does not return anything for a number of jobs, whereas for some of the others, it returns records.
All of them are Windows Agent Backup type, and taking the File Level Backup of the specified system objects - a directory path.
Moreover, when running the Get-VBRBackup for all backups, on the names returned, the abovementioned jobs are missing on the list.
What could be the reason of such a behavior for different jobs?
Thank you in advance
-
- Veeam Software
- Posts: 2015
- Liked: 671 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Get-VBRBackup does not return backups for a number of jobs
Hi Arben,
It does look abnormal. Tested it on the same 1420 build, all agent backups are returned. I suggest you to contact our support and share the case id here. Also, might be worth trying to get those backups with the unsupported method below. It may shed some light on whether the problem is with the cmdlet itself:
Best regards,
Oleg
It does look abnormal. Tested it on the same 1420 build, all agent backups are returned. I suggest you to contact our support and share the case id here. Also, might be worth trying to get those backups with the unsupported method below. It may shed some light on whether the problem is with the cmdlet itself:
Code: Select all
[Veeam.Backup.Core.CBackup]::GetAll()
Oleg
-
- Novice
- Posts: 5
- Liked: 1 time
- Joined: Mar 07, 2019 10:05 am
- Full Name: Arben Q
- Contact:
Re: Get-VBRBackup does not return backups for a number of jobs
Hi Oleg,
Yes, it works indeed with:
instead of:
Thanks a lot, you saved me a lot of a headache!
Btw, could it be the same issue, as mentioned on the other post powershell-f26/12-1-can-no-longer-find- ... 91946.html:
Case #07091258
Best Regards,
Arben
Yes, it works indeed with:
Code: Select all
[Veeam.Backup.Core.CBackup]::getall()| where-Object {$_.Name -eq $JobName}
Code: Select all
Get-VBRBackup -Name $JobName
Btw, could it be the same issue, as mentioned on the other post powershell-f26/12-1-can-no-longer-find- ... 91946.html:
...a known issue in v12 with Get-VBRBackup cmdlet...
?...ask the Support Engineer to review issue 609235.
Case #07091258
Best Regards,
Arben
-
- Veeam Software
- Posts: 2015
- Liked: 671 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Get-VBRBackup does not return backups for a number of jobs
Hi Arben,
Glad to help. Keep in mind, though, that it's just a workaround.
Yes, it could be related to the 609235 issue. Thanks for sharing the case id.
Best regards,
Oleg
Glad to help. Keep in mind, though, that it's just a workaround.
Yes, it could be related to the 609235 issue. Thanks for sharing the case id.
Best regards,
Oleg
-
- Novice
- Posts: 5
- Liked: 1 time
- Joined: Mar 07, 2019 10:05 am
- Full Name: Arben Q
- Contact:
Re: Get-VBRBackup does not return backups for a number of jobs
Solution provided in the mentioned case - we need to update on the VBR database the target_type to 0 in order to get the backups through 'Get-VBRBackup' (it worked for me):
@MOD: SQL query removed, please do not provide SQL queries in forum comments.
comments from the case:
"The Veeam PS command 'Get-VBRBackup' may return unexpected results (compared to the Veeam UI) for VAW backups managed by VBR if a backup job has a target_type = 4000.
If FLR isn't for VAW, this isn't applicable. "
@MOD: SQL query removed, please do not provide SQL queries in forum comments.
comments from the case:
"The Veeam PS command 'Get-VBRBackup' may return unexpected results (compared to the Veeam UI) for VAW backups managed by VBR if a backup job has a target_type = 4000.
If FLR isn't for VAW, this isn't applicable. "
-
- Product Manager
- Posts: 10086
- Liked: 2688 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Get-VBRBackup does not return backups for a number of jobs
Hi Arben
I'm glad you solved the issue together with our support team.
Unfortunately I had to remove the SQL query. Running SQL queries against the configuration database is only supported with guidance of our support team. Especially when the configuration database is altered by the SQL query.
If someone has the same issue, please contact our customer support team as well. You can always reference to the same case number (#07091258) provided by Arben.
Best,
Fabian
I'm glad you solved the issue together with our support team.
Unfortunately I had to remove the SQL query. Running SQL queries against the configuration database is only supported with guidance of our support team. Especially when the configuration database is altered by the SQL query.
If someone has the same issue, please contact our customer support team as well. You can always reference to the same case number (#07091258) provided by Arben.
Best,
Fabian
Product Management Analyst @ Veeam Software
Who is online
Users browsing this forum: No registered users and 9 guests