Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Local copy of DB on SQL Server 2005

Posted on 2011-03-17
5
Medium Priority
?
358 Views
Last Modified: 2012-05-11
How do I make a local C drive copy of my DB that is currently on a SQL Server 2005? Then I also need a local SQL Server running on my PC.  I would then need to relink my Access 2007 front-end to it to get everything running.
0
Comment
Question by:schmir1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:EL_Barbado
ID: 35162756
This is a very broad question. Can you be more specific?
0
 

Author Comment

by:schmir1
ID: 35181885
Let's start with this.
How do I make a local C drive copy of my DB that is currently on a SQL Server 2005?  
  Meaning how to I take all my tables that are in my DB on the SQL Server and copy them into a SQL Server running on my PC.

Second part it how is how to I install SQL Server 2005 onto my PC.  I know Microsoft use to give disks out that did this but mine is old (SQL Server 2000).
0
 

Author Comment

by:schmir1
ID: 35211133
What do you think El Barbado?
0
 
LVL 2

Accepted Solution

by:
EL_Barbado earned 2000 total points
ID: 35211438
There is a free version of MS SQL Server called SQL Server 2005 Express. If you dont currently have SQL Server installed on your local machine you can download it here:
http://www.microsoft.com/sqlserver/2005/en/us/express.aspx

You can also download the free Management Studio here if you do not already have it:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796&DisplayLang=en

To transfer the database from one server to another you first need to make a backup of that particular database.

1.To make a backup you have to open Mangement Studio and Connect to the server where the database currently is.
2 Expand the Databases folder and right-click on the database that you want to backup.
3. Select Tasks -> Backup
4. On the General Page, Leave all the defaults except for the section under Destination. Change the destination to a directory and file name on the server that you have access to. This is where your backup file will be created.
5. Press OK

Next:
Transfer the physical .bak backup file to your local machine from the Server directory where you backed it up to (Preferably in the MSSQL\Backup folder on your hard drive)

To restore a full database backup

   1.After you connect to the appropriate instance of the Microsoft SQL Server Database Engine, in Object Explorer, click the server name to expand the server tree.
   2. Right-click on Databases and select Restore Database
   3.  Type in a name for your database.
   4. Select From Device and click on the button to the right with the "..." as the text.
   5. Make sure it says "File" for Backup Media
   6. Click Add.
   7. Navigate the directory stucture to find the backup .bak file that you transfered from the original server and select it.
   8. Click Ok.
   9. Check the Restore Field check box under "Backup Sets to Restore" section of the Restore Database Dialog.
Click Ok

This should do it.

0
 

Author Closing Comment

by:schmir1
ID: 35211853
Thanks for the details.
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

722 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