-
- Enthusiast
- Posts: 94
- Liked: 3 times
- Joined: Jan 03, 2017 8:15 pm
- Full Name: Mohamed Lrhazi
- Contact:
How to track progress of Restore-VEORDatabase
Hello,
After I call Restore-VEORDatabase, which starts the restore process, how do I track its progress? how do I find out that it ended successfully or not?
Thanks,
Mohamed.
After I call Restore-VEORDatabase, which starts the restore process, how do I track its progress? how do I find out that it ended successfully or not?
Thanks,
Mohamed.
-
- Enthusiast
- Posts: 94
- Liked: 3 times
- Joined: Jan 03, 2017 8:15 pm
- Full Name: Mohamed Lrhazi
- Contact:
Re: How to track progress of Restore-VEORDatabase
If not via powershell commandlest, can I track the progress in some log files somewhere?
-
- Veeam Software
- Posts: 3705
- Liked: 621 times
- Joined: Aug 28, 2013 8:23 am
- Full Name: Petr Makarov
- Location: Prague, Czech Republic
- Contact:
Re: How to track progress of Restore-VEORDatabase
Hi Mohamed,
You may try this cmdlet or look for a corresponding session in the History view in Veeam B&R console.
Thanks!
You may try this cmdlet or look for a corresponding session in the History view in Veeam B&R console.
Thanks!
-
- Enthusiast
- Posts: 94
- Liked: 3 times
- Joined: Jan 03, 2017 8:15 pm
- Full Name: Mohamed Lrhazi
- Contact:
Re: How to track progress of Restore-VEORDatabase
Thanks Peter. Neither of those seem to show progress. Get-VEORRestoreSession returned a session object but it does not seem to have any status/state attributes to lookup.
The History view does not seem to include progress either and it would not be easy for me to script access to it anyway.
From my script, I'd like to be able to track progress and restoration final result, so I can take decisions, maybe alert people, retry...etc.
The History view does not seem to include progress either and it would not be easy for me to script access to it anyway.
From my script, I'd like to be able to track progress and restoration final result, so I can take decisions, maybe alert people, retry...etc.
-
- Veeam Software
- Posts: 3705
- Liked: 621 times
- Joined: Aug 28, 2013 8:23 am
- Full Name: Petr Makarov
- Location: Prague, Czech Republic
- Contact:
Re: How to track progress of Restore-VEORDatabase
Hi Mohamed,
Ok, let's note your feature request to add progress and status/state to the cmdlet output. Not sure why you don't see the session in the Veeam B&R console, I'd suggest asking our support team to review the debug logs and explain why you don't see a session in the console.
Thanks!
Ok, let's note your feature request to add progress and status/state to the cmdlet output. Not sure why you don't see the session in the Veeam B&R console, I'd suggest asking our support team to review the debug logs and explain why you don't see a session in the console.
Thanks!
-
- Enthusiast
- Posts: 94
- Liked: 3 times
- Joined: Jan 03, 2017 8:15 pm
- Full Name: Mohamed Lrhazi
- Contact:
Re: How to track progress of Restore-VEORDatabase
Thanks Peter, I do "see" the progress in the console. but I would like to programmatically track the progress, and even more importantly query about the result, when I am not actually up and "watching" the console at 3AM 

-
- Veeam Software
- Posts: 2015
- Liked: 671 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: How to track progress of Restore-VEORDatabase
Hi,
Actually, the progress for database restore is not showing neither in the UI, nor in Powershell as a separate activity as it has a different architecture and is incorporated into a mount session. That being said, if you expand oracle application restore session in the UI and go to Log tab, you can see all the restore activities you've done in scope of a database explorer. The analogue for powershell would be:
You can't see live progress there, but restore status is still traceable.
Best regards,
Oleg
Actually, the progress for database restore is not showing neither in the UI, nor in Powershell as a separate activity as it has a different architecture and is incorporated into a mount session. That being said, if you expand oracle application restore session in the UI and go to Log tab, you can see all the restore activities you've done in scope of a database explorer. The analogue for powershell would be:
Code: Select all
$restore = Get-VBRRestoreSession | where {$_.JobType -eq 'ApplicationLevelRestore'}
$restoreLogs = $restore.Logger.GetLog().UpdatedRecords
$restoreLogs | select Title, Status | fl
Best regards,
Oleg
Who is online
Users browsing this forum: aQuestionmark and 13 guests