Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2002
    Posts
    32

    Unanswered: Moving MSDB from SQL 2005 to SQL 2008

    We are in the process of moving our SQL 2005 environment to SQL 2008 in brand new boxes; we are planning to do a restore of full backups to copy the DBs, but one of our main concerns is what the best approach is to move the information in MSDB (jobs, SRS scheduled subscriptions, SSIS packages, etc) from SQL 2005 to SQL 2008.

    - Can we do a restore of MSDB?
    - Should we just script all jobs including SRS?

    Any ideas would be gratly appreciated.

  2. #2
    Join Date
    Sep 2011
    Posts
    31
    - Can we do a restore of MSDB?
    No
    - Should we just script all jobs including SRS?
    Yes. Script out all jobs and apply the script on the 2008 server.

  3. #3
    Join Date
    Sep 2011
    Posts
    71
    There are several options if one wishes to move a database from a SQL Server 2005 to SQL 2008 Server. First of all there is a 'Copy Database Wizard' in SQL 2008 Server which is meant for transferring a database from any version of SQL Server 2000 and above to 2008 version. This Wizard can operate in two ways. In the first option it can attach a database (even one on the network) and uses the SQL 2008 SQL Server agent. The Copying of the database is implemented by an Integration Services package to run as a SQL Server Agent job that is scheduled to run immediately or according to some configurable schedule. This will therefore depend on correctly configuring the SQL Server Agent. In order to use the attach / detach process, the remote server will be stopped and if the database / log files are on a shared drive they are correctly brought in by the wizard. In the other option the database will be copied using the SQL Server Management Program for which the source database need not be stopped. However this is slower than the previous method and would also require the SQL Server Agent since a package has to be run.

    An option which works without too much hassles is manually detaching and attaching the database/log files. In this step-by-step (really two steps) tutorial, this simple procedure is described. If you are just interested in taking a small database from 2005 to 2008 server the author strongly recommends this procedure.

    Interested readers may also want to read my other popular article Moving Data from SQL Server 2000 to SQL Server 2005Moving Data from SQL Server 2000 to SQL Server 2005 - ASP Free

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •