PowerShell script exchange
Post Reply
Tarandeep
Novice
Posts: 9
Liked: never
Joined: Mar 26, 2021 12:49 pm
Full Name: Tarandeep Singh
Contact:

Get-VESQLDatabase not returning any databases

Post by Tarandeep »

Hi,
After I upgraded to Veeam 11, I have not been able to fetch the SQL databases in the backup job.
I have been following these steps.
1. fetch last backup of job.
2. get device from backup
3. get latest application restorepoint
4. start restore session start-vesqlRestoresession
5. fetch databse using Get-vesqlRestoresession using session created in previous step

cmdlet runs without any error. but it does not fetch any dbs
However I can see the databases from SQL explorer UI using same restorepoint
HannesK
Product Manager
Posts: 14844
Liked: 3086 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Get-VESQLDatabase not returning any databases

Post by HannesK »

Hello,
if someone should help, it would be useful to provide the code ;-)

Best regards,
Hannes
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Get-VESQLDatabase not returning any databases

Post by oleg.feoktistov »

Hi Tarandeep,

Can you, please, provide more details?
Is it happening with whichever application restore point you invoke Get-VESQLDatabase on?
Also, the code you used, of course, would help to understand your case better.

Thanks,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests