Jim P.
asked on
Disaster Recovery Planning -- Migrating Logins
We are in the process of upgrading to SQL 2K5 from 2K.
Our DR plan is such that we take our 2 production SQL servers and combine them into 1 DR SQL Server. One of them becomes the master and then we attach the other databases. I was copying the sysxlogins /syslogins from SQL_2 to a DR info DB and then could import that into the master on SQL_1 at the DR site.
Withe the change that you can no longer touch the system tables, I'm going to have to resort to using the sp_help_revlogin (http://support.microsoft.com/kb/918992/) to transfer users.
What I'm looking for is some way to write the output to a table in a database other than master or to a text file using a SQL agent job or scheduled task.
Any ideas?
Our DR plan is such that we take our 2 production SQL servers and combine them into 1 DR SQL Server. One of them becomes the master and then we attach the other databases. I was copying the sysxlogins /syslogins from SQL_2 to a DR info DB and then could import that into the master on SQL_1 at the DR site.
Withe the change that you can no longer touch the system tables, I'm going to have to resort to using the sp_help_revlogin (http://support.microsoft.com/kb/918992/) to transfer users.
What I'm looking for is some way to write the output to a table in a database other than master or to a text file using a SQL agent job or scheduled task.
Any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
By the way, you can use a UNC path in the Output file, so this could write the file straight to the DR server.
ASKER
>> so this could write the file straight to the DR server.
We replicate our SAN LUNS. Effectively, my data drives from production are mounted against the DR system. Actually, that is how we do our backups. We mount the LUNS and then back them up.
I will put that into test. Give me a day and I'll award points.
We replicate our SAN LUNS. Effectively, my data drives from production are mounted against the DR system. Actually, that is how we do our backups. We mount the LUNS and then back them up.
I will put that into test. Give me a day and I'll award points.