How to move the databases that are used by Windows SharePoint Services and by Project Server 2003 to a computer that is running SQL Server (905386)



The information in this article applies to:

  • Microsoft Office Project Server 2003
  • Microsoft Windows SharePoint Services

SUMMARY

To move the databases that are used by Microsoft Windows SharePoint Services and by Microsoft Office Project Server 2003 to a new computer that is running Microsoft SQL Server 2000, you must complete the following tasks:

  • Back up the Windows SharePoint Services database and the Project Server 2003 database on the old computer that is running SQL Server.
  • Restore the Windows SharePoint Services database and the Project Server 2003 database on the new computer that is running SQL Server.
  • Configure Windows SharePoint Services.
  • Configure Project Server 2003 users on the new computer that is running SQL Server.
  • Use the Site Editor utility to modify the name of the new computer that is running SQL Server.

Additionally, this article makes the following assumptions about the new computer that is running SQL Server:

  • SQL Server 2000 is installed and has at least service pack 3a (SP3a) installed.
  • Windows SharePoint Services is installed.
  • Project Server 2003 is installed.

INTRODUCTION

This step-by-step article describes how to move the databases that are used by Windows SharePoint Services and by Project Server 2003 to a new computer that is running Microsoft SQL Server. Use the procedure that is described in this article if one of the following conditions is true:
  • You originally installed Windows SharePoint Services, Project Server 2003, and SQL Server on the same computer. Now, you want to use a remote computer that is running SQL Server for database storage.
  • You originally installed Windows SharePoint Services and Project Server 2003 on one computer and SQL Server on another computer. Now, you want to use a different remote computer that is running SQL Server for database storage.

Back up the databases

Back up the databases that are used by Windows SharePoint Services and by Project Server 2003 on the old computer that is running SQL Server. You must back up the following databases:
  • The Windows SharePoint Services content database

    By default, the name of the content database starts with the letters "STS" and includes the name of the server. For example, the content database may be named STS_ServerName_1.mdf. There may be more than one content database.

    Note You do not have to back up the Windows SharePoint Services configuration database.
  • The database that is used by Project Server 2003

    By default, the name of the database is ProjectServer.
Use the SQL Server backup tools to back up the databases. To do this, follow these steps:
  1. Create a new folder to store the databases that you back up.
  2. Back up the Windows SharePoint Services content database. To do this, follow these steps:
    1. Start SQL Server Enterprise Manager.
    2. Expand Microsoft SQL Servers, expand the server group, expand the appropriate server, and then expand Databases.
    3. Right-click the Windows SharePoint Services database that you want to back up, point to All Tasks, and then click Backup Database.
    4. Under Backup, click Database-complete.
    5. If a path is displayed in the Destination box, click the path, and then click Remove.
    6. Click Add, and then click File name. Specify the location of the folder that you created in step 1 and the file name of the backup file. Use a file name that is the same as the name of the database.
    7. Click OK two times.
    8. Click OK when you receive the message that states that the backup operation completed successfully.
    9. Repeat step 2c to step 2h for each Windows SharePoint Services content database that you want to back up.
  3. Back up the database that is used by Project Server 2003. To do this, follow these steps:
    1. Right-click the Project Server 2003 database that you want to back up, point to All Tasks, and then click Backup Database.
    2. Under Backup, click Database-complete.
    3. If a path is displayed in the Destination box, click the path, and then click Remove.
    4. Click Add, and then click File name. Specify the location of the folder that you created in step 1 and the file name of the backup file. Use a file name that is the same as the name of the database.
    5. Click OK two times.
    6. Click OK when you receive the message that states that the backup operation completed successfully.

Restore the databases

Restore the backed up databases to the new computer that is running SQL Server. Use the SQL Server backup tools to restore the databases. To do this, follow these steps:
  1. Copy the backup files from the old computer that is running SQL Server to a folder on the new computer that is running SQL Server.
  2. Restore the database that is used by Windows SharePoint Services. To do this, follow these steps:
    1. Start SQL Server Enterprise Manager.
    2. Expand Microsoft SQL Servers, expand the server group, and then expand the appropriate server.
    3. Right-click Databases, point to All Tasks, and then click Restore Database.
    4. Click the General tab.
    5. In the Restore as database box, specify the name of the database.
    6. Next to Restore, click From device.
    7. Under Parameters, click Select Devices.
    8. Click Add, specify the name and the location of the backup file in the File name box, and then click OK two times.
    9. Click Restore backup set, click Database-complete, and then click OK.
    10. Click OK when you receive the message that states that the restore operation completed successfully.
    11. Repeat step 2c to step 2j for each Windows SharePoint Services content database that you want to restore.
  3. Restore the database that is used by Project Server 2003. To do this, repeat step 2c to step 2j.

Configure Windows SharePoint Services

