Results 1 to 6 of 6

Thread: Restoring Master and MSDB to a new server

  1. #1
    Join Date
    Nov 2002
    Posts
    261

    Restoring Master and MSDB to a new server

    I have a server attached to a SAN, all user db's are on the SAN, master, tempdb, and msdb are on the local machine. We will be replacing the machine (not the SAN) to a newer sql server. Our plan was to create the new server with same name, deattach current user db's,backup master and msdb, then connect new server with same name an IP to SAN. I then wanted to restore the master and msdb db's to the new machine, and attach the user db's. We are running log shipping to a stand-by server in this configuration. I was thinking I could let last tran log backup and copy occur, and then let the last restore happen on the standby. I would then shut down the agent. Should I not be able to restore the MSDB and master to the new server (as long as all file folder locations are the same) and be ready to go? Or are there issues when restoring the Master and MSDB to a new server from a different server.

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    Books online provides all the steps necessary to do this. Since master database is used when sql server starts, you can restore it as other databases. You have to start in single user mode from command line then do the restore.

    Similarly you have to stop sql server agent to restore msdb.

  3. #3
    Join Date
    Sep 2002
    Posts
    5,938
    If new server has same sql version and in same sp level with old one, you can copy master and msdb files from old server to replace them on new server.

  4. #4
    Join Date
    Nov 2002
    Posts
    261
    Just copy over the mdf files?

  5. #5
    Join Date
    Sep 2002
    Posts
    5,938
    With all .ldf files.

  6. #6
    Join Date
    Nov 2002
    Posts
    261
    Thanks, that'll work

Posting Permissions

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