Solved

SQL Migration - How to Transfer Logins?

Posted on 2012-12-22
2
501 Views
Last Modified: 2012-12-23
Original: Server 2008 x86 with one instance (default) on SQL Server 2008 and the rest on SQL Server 2008R2.

New: Server 2008R2 x64 with all instances on SQL Server 2008R2.

Process: Closed all active connections to all databases on all instances and took SQL backups of every database. Then proceeded to take a block level backup via our CDP server of all partitions. Proceeded then to migrate the server from physical to virtual to our ESXi 5.1 host for comparison purposes. Next we deleted the arrays off the physical server, created new, installed Windows Server 2008R2, updated, installed SQL Server 2008R2 and created the new instances from scratch. We then detached all databases from the old SQL server that is running on the VM (and closed to outside connections) and transferred all .mdf and .ldf data to the new server. We then attached the databases and logfile to the instances on the new server.

Problem: I see that each database carried over the security logins, but the logins at the instance level are not present. Logging into the database (i.e. via GP Dynamics) states that the login does not exist. I don't want to zero out the passwords, nor delete and recreate the user logins. Is ther anyway to carry all login information over, preservering/transpiring the unique identifiers so that come Monday morning all users can login as usual?
0
Comment
Question by:Tercestisi
2 Comments
 
LVL 42

Accepted Solution

by:
EugeneZ earned 500 total points
ID: 38716497
please try the detailed instruction:


How to transfer logins and passwords between instances of SQL Server

http://support.microsoft.com/kb/918992
0
 

Author Comment

by:Tercestisi
ID: 38716504
Thanks.

That's exactly what I just did and it worked fine (I was thrown off by the description of "Method 3: Create a log in script that has a blank password").
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

785 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