?
Solved

restore .bak file with access

Posted on 2006-07-08
1
Medium Priority
?
1,135 Views
Last Modified: 2011-09-20
HI all. I just purchased a new shopping cart.  Our current site is hosted on a shared server.  The hosting company saved my existing db to a .bak file.   The new cart has a web admin section that can import my old sql data directly into the new ms sql tables.  Currently, I have access and the trial version of SQL 7 installed on my xp local computre.  I have downloaded the .bak file onto my local, as well.  My question is how do I create a sql db with the existing .bak file using access or the trial version of sql 7 on my xp computer?

Thanks in advance.
0
Comment
Question by:hologos2357
1 Comment
 
LVL 25

Accepted Solution

by:
jrb1 earned 500 total points
ID: 17066877
I'm not sure about SQL 7.  I'll look back at that version, but here's an explanation:

http://cephas.net/blog/2003/05/14/restoring_a_bak_file_to_a_sql_server_database.html

when restoring a .bak file to a SQL Server database where the .bak file was not originally backed up from, right click --> All Tasks --> Restore Database --> From device --> Select Devices --> Add your .bak file. Click OK. Click the Options tab. Now on the left side you should see the Logical file name of the database from the .bak file. On the right side under the lable 'Move to physical file name', should be the path that the .bak file originally existed as. This field needs to be changed to the path & file name of the database you're restoring too. After modifying those two fields, check the 'Force restore over existing database' and click 'OK'.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question