Re: Change server, maintain the users.....
From: Hari (hari_prasad_k_at_hotmail.com)
Date: 03/07/04
- Next message: Tibor Karaszi: "Re: Change server, maintain the users....."
- Previous message: Guy Hocking: "Re: Displaying data to 2 decimal points"
- In reply to: Daniel W: "Change server, maintain the users....."
- Next in thread: Ray Higdon: "Re: Change server, maintain the users....."
- Reply: Ray Higdon: "Re: Change server, maintain the users....."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Mar 2004 02:16:49 +0530
Hi,
Best and Fast approach to do this is ,
1. Create the same directory structure (for mdf and ldf) in the new server
(Same as old server)
2. Stop sql server in both servers.
3. Copy all the MDF files and LDF files (Including System databases) to new
server
4. Start the new SQL Server and login to Query analyzer (SA password will be
same as old server)
5. Execute the below script
sp_dropserver <OLD_SQLSERVER>
go
sp_addserver <NEW_SQLSERVER>,LOCAL
6. Stop and start SQL server service
Now you will have all the databases online with all the Logins as same.
Note:
Before doing the above steps ensure that service packs are same in both
servers (Ideally 3 a)
Thanks
Hari
MCDBA
"Daniel W" <daniel.wilen@donot_imano_spam.se> wrote in message
news:D7F2E2BF-3481-44F2-BCB5-91CD6B7FDF38@microsoft.com...
> Hi,
> We just baught a new server with more power.
> The old one has SQL 2000 and the new one will have it to. All databases
and jobs will be transfered to the new server. We will load the databases
from last dump.
> My concern is about the database logins, users and groups. How can I be
sure that all the objects will work with the correct pid? I will not load
the old masterdatabase into the new server.
>
> Someone?
>
> Regards,
> /Daniel
- Next message: Tibor Karaszi: "Re: Change server, maintain the users....."
- Previous message: Guy Hocking: "Re: Displaying data to 2 decimal points"
- In reply to: Daniel W: "Change server, maintain the users....."
- Next in thread: Ray Higdon: "Re: Change server, maintain the users....."
- Reply: Ray Higdon: "Re: Change server, maintain the users....."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|