You can configure Windows SharePoint Servives on the existing Windows SharePoint server or on a new server. To dothis, follow these steps:
  1. Create a new configuration database. To do this, follow these steps:
    1. Start SharePoint Central Administration.
    2. Under Server Configuration, click Set configuration database server.
    3. On the Set Configuration Database Server page, specify the name of the server in the Database server box. Then, type the name that you want for the new configuration database in the SQL Server database name box.
    4. Under Database connection type, click SQL authentication (less secure), and then type the user name and the password of the appropriate SQL Server user account.
    5. Click OK.
  2. Extend the Default Web Site, create a content database, and then add the content database that you restored to the virtual server. Then, remove the content database that was created when you extended the Default Web Site. To do this, follow these steps:
    1. Extend the Default Web Site, and then create a content database. To do this, follow these steps:
      1. Under Virtual Server Configuration on the Windows SharePoint Services Central Administration page, click Extend or upgrade virtual server.
      2. On the Virtual Server List page, click Default Web Site.
      3. In the Provisioning Options area of the Extend Virtual Server page, click Extend and create a content database.
      4. In the Application Pool area, click Create a new application pool, and then type a name for the application pool. Click Predefined, and then click Network Service.
      5. In the Site Owner area, specify the user name and the e-mail address of the site owner.
      6. In the Database information area, click to clear the Use default content database server check box. Type a name for the content database in the Database name box, and then type the user name and the password of the appropriate SQL Server user account in the Database account user name and Database account password boxes.

        Note Make sure that the name that you use for this content database is different from the name of the content database that you restored from backup.
      7. Click OK, and then click OK on the Virtual Server Successfully Extended page.
    2. Add the content database that you restored from backup. To do this, follow these steps:
      1. Under Virtual Server Management on the Virtual Server Settings page for the Default Web Site, click Manage content databases.
      2. Under Content Databases, click Add a content database.
      3. In the Database Information area of the Add Content Database page, click Specify database server settings.
      4. Type the name of the server in the Database server box.
      5. Type the name of the content database that you restored from backup in the Database name box. Then, type the user name and the password of the appropriate SQL Server user account in the Database account user name and Database account password boxes.
      6. In the Database Capacity Settings area, type the number that you want in the Number of sites before a warning event is generated box. Then, type the number that you want in the Maximum number of sites that can be created in this database box.
      7. Click OK.
    3. Remove the content database that was created when you extended the Default Web Site. To do this, follow these steps:
      1. Under Virtual Server Management on the Virtual Server Settings page for the Default Web Site, click Manage content databases.
      2. Click the content database that was created when you extended the Default Web Site.
      3. In the Database Information area, type the user name and the password of the appropriate SQL Server user account in the Database account user name box.
      4. In the Remove Content Database area of the Manage Content Database Settings page, click to select the Remove content database check box, and then click OK two times.

Configure Project Server 2003 user accounts

To configure Project Server 2003 user accounts on the new computer that is running SQL Server, follow these steps
  1. Start SQL Server Enterprise Manager.
  2. Delete the MSProjectServerUser user account and the MSProjectUser user account from the restored ProjectServer database. To do this, follow these steps:
    1. Expand Microsoft SQL Servers, expand SQL Server Group, expand the appropriate server, and then expand Databases.
    2. Expand the ProjectServer database.
    3. Click Users.
    4. Right-click MSProjectServerUser, click Delete, and then click Yes to confirm the deletion.
    5. Right-click MSProjectUser, click Delete, and then click Yes to confirm the deletion.
  3. Create a new MSProjectServerUser user account and a new MSProjectUser user account. To do this, follow these steps:
    1. Right-click User, and then click New Database User.
    2. In the Login name box, click MSProjectServerUser.
    3. Under Database role membership, click to select the MSProjectServerRole check box, and then click OK.
    4. Right-click User, and then click New Database User.
    5. In the Login name box, click MSProjectUser.
    6. Under Database role membership, click to select the MSProjectRole check box, and then click OK.
    7. Quit SQL Server Enterprise Manager.

Use the Site Editor utility to modify the name of the new computer that is running SQL Server

To use the Site Editor utility to modify the name of the new computer that is running SQL Server, follow these steps:
  1. Download the Site Editor utility (Editsite.exe). To do this, visit the following Microsoft Web site:
  2. Run the Site Editor utility on the computer that is running Project Server 2003.
  3. Type the name of the new computer that is running SQL Server in the SQL Server box, and then click Save.
  4. Click Yes, and then click OK.
  5. Click Exit.

REFERENCES

For more information about how to back up and restore a Project Server database, click the following article number to view the article in the Microsoft Knowledge Base:

323330 How to back up, schedule, and restore a Microsoft Project Server database

For more information about how to install Project Server 2003, see the Project Server 2003 Installation Guide. To obtain the Project Server 2003 Installation Guide, visit the following Microsoft Web site: For more information about how to administer and configure Project Server 2003, see the Project Server 2003 Administrator's Guide. To obtain the Project Server 2003 Administrator's Guide, visit the following Microsoft Web site: For more information about the EditSite tool for Project Server 2003, visit the following Microsoft Web site: For more information about how to manage Windows SharePoint Services, see the Windows SharePoint Services Administrator's Guide. To obtain the Windows SharePoint Services Administrator's Guide, visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:9/22/2005
Keywords:kbHOWTOmaster kbConfig kbhowto KB905386 kbAudITPRO