Re: Move SQL Server to new hardware

From: John Bandettini (JohnBandettini_at_discussions.microsoft.com)
Date: 02/01/05


Date: Tue, 1 Feb 2005 07:35:04 -0800

Randy

In addition you may find these articles useful.

http://www.support.microsoft.com/?id=314546 Moving DB's between Servers
http://www.support.microsoft.com/?id=224071 Moving SQL Server Databases to a
New Location with Detach/Attach
http://support.microsoft.com/?id=221465 Using WITH MOVE in a Restore
http://www.support.microsoft.com/?id=246133 How To Transfer Logins and
Passwords Between SQL Servers
http://www.support.microsoft.com/?id=298897 Mapping Logins & SIDs after a
Restore http://www.dbmaint.com/SyncSqlLogins.asp Utility to map logins to
users http://www.support.microsoft.com/?id=168001 User Logon and/or
Permission Errors After Restoring Dump
http://www.support.microsoft.com/?id=240872 How to Resolve Permission Issues
When a Database Is Moved Between SQL Servers
http://www.sqlservercentral.com/scripts/scriptdetails.asp?scriptid=599
Restoring a .mdf

Hope this helps

John

"Alex" wrote:

> Found this sometime ago. It is from Tibor Karaszi. I have tried it and it
> works, thanks Tibor.
>
> ----------------------------------------------------------------------------------------------------------------
> One method, if you have the same directory structure on the two machines, is
> to install on the new
> machine, stop both SQL Servers and copy over *all* database files (mdf, ndf,
> ldf). After that you
> need to take care of two things (assuming the new machine has different name
> from the old):
>
> 1. The machine name in master..sysservers:
> EXEC sp_dropserver oldname
> EXEC sp_addserver newname, LOCAL
>
> 2. The machine name for your SQL Server agent jobs. Here's my "canned
> response on that":
>
> The old machine name is still in msdb..sysjobs. Since you changed the
> machine name, SQLAgent now
> thinks that this job is owned by a master server. You can change
>
> the machine names for all jobs with below SQL Statement. Warning: Hacking
> system tables is not
> supported and should be done with care (below should be rather
>
> safe, though).
>
> DECLARE @srv sysname
> SET @srv = CAST(SERVERPROPERTY('ServerName') AS sysname)
> UPDATE sysjobs SET originating_server = @srv
>
>
> NOTE:
> If this is a target server (you have jobs sent from a master server), you
> have to exclude them, so
> you don't transfer those jobs into local jobs:
>
> WHERE originating_server = 'oldservname'
>
>
> If you want to do this the supported way, see below KB article
> http://support.microsoft.com/default.aspx?scid=kb;en-us;281642
>
>
> --
> Tibor Karaszi, SQL Server MVP
> -----------------------------------------------------------------------------------------------------------------------------
>
>
>
> "Randy Dalton" <RPDalton@bibb.com> wrote in message
> news:OIpxAuGCFHA.2804@TK2MSFTNGP15.phx.gbl...
> > We need to move SQL to a new server hardware platform. Can you make any
> > suggestions or direct me to the relevent information. We are running
> > SQL2000 on Windows 2000 Advanced Server.
> >
> > Thanks
>
>
>



Relevant Pages

  • Re: SQL 2000 SP4 on 2003 Server - Single User Mode
    ... I found the section where you list the filename to restore to. ... rename the SQL Server the same as what is listed below Courthouse? ... Once you've created your database (simply right click on the Database ...
    (microsoft.public.sqlserver.setup)
  • Re: Two Disaster Recovery Questions
    ... I support the Professional Association for SQL Server ... > recovery site ... > second restore at the recovery site. ...
    (microsoft.public.sqlserver.server)
  • Re: Cant restore master db!!
    ... I tried starting the server as you & Hari instructed; the server started in single user mode. ... the restore has to be issued from the Veritas software interface. ... SQL Server returned the following error message: ...
    (microsoft.public.sqlserver.server)
  • RE: SBS 2003 Unable to connect to database STS_Config
    ... Uninstall the SQL server from the SBS 2k3 server from add/remove programs ... Uninstall Microsoft SQL Server Desktop Engine (SHAREPOINT) ... If AV software install any extra IIS virtual directory, ...
    (microsoft.public.windows.server.sbs)
  • Re: Memory issues with 64-bit SQL Server 2005 on 64-bit Win 2003 C
    ... I also checked the individual patch levels for the .NET drivers, SQL Server ... The SQL Server is fully patched, however Windows Update reported that the OS ... Lock pages in memory -- I guess you might have taken care of it as well. ...
    (microsoft.public.sqlserver.clustering)