x
login about faq Site discussion (meta-askssc)

Restore Process

Can I determine how much of a restore is complete and how long it will take to finish while it's running?

more ▼

asked Nov 25 '09 at 05:22 PM in Default

Steve Jones - Editor gravatar image

Steve Jones - Editor ♦♦
5.1k 74 78 82

(comments are locked)
10|1200 characters needed characters left

1 answer: sort oldest

Yes, you actually can. If you query the sys.dm_exec_requests dynamic management object you will see a percent_complete column. It will show you approximately (it's not perfect) how much the restore is completed. You also get estimated_completion_time, but I wouldn't count on that (as a matter of fact, it's considered an internal marker and isn't documented within Books Online). Instead, use the total_elapsed_time, start_time and percent_complete to arrive at a finish time.

more ▼

answered Nov 25 '09 at 05:42 PM

Grant Fritchey gravatar image

Grant Fritchey ♦♦
64.9k 13 20 66

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x95

asked: Nov 25 '09 at 05:22 PM

Seen: 469 times

Last Updated: Nov 25 '09 at 05:22 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.