?
Solved

Howto Bulk restore 500 db MS12

Posted on 2015-01-15
2
Medium Priority
?
43 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 2000 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 51

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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
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…
Viewers will learn how the fundamental information of how to create a table.
Suggested Courses

777 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