Solved

Howto Bulk restore 500 db MS12

Posted on 2015-01-15
2
41 Views
Last Modified: 2016-05-18
Need to bulk move and restore 500 database to a new MS SQL 2012 sql instance. They are data.bak files.  It seems because of a having a new database server have to restore each one individually. How can restore them all in a bulk on a windows 2012 MS SQL server.
0
Comment
Question by:williamfl
[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
2 Comments
 
LVL 30

Accepted Solution

by:
Rich Weissler earned 500 total points
ID: 40553223
If I understand the question, you already have the databases backed up to .bak files.  Are they all in one file, or in 500 different individual backup files?
I'd be awfully tempted to write a script to generate a TSQL script with the individual restore commands to plug through the restores.  I'd probably use someone else's script as a starting point.  Do you still have access to the old server's master database, so you can at least pull the databases from sys.databases or the equivalent?
0
 
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 40553631
So, you'll have a single instance with 500 databases!?
Consolidation is good but don't exaggerate.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

739 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