?
Solved

SQL 2008 users migration

Posted on 2013-01-04
5
Medium Priority
?
337 Views
Last Modified: 2016-02-11
I have to move a database server running SQL 2008 to a new hardware server what is the best process to import all users and configs to the new server. the database on the server will be moved by moving the files and reattaching the DB, however before I do this I want to restore a backup on the new server and test functionality with things like report services that uses IIS site for reports and so on. I would like to make sure I have all the required users imported and any configs from the current production system.
0
Comment
Question by:atorex
[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
5 Comments
 
LVL 12

Expert Comment

by:ibrahim52
ID: 38744020
Simply just move .mdf & log file to the new server but just make sure of SQL Server edition, it should be similar on your new server as well.
0
 

Author Comment

by:atorex
ID: 38744052
Are you saying that the production MDF/LDF will contain all users for that SQL server?
is there a way I can import users for testing as I cant copy the current mdf during operations and due to size cant take the server down multiple times for the time I will need to copy.
0
 
LVL 22

Expert Comment

by:Steve Wales
ID: 38744157
Just moving the mdf/ldf of your user database will move the users of the database, but not the instance logins.

To move your instance logins, Microsoft has a KB article explaining exactly how to do it:
http://support.microsoft.com/kb/918992

However, after doing that, you will likely have a disconnect between logins and users.

Fixing orphaned users is detailed here:
http://msdn.microsoft.com/en-us/library/ms175475.aspx

I recently had to move a bunch of databases between servers.  After installing SQL Server on the new machine, I recreated my logins, restored the databases from backups taken on the source machine and fixed my orphaned users and everything came up fine.
0
 

Author Comment

by:atorex
ID: 38744191
I have a restore running now, I will follow the provided steps and see what I come up with.
my only user concern is a user IIS uses to retrieve reporting data these reports have to be done each day for upper management and I want to make double sure it will work, thats why I'm a little freakish about it.
0
 
LVL 21

Accepted Solution

by:
Alpesh Patel earned 2000 total points
ID: 38749965
using the SSIS you can move lot of SQL Objects like Database, Logins, Error Log, SQL Jobs, System Master SPs etc.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Suggested Courses

762 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