Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 SQL 2005 Mirroring

Author  Topic 

stumbling
Posting Yak Master

104 Posts

Posted - 2009-10-21 : 01:25:32
Hi there another question sorry.

If i am configuring a mirrored environment with a witness server how can i export SQL users and permissions from the Principal 2005 server and import them to the Mirror 2005 server? I remember doing this in SQL 2000 a long time back via script and hope there is a way to do this in SQL 2005.

Cheers

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-10-21 : 01:52:11
Here's what I use (and wrote): http://weblogs.sqlteam.com/tarad/archive/2008/06/24/How-to-transfer-SQL-logins-between-SQL-Server-2005-instances.aspx

We manually failover to the mirror server at least twice a year to test out our failover capabilities to the disaster recovery site. I use that script each time. Let me know if you run into any issues with it. I know I made a recent change to it during our last failover test. I can't remember if I updated the blog post with the code change. I last ran it in August.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

stumbling
Posting Yak Master

104 Posts

Posted - 2009-10-21 : 17:21:31
Hi after searching for over an hour thru old saved SQL websites on my pc i finally found the link i once used on SQL2000 and it appears valid for 2000 but not 2005.
http://support.microsoft.com/kb/246133/

So i will have aread of there 2005 method and also yours, thanks for the response.

Cheers
Go to Top of Page

stumbling
Posting Yak Master

104 Posts

Posted - 2009-10-21 : 20:18:44
One question you may be able to answer is "Is there any issue in using SQL Express as the witnes in your opinion?"

Cheers
Go to Top of Page
   

- Advertisement -