how to find when last restore was done in SQL