If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > sqlserver , restore , Backup

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-27-10, 03:59
SaranSaki SaranSaki is offline
Registered User
 
Join Date: Aug 2010
Location: Madurai
Posts: 3
Post sqlserver , restore , Backup

Hi,
I want to check the database before restore (.Bak file).
Chk the current database tables Vs tht backup file..
Is it possible..
Reply With Quote
  #2 (permalink)  
Old 08-27-10, 04:44
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Depends what you mean by "check". Also the format of your file affects your options.
Most technically simple is restore the backup under a differently named database and run whatever checks you need.
If it is a native backup, or is one supported by the respective vendors, then several vendors supply software that allows you to link to a backup file and access it like a normal database without actually restoring it. Again, you can apply your tests
__________________
Testimonial:
Quote:
pootle flump
ur codings are working excelent.
Reply With Quote
  #3 (permalink)  
Old 08-30-10, 05:05
SaranSaki SaranSaki is offline
Registered User
 
Join Date: Aug 2010
Location: Madurai
Posts: 3
thanks Flump...
Check Means ..
I want to compare the current db table structure Vs Already backup file..
If any changes means i dont want to restore ..
else I want to restore the db

I hope u understand..

Thanks
Reply With Quote
  #4 (permalink)  
Old 08-31-10, 10:10
rdjabarov rdjabarov is offline
Registered User
 
Join Date: Jul 2003
Location: San Antonio, TX
Posts: 3,611
Restore with a different name and run SQLCompare (red-gate) or VS2008.
__________________
"The data in a record depends on the Key to the record, the Whole Key, and
nothing but the Key, so help me Codd."
Reply With Quote
Reply

Tags
backups, restore, sqlserver

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On