Solved

restore .bak file with access

Posted on 2006-07-08
1
1,105 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 125 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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 INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

762 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now