Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7740

SQL Snapshot restoration - Monitoring the % completed

$
0
0

We are a product based company and using SQL Server as backend. Whenever there is a new version of OUR product released, we will upgrade the product for all our SaaS customers  and upgrading the product across all the SaaS Customers have been automated.

As a pre-upgrade process, we will take DB Snapshot and if any issues with the Product Upgrade, we will revert the DB using the DB Snapshot.

Many times , we will be handling high volume databases (>500gigs). While reverting the snapshot on these kind of bigger databases, we are not able to find the restoring % completed. Is there any way we can identify the percentage of restoring completion while doing it from the snapshot (we are NOT restoring the FULL backup where we can identify the %completed using percent_complete column in sys.dm_exec_requests table)

I got this error message while trying WITH STATS = 5 --"The revert command is incorrectly specified. The RESTORE statement must be of the form: RESTORE DATABASE <x> FROM DATABASE_SNAPSHOT = <y>."

'percent_complete' column in dm_exec_requests DMV shows 0% till the end of the restoration.

Any solution for monitoring the snapshot restoration?


Viewing all articles
Browse latest Browse all 7740

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>