SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 restore database to a different server
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

stegib
Starting Member

USA
16 Posts

Posted - 08/14/2012 :  13:03:27  Show Profile  Reply with Quote
I have a standalone SQL 2000 server. I want to take that database and move it to a SQL 2000 Cluster server with a different database name and server name. How can I do this and still keep all the SQL maintenance plans?

Edited by - stegib on 08/14/2012 13:06:16

nigelrivett
Flowing Fount of Yak Knowledge

United Kingdom
3328 Posts

Posted - 08/14/2012 :  13:14:06  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
The maintenance plans probably have a fixed connections if they are DTS so will need to be changed or rebuilt.
They need to be designed to take the database and server as parameters so they can be moved easily.
It's usually pretty easy to build a stored procedure that takes the database name and/or server name as parameters.

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

stegib
Starting Member

USA
16 Posts

Posted - 08/14/2012 :  13:38:15  Show Profile  Reply with Quote
quote:
Originally posted by nigelrivett

The maintenance plans probably have a fixed connections if they are DTS so will need to be changed or rebuilt.
They need to be designed to take the database and server as parameters so they can be moved easily.
It's usually pretty easy to build a stored procedure that takes the database name and/or server name as parameters.

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.



Ok, I understand and thought I would have to rebuild the procedures anyway. What are the steps to move the databases?
Go to Top of Page

stegib
Starting Member

USA
16 Posts

Posted - 08/15/2012 :  11:38:32  Show Profile  Reply with Quote
Can some one explain the procedure in moving the databases? I am very new to this.
Go to Top of Page

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

USA
6997 Posts

Posted - 08/15/2012 :  15:15:10  Show Profile  Reply with Quote
1. Backup the database on the old server to a file.
2. Restore the database on the new server with the new database name from the backup file from step 1.



CODO ERGO SUM
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
1769 Posts

Posted - 08/16/2012 :  01:53:03  Show Profile  Visit jackv's Homepage  Reply with Quote
It's possible the drive layout is different on the new server. So you may need to relocate the files on the RESTORE.

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000