Solved

Question on Microsoft SQL -Restoring a Database

Posted on 2014-04-26
8
278 Views
Last Modified: 2014-04-26
Hi Experts.

I have a backup of a Windows SBS 2011.  I can mount the drive and view the files.  I have an MSSQL database called My_Clients.  Outside of the existng server backup, there is no mssql  backup of this DB.  I cannot restore the server immediately.  
Can I find the physical location of this DB, copy it to another SQL instance to access the tables?  Can I restore this alone? What are your suggestions? Thank you
0
Comment
Question by:freshfordian
  • 5
  • 3
8 Comments
 
LVL 1

Author Comment

by:freshfordian
ID: 40024287
Additional comment: We were using SQL Express 2008.
0
 
LVL 33

Expert Comment

by:ste5an
ID: 40024494
Well, you can copy the My_Clients.mdf and My_Clients.ldf files to a new location and attach it to a new SQL Server instance. Do this in SSMS with the T-SQL method as show in the BOL article.
0
 
LVL 1

Author Comment

by:freshfordian
ID: 40024614
Forgive me. Relatively new to this. What is SSMS t-sql , BOL article? Thank you
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 33

Accepted Solution

by:
ste5an earned 500 total points
ID: 40024623
SSMS is the SQL Server Management Studio. When it's not installed with your SQL Server 2008 Express instance, then you can download and install it from: Microsoft® SQL Server® 2008 Management Studio Express.

BOL is Books Online. The online help articles on MSDN. See the link I've already posted.

T-SQL is Transact SQL, the SQL dialect used by SQL Server.
0
 
LVL 1

Author Comment

by:freshfordian
ID: 40024624
I have downloaded Microsoft SQL EXPRESS 2008  with the management tools and this is now running on my windows  7 pc. I have also copied over the mdf and ldf files as youc advised.   Am I ok thus far?
0
 
LVL 33

Expert Comment

by:ste5an
ID: 40024640
Yup. Copy the files in the default folders. This should be C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA. Then use the attach command from the linked article.
0
 
LVL 1

Author Comment

by:freshfordian
ID: 40024661
Thank you. That worked a treat. One final question. Is it possible to view records from within Management Studio?
0
 
LVL 1

Author Comment

by:freshfordian
ID: 40024694
Forget last question.  I ran a query that answers the question.  Thank you again for your help
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

813 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

11 Experts available now in Live!

Get 1:1 Help Now