Microsoft KB Archive/827701

= How to perform a disaster recovery operation of Windows SharePoint Services 2.0 Companyweb and Windows SharePoint Services 2.0 databases =

Article ID: 827701

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition
 * Microsoft Windows SharePoint Services 2.0

-





SUMMARY
This article describes how to restore the Microsoft Small Business Server 2003 Windows SharePoint Services 2.0 databases on a new server as part of a disaster recovery operation.

Prerequisites
You must follow the steps in this article when you cannot restore the system state on the original server from a backup. For these steps to work, the new server must have the same domain name as the original server where the backup of the database and the backup of the log files were performed. The required database and logs files are as follows:
 * STS_Config.mdf
 * STS_Config_log.ldf
 * STS_Servername_1.mdf
 * STS_Servername_1_log.ldf

Before you can start to restore the Windows SharePoint Services 2.0 databases, all the following criteria must be met:
 * Microsoft Small Business Server 2003 with the intranet component is installed.
 * The Windows SharePoint Services 2.0 Companyweb Web site must be working with a new, unmodified database.
 * The Windows SharePoint Services 2.0 Companyweb Web site must be accessible (http://companyweb).

Restore the Small Business Server 2003 Windows SharePoint Services 2.0 databases
The steps in this section describe how to restore the Small Business Server 2003 Windows SharePoint Services 2.0 databases. This section includes steps to restore any additions that are made to the default Windows SharePoint Services 2.0 installation. This includes any top-level SharePoint sites that must be created and additional data files. Specifically, you must follow the steps in this section that start with ** to restore any additions that are made to the default Windows SharePoint Services 2.0 installation. If you want to restore only the default SharePoint databases without any modifications, you can safely ignore the steps that start with **.  Verify that Windows SharePoint Services 2.0 Companyweb Web site (http://companyweb) is accessible. **Create any additional top-level Web sites that existed on the old server with Microsoft Internet Information Services (IIS). These Web sites are located outside the top-level SharePoint site of the Companyweb virtual server. **Create DNS host records for any additional, top-level SharePoint sites that existed on the old server. Stop the MSSQL$SharePoint service. To do this, follow these steps:  Click Start, click Run, type cmd, and then click OK. At the command prompt, type net stop mssql$sharepoint, and then press ENTER. To close the Command Prompt window, type exit, and then press ENTER.</li></ol> </li> Make a backup of the \Program Files\Microsoft SQL Server\MSSQL$SharePoint\Data folder.</li> Restore only the configuration and the content databases to \Program Files\Microsoft SQL Server\MSSQL$SharePoint\Data. Specifically, restore the following configuration files and databases: <ul> STS_Config.mdf</li> STS_Config_log.ldf</li> STS_Servername_1.mdf</li> STS_Servername_1_log.ldf</li></ul>

Note Do not restore any other default files such as the Master.mdf file or the Model.mdf file.</li> **If you created any additional content databases, restore them to the \Program Files\Microsoft SQL Server\MSSQL$SharePoint\Data folder.</li> Start the MSSQL$SharePoint service. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type cmd, and then click OK.</li> At the command prompt, type net start msql$sharepoint, and then press ENTER.</li> To close the Command Prompt window, type exit, and then press ENTER.</li></ol> </li> If you try to access the Companyweb Web site, its subwebs, or any other top-level SharePoint Web sites, you may receive one or more of the following error messages:

Message 1

The virtual server that is referenced here is not in the config database.

Message 2

The page cannot be found

Message 3

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Message 4

HTTP 400 - Bad Request Internet Explorer

</li></ol>

Remove Small Business Server 2003 Windows SharePoint Services 2.0 from Companyweb
Before you can access the restored Companyweb Web site, you must first remove Windows SharePoint Services 2.0 from the Companyweb virtual server, and then re-extend the Companyweb virtual server by using Windows SharePoint Services 2.0. To remove Windows SharePoint Services 2.0 from Companyweb, follow these steps: <ol> Click Start, point to Administrative Tools, and then click SharePoint Central Administration.</li> Under Virtual Server Configuration, click Configure virtual server settings.</li> On the Virtual Server List page, click companyweb.</li> Under Virtual Server Management, click Remove Windows SharePoint Services from virtual server.</li> <li>On the Remove Windows SharePoint Services from Virtual Server page, click Remove without deleting content databases, and then click OK. You receive the following error message:

The virtual server that is referenced here is not in the config database.

</li></ol>

Extend the Companyweb virtual server to Small Business Server 2003 Windows SharePoint Services 2.0
To re-extend the Companyweb virtual server by using Windows SharePoint Services 2.0, follow these steps:
 * 1) Click Start, point to Administrative Tools, and then click SharePoint Central Administration.
 * 2) Under Virtual Server Configuration, click Extend or upgrade virtual server.
 * 3) On the Virtual Server List page, click companyweb.
 * 4) In the Provisioning Options section, click Extend and map to another virtual server.
 * 5) In the Server Mapping section, click companyweb.
 * 6) In the Application Pool section, click Use an existing application pool, click DefaultAppPool (NT AUTHORITY\NETWORK SERVICE), and then click OK.

