Solved

SQL Migration - How to Transfer Logins?

Posted on 2012-12-22
2
492 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
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.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how the fundamental information of how to create a table.

746 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now