Restore History - Time taken for the restores

  • Hello,

    I got a requirement from the client asking for database restore duration's for the last couple of months. I can figure out all the information from restorehistory table except the restore times. Can anyone help me with this?

    Thanks,

    Nick

  • You could get that information from the default trace that is running on your server. You should have a trace running with the ID = 1 and it should capture the command 'RESTORE DATABASE %'.



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • Thanks Keith for the reply.

    I tried querying the default trace log but endtime column only has null values. I have the start time but no data in the endtime. Am I missing something?

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply