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, 2009 at 05:22 PM in Default

Steve Jones - Editor gravatar image

Steve Jones - Editor ♦♦
5.1k 78 79 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, 2009 at 05:42 PM

Grant Fritchey gravatar image

Grant Fritchey ♦♦
103k 19 21 74

(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



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Nov 25, 2009 at 05:22 PM

Seen: 683 times

Last Updated: Nov 25, 2009 at 05:22 PM