Re: Login
From: Ed (Ed_at_discussions.microsoft.com)
Date: 08/24/04
- Next message: Hari Prasad: "Re: SQL Server backup question"
- Previous message: Stephen Dybing [MSFT]: "Re: Reporting Services."
- In reply to: Richard Ding: "Re: Login"
- Next in thread: Richard Ding: "Re: Login"
- Reply: Richard Ding: "Re: Login"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 24 Aug 2004 09:25:05 -0700
Richard,
Do you also have any idea about how to restore the Master Database?
What I am planning to do is
1. Backup (Old Server) all the databases (User and System) to a share folder
2. Create each individual user database in New Server
3. Restore each user database and retrive the backup files from the share
folder
4. Restore MSDB, MODEL database
5. Use DTS to transfer all the server log-in to New Server
is there anything wrong on doing this? How about dealing with the Master
Database, it needs to be transfered, too.......
Thank you very much
Ed
"Richard Ding" wrote:
> The way I do when migrate server is to install the SQL server first. then
> use sp_help_revlogin to create all logins on the new server. Next start
> restoring user databases as well as msdb.
>
>
> "Ed" <Ed@discussions.microsoft.com> wrote in message
> news:C385D215-78F3-41BF-92BB-6F5431A1BC44@microsoft.com...
> > Richard,
> > So if i do a server migration, I need to take care of the Server Log-in
> > first or User databases Log-in first or doesn't matter...
> > Thanks again
> > Ed
> >
> > "Richard Ding" wrote:
> >
> > > No that is not correct.
> > >
> > > Server logins are kept in master.dbo.sysxlogins table, or better yet,
> > > syslogins view.
> > > Each database keeps their own user accounts in sysusers table.
> > >
> > > When you move to a new server, you may encounter orphaned users when
> > > restoring databases because the new server SID does not match the source
> > > SID. You can use sp_change_users_login to resync the SID, or use
> > > sp_help_revlogin to script out all logins with their original SIDs and
> run
> > > it to create logins on the new server.
> > >
> > >
> > >
> > >
> > > "Ed" <Ed@discussions.microsoft.com> wrote in message
> > > news:0FA72DC1-AF86-422E-96CA-FCB183B4FE66@microsoft.com...
> > > > Hi,
> > > > I am under the impression that the master database contains all
> log-in
> > > > info for each database, is that correct?
> > > > How about the server log-in? If i need to do the server migration,
> i
> > > need
> > > > to transfer all the server log-in manually (or using DTS Transfer
> log-in
> > > task)
> > > > is that true?
> > > > Thanks a lot
> > > > Ed
> > >
> > >
> > >
>
>
>
- Next message: Hari Prasad: "Re: SQL Server backup question"
- Previous message: Stephen Dybing [MSFT]: "Re: Reporting Services."
- In reply to: Richard Ding: "Re: Login"
- Next in thread: Richard Ding: "Re: Login"
- Reply: Richard Ding: "Re: Login"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|