Solved

How to restore database while installing SQL Server 2008 R2 using IS 2010 Ver16

Posted on 2015-01-31
2
127 Views
Last Modified: 2015-02-07
I have completed a self install of SQL server 2008 R2 using Install Shield 2010 Ver 16.  Works 100%.  Now I would like to have it restore a database whilst doing the SQL install.
I don't seem to be able to find where in IS that I can tell SQL to restore the database at the end on the install.
0
Comment
Question by:weeph
2 Comments
 
LVL 9

Accepted Solution

by:
Benjamin MOREAU earned 500 total points
ID: 40581815
If I understand well, you want to automate the SQL Installation and the database restore.

I think you can use Powershell to do that; it will be the better solution.

Read this (good) article for more information : http://www.codeproject.com/Articles/110908/SQL-DB-Restore-using-PowerShell
0
 

Author Closing Comment

by:weeph
ID: 40595992
Thanks for that. Worked well
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

839 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