Last Restore

Here’s a handy query to list the latest restores on a server …

Select destination_database_name, convert(varchar(20), max(restore_date),113) last_restore
from msdb.dbo.restorehistory
group by destination_database_name

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s