[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SQL Migration - How to Transfer Logins?

Posted on 2012-12-22
2
Medium Priority
?
514 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 43

Accepted Solution

by:
Eugene Z earned 2000 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

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how the fundamental information of how to create a table.
Suggested Courses

834 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