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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

please help: restore database

Status
Not open for further replies.

smsinger3

Programmer
Oct 5, 2000
192
US
Hello all. I am having a hard time restoring a database in SQL Server 7. I do a full backup of a database on one prodution server, then copy that backup file to another test server and try to restore it. I get an error saying that I don't have enough room to restore the database. I believe it's also trying to restore the transaction log along with the free space that it has allocated. The transaction log is only 33mb, but the transaction log free space is 1.5gb (huge!). I would have plenty of space if all the transaction log free space was not allocated! I don't need all this free space because all I'm doing is running queries against the new database. Is there a way to restore only the data and not the log?

Thank you in advance for your help!

Steve
sms@hmbnet.com
 
Try using the FILE= option of the RESTORE command to do a file restore rather than a pure database restore. Robert Bradley
teaser.jpg

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top