Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

restore 6.5 database from .dat data file

Status
Not open for further replies.

chasdf

MIS
Jan 7, 2004
3
US
Is there any way to take the .dat data file (not dump file) and restore a database within SQL 6.5?

Any help is appreciated!
 
I am assuming the .dat file is also a 6.5 file?

Thanks

J. Kusch
 
Use the DISK REINIT and DISK REFIT commands. These are also
documented in Books Online.

An alternative for SQL 6.5 is ...

Stop SQL Server

Backup/copy the original .dat files on the target server, if any

Start SQL Server

Drop any databases and devices you want to recover, and delete the associated physical files

Create new devices/databases the right size, with the right names and in the right order

Stop SQL Server

Copy the original .dat files over the newly re-created ones

Start SQL Server


Thanks

J. Kusch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top