Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
vgr.raju
Yak Posting Veteran
95 Posts |
Posted - 2007-08-31 : 13:27:19
|
HI, We get our Database restored regularly in our test enviornment.I am trying to find out the Database Backup Time stamp through system tables and I am not able find .If you guys know ,please let me know.Thanks,RajuThanks!Rajuhttp://rajusqlblog.blogspot.com/ |
|
Zoroaster
Aged Yak Warrior
702 Posts |
Posted - 2007-08-31 : 13:56:37
|
quote: Originally posted by vgr.raju HI, We get our Database restored regularly in our test enviornment.I am trying to find out the Database Backup Time stamp through system tables and I am not able find .If you guys know ,please let me know.Thanks,RajuThanks!Rajuhttp://rajusqlblog.blogspot.com/
USE MSDB SELECT * FROM BackupsetThere is a backup_start_date and backup_finish_date in there./*-----------------------Words are but constrained thoughts.------------------------*/ |
|
|
vgr.raju
Yak Posting Veteran
95 Posts |
Posted - 2007-08-31 : 14:17:37
|
Thanks for the Reply.I think I did not make my question clear.Different Team restores the Databases in our Test Server from Backups they get from Production.I am trying to figure out the timestamp of the Backup from Production.Is there any system tables which keeps track of of the Backup files timestamp values while it restores the backups?Thanks,RajuThanks!Rajuhttp://rajusqlblog.blogspot.com/ |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-08-31 : 15:07:49
|
Sql keeps backup history but not restore ones. |
|
|
Haywood
Posting Yak Master
221 Posts |
Posted - 2007-08-31 : 16:47:51
|
RESTORE HEADERONLY will give you the details you want. |
|
|
PeterNeo
Constraint Violating Yak Guru
357 Posts |
|
Kristen
Test
22859 Posts |
|
Kristen
Test
22859 Posts |
Posted - 2007-09-01 : 05:08:16
|
"I am trying to figure out the timestamp of the Backup from Production"I wonder if MSDB holds that, once a Backup file (i.e. copied from "somewhere else") has been restored?See the link to Restore History I posted above.Otherwise I reckon you are going to have to update some Date/Time Stamp value in the Source database periodically, so that it can be "retrieved" on the Restored siteKristen |
|
|
|
|
|