Configure the Small Business Server 2003 Windows SharePoint Services 2.0 accounts
If you try to access the Companyweb Web site, its sub webs, or any other top-level SharePoint Web sites by using the built-in Administrator account, you receive the following error message:

Cannot complete this action.

Please try again.

This error occurs because the Administrator account is the Site Collection Owner and has a security identifier (SID) that does not match the SID in the database. To resolve this problem, you must log on with another domain administrator account to reset ownership of the site collection. To do this, follow these steps: <ol> <li>Create a new domain administrator account by using the Add User Wizard that is included with SBS 2003. Do not use the Active Directory Users and Computers snap-in to create the user account. To create a domain administrator account by using the Add User Wizard, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Server Management.</li> <li>In Server Management, click Users.</li> <li>Under Manage Users, click Add a User.</li> <li>On the first page of the Add User Wizard, click Next.</li> <li>Type a name for the account, and then click Next.</li> <li>Type and then confirm a password for the new account, and then click Next.</li> <li>In the Templates box, click Administrator Template, and then click Next.</li> <li>Click Do not set up a computer, and then click Next.</li> <li>Click Finish to complete the wizard.</li></ol> </li> <li>Log on to the server by using the domain administrator account that you created in step 1.</li> <li>Set the new domain administrator account as the new Site Collection Owner for the Companyweb Web site. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, point to Administrative Tools, and then click SharePoint Central Administration.</li> <li>Under Security Configuration, click Manage site collection owners.</li> <li>In the Web Site URL box, type http://companyweb, and then click View.</li> <li>In the User name box that is next to Site Collection Owner, change the username to be the new domain administrator account, and then click Check name.</li> <li>Click OK.</li></ol> </li> <li>Remove the site collection users for the Companyweb Web site. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, click Run, type http://companyweb, and then click OK.</li> <li>On the Companyweb home page, click Site Settings.</li> <li>Under Administration, click Go to Site Administration.</li> <li>Under Site Collection Administration, click View site collection user information.</li> <li>On the Manage Site Collection Users page, write down all the user accounts. You will use this information to re-create the user accounts.</li> <li>Select all accounts except the domain administrator account that you created in step 1, click Remove Selected Users, and then click OK to confirm. Make sure to remove the following template accounts: <ul> <li>Administrator Tmpl</li> <li>Mobile User Tmpl</li> <li>Power User Tmpl</li> <li>User Tmpl</li></ul> </li></ol> </li></ol>

Re-create the Small Business Server 2003 Windows SharePoint Services 2.0 user accounts
To re-create the Small Business Server 2003 Windows SharePoint Services 2.0 user accounts, follow these steps: <ol> <li>Click Start, click Run, type http://companyweb, and then click OK.</li> <li>On the Companyweb home page, click Site Settings.</li> <li>Under Administration, click Manage Users.</li> <li>On the Manage Users page, click Add Users.</li> <li>Under Step 1: Choose Users, type the following accounts in the Users box:

administrator@ ; Administrator Tmpl@ ; Power User Tmpl@

In the account names, is the internal Active Directory domain name.</li> <li>Under Step 2: Choose Site Groups, click to select the Administrator check box, and then click Next.</li> <li>Under Step 3: Confirm Users, verify that the User Name and the Display Name are correct.</li> <li>Under Step 4: Send E-mail, click to clear the Send the following e-mail to let these users know they’ve been added check box, and then click Finish.</li> <li>On the Manage Users page, click Add Users.</li> <li>Type the following in the Users box:

Mobile User Tmpl@ ; User Tmpl@

</li> <li>Click to select the Web Designer check box, and then click Next.</li> <li>Verify that the User Name and the Display Name are correct.</li> <li>Click to clear the Send the following E-mail to let the users know they have been added check box, and then click Finish.</li> <li>Repeat steps 9 through 14 to re-create the rest of the accounts and to assign them to the correct Site Groups.

Note By default, Users and Mobile Users belong to the Web Designer site group. Power Users and Administrators belong to the Administrator site group.</li> <li>**For additional, top-level Web sites, repeat steps 1 through 5 in the &quot;Remove Small Business Server 2003 Windows SharePoint Services 2.0 from Companyweb&quot; section, and then repeat steps 1 through 6 in the &quot;Extend the Companyweb virtual server to Small Business Server 2003 Windows SharePoint Services 2.0&quot; section.</li> <li>We also recommend that you reconfigure the built-in Administrator account to be the Site Collection Owner for the Companyweb Web site. After you do this, you can remove or disable the new domain administrator account that you created in this article. To reconfigure the built-in Administrator account to be the Site Collection Owner, follow steps 3a through 3e in the &quot;Configure the Small Business Server 2003 Windows SharePoint Services 2.0 accounts&quot; section. When you follow these steps, enter Administrator as the new Site Collection Owner instead of the new domain administrator account.</li></ol>

<div class="references_section">