Document ID: 243037
http://support.veritas.com/docs/243037
E-Mail Colleague IconE-Mail this document to a colleague

How to perform a local recovery of a Microsoft Windows 2000/2003 Small Business Server

Details:
This procedure will first restore the Windows 2000/2003 Small Business Server computer's operating system to its pre-disaster state and will restore data files. This procedure will then restore the Exchange and SQL Server that were protected by the VERITAS Backup Exec (tm) database agents included with Backup Exec for Windows NT and Windows 2000/2003 (including Small Business Server Edition, i.e. Agents for Microsoft Exchange 2000/2003 and Microsoft SQL 2000). This will occur only if the databases were installed as part of the Windows 2000/2003 Small Business Server installation, and the databases were selected for backup, and backups completed successfully.

Note: Please reference the Microsoft Small Business Server 2000 Disaster Recovery White Paper for guidelines preparations for a disaster recovery scenario.

I. Requirements

1. A tape device must be attached to the computer that is being recovered.

2. A current full backup of the computer to be recovered and any subsequent incremental/differential backups must be done.

3. The Windows 2000/2003 Small Business Server installation media.

Windows 2000 SBS:   This is usually a four CD-ROM disk set. Disk 1 contains the Windows 2000 Small Business Server operating system installation files, Disk 2 contains SQL 2000 installation files, Disk 3 contains Exchange 2000 installation files, and Disk 4 contains Outlook 2000 installation files.

Windows 2003 SBS:  The number of CD-ROM Disks in the set varies depending on which edition of the product purchased.  

4. The Backup Exec 8.5/8.6. for Windows NT and Windows 2000 Small Business Server Edition media or the Backup Exec 9.x for Windows servers Small Business Server Edition media (standard or premium edition to match the Windows 2003 SBS software).

If restoring Microsoft SQL 2000 Server databases:
1. The name of the installed SQL instance before the disaster

2. Whether the SQL Server Agent had been used for the backup on the Windows 2000/2003 Small Business Server before the disaster

3. SQL user name and password if SQL authentication is used


II. Restoring Windows 2000/2003 Small Business Server Operating System

1. Install Windows 2000/2003 Small Business Server. This basic Windows 2000/2003 Small Business Server installation is necessary to provide Backup Exec with a target to which it can restore the system. The computer name, Windows 2000/2003 Small Business Server directory (%systemdrive%:\%windir%) and the file system (NTFS) must be the same as the previous Windows 2000/2003 Small Business Server installation. This installation will be overwritten by the backed up version, which will restore your original system configuration, application settings, and security settings. If recovering from an entire hard disk failure, use Windows 2000/2003 Small Business Server setup to partition and format the new disk during installation. Format the partitions the same size (or larger), and file system as before the failure.
 
a. Connect the target computer to a hub or switch but be sure it is not connected to the rest of your network - a datalink is required.
b. Windows 2000 SBS: As part of the installation, the computer will be joined to a domain, since Windows 2000 Small Business Server only supports one domain controller installed into one domain.
Windows 2003 SBS: Install the operating system into its default workgroup. Cancel the Small Business Server Wizard that auto-starts after the initial reboot      (Figure 1-2K3 and Figure 2-2K3). Change the default TCP/IP properties from a DHCP configuration to its "Static" pre-disaster settings. After restoring all drives and the Shadow Copy Components, a reboot will allow the machine to come up into the original domain prior to the disaster.
c. Windows 2000 SBS ONLY: As part of the installation, Active Directory will be installed. It is however not necessary to install and configure the Domain Name
   Service (DNS) during this basic installation.
d. Windows 2000 SBS only: The only component that should be selected for installation at this time is Small Business Server (Figure 1-2K).

Figure 1-2K3

 

Figure 2-2K3

 

Figure 1-2K
 
 

e. Windows 2000 SBS ONLY:  The default IP address provided during the installation can be used, as this information will be overwritten during the
   installation.
f.  Windows 2003 SBS ONLY:  After configuring basic networking components, there is no other configuration to be made during the initial installation of the
   operating system.

2. Windows 2000 SBS ONLY:  Install any, and all, previously installed operating system service packs and hotfixes prior to the disaster.  Windows 2003 SBS does not have any service packs at the time of this writing.

3. Install Backup Exec to a directory other than where it was originally installed (this is a temporary installation).

Note: Always log on to Windows 2000/2003 Small Business Server using the Administrator account or its equivalent during this procedure.

4. Using the Device Driver Installation Wizard, install the appropriate device driver for the attached media drive

5. Finish the installation and reboot the server

6. Open Backup Exec and complete the first time wizards.

7.  From the Devices tab, inventory the media containing the latest full backup of the computer to be recovered

8. Catalog the media containing the latest full backup of the computer to be recovered. If the subsequent differential/incremental backups of the Windows 2000 Small Business Server operating system are on separate media, catalog those also.

STEPS 9 - 25 ARE FOR WINDOWS 2000 SBS ONLY - GO TO STEP 26 FOR WINDOWS 2003 SBS

9. Reboot the computer

10. Press <F8> when prompted during the boot-up sequence. A blocked line on the bottom of the screen will show with the prompt to press F8 below it.

11. Select Directory Service Restore Mode

12. Log on to the server as the user "Administrator" with the password that was selected during the installation of Window 2000/2003 Small Business Server

13. Right-click the My Computer icon on the desktop and select Manage

14. Expand the Services and Applications node

15. Click Services

16. Double-click each of the Backup Exec for Windows NT and Windows 2000 services and do the following for each service:

a. Click on the Log On tab
b. Select Log on as: Local System Account
17. Start all the Backup Exec for Windows NT and Windows 2000 services

18. Launch Backup Exec for Windows NT and Windows 2000 Small Business Server Edition

19. From the Restore Selections tab, select all sets from the full and incremental backups that contain logical drives on the hard disk. If differential backup sets are to be restored, select only the last differential set. Make sure you include System State as part of the restore selections. If Microsoft SQL 2000 or Microsoft Exchange 2000 had been installed as part of the original installation of Microsoft Windows 2000 Small Business Server before the disaster, then deselect them to restore the Microsoft SQL Server directory under the Program Files directory (example: %systemdrive%:\Program Files\Microsoft SQL Server) or the Microsoft Exchange 2000 directory under Program Files (example:%systemdrive%:\Program Files\Exchsrvr). It is equally important that if the log files for either Microsoft SQL Server or Microsoft Exchange 2000 had been moved to another location during the previous installation of Small Business server that these log file directories not be restored as well.

20. Click Restore on the toolbar

21. From the General tab, select the options Restore security and Preserve tree

22. From the Advanced tab, select Restore over existing files

23. From the Windows 2000 tab, select "When restoring SYSVOL in System State, mark this domain controller as the primary arbitrator for replication" (Figure 2-2K )


Figure 2-2K
 

24. Click Run Now to start the restore

25. Reboot the computer

The computer's operating system is now restored to its pre-disaster state. The data files have been restored, except those protected by Backup Exec database agents.

WINDOWS 2003 SBS ONLY
26.  Select all local drives and the Shadow Copy Components from the Restore Selections
27.  Under the General Settings, select Restore over existing files
28.  Under the Advanced Settings, select Mark this server as the primary arbitrator for replication when restoring folders managed by the File Replication Service, or when restoring the SYSVOL in System State
29.  Click Run Now to start the restore job
30.  Upon completion, reboot the server  

III. Restoring SQL 2000 Instance and Databases
This section pertains to restoring an SQL Server Database Using a Database Backup Only. If help is needed for restoring an SQL Server database using sequential restores, restoring SQL Server database transactions to a point in time, restoring SQL Server database transactions to a named transaction in a log, or restoring Microsoft SQL Server user-defined filegroups, then please refer to the Backup Exec for Window NT and Windows 2000 Administrator's Manual.
1. After the computer's operating system has been restored to its pre-disaster state, a reinstall of SQL may be needed.
2. Re-install Microsoft SQL 2000 by performing a custom installation of Windows 2000 Small Business Server. It is important that your Microsoft SQL 2000 Server instance be configured as it was before the disaster.
3. Verify that the setup of Microsoft SQL 2000 Server completed successfully by launching SQL Enterprise Manager by registering the newly installed instance and browsing the nodes underneath the instance
4. Once SQL 2000 has been installed, the master database will be the first database to be restored from the backup.  
5. Access the Services dialog in Windows via Start | Programs | Administrative Tools | Services
6. Right-click on the MSSQLSERVER service and click Stop on the resulting context menu
7. Double-click on the MSSQLSERVER service and on the General tab of the Service Properties dialog, type "-m" in the Start Parameters field
7a. This is preformed so the master database is started in "Single User" mode.

7b. If open, close SQL Enterprise Manager before running the restore

8. Click the Start button located on the General tab, and then click OK
9. Once the master database has been successfully restored, the remainder of the databases can be restored.
10. Refer to the Related Documents section at the end of this document for more information on restoring databases for SQL.

IV. Restoring Exchange 2000/2003 Databases
The assumption made for this section is that Exchange 2000 was installed as part of the original installation of Windows 2000/2003 Small Business Server.
Note: Transaction logs that are present on the system before the databases are restored may interfere with the recovery process and prevent the database from being mounted after the recovery. It is for this reason that the Microsoft Exchange 2000/2003 installation files were not selected for restore during the restoration of the Windows 2000 Small Business Server operating system. If the Exchsrvr directory, C:\Program Files\Exchsrvr, was restored during the restoration of the operating system, the Exchsrvr directory will need to be deleted before reinstalling Microsoft Exchange 2000/2003 as outlined in the steps below. Subsequently, log file directories that may have existed will also need to be deleted.
1.  Make sure that VERITAS Backup Exec (tm) for Windows NT and Windows 2000 / VERITAS Backup Exec (tm) for Windows Servers applications are closed
2.  Set the Backup Exec services to Manual in the Services applet. This is necessary to have Backup Exec not claim exclusive control the file mapi32.dll.
3.  Reboot the server. It is normal for the Backup Exec services not to start after reboot since the Backup Exec services were set to manual in the above step.
4.  Insert the Windows 2000 Small Business Server Disk 3 or the media for Windows 2003 Small Business Server that contains the Exchange setup files
5.  Log on to the server as Administrator on the domain and go to Start | Run and type the following for Windows 2000 SBS:
CD-ROM Drive:\Exchsrvr60\setup\I386\setup.exe /disasterrecovery (correct spelling is essential)
For Windows 2003 SBS:
CD-ROM Drive:\Exchsrvr65\setup\I386\setup.exe /disasterrecovery (correct spelling is essential)
6.  Click Next at the Component Selection screen to continue with the Exchange Disaster Recovery Setup process
7.  Click OK at the prompt asking to verify that a Server object for the Exchange server exists in Active Directory
8.  There will also be multiple prompts indicating that files to be copied already exist and are newer than those being transferred from the CD. Click No to All to retain the newer files.
9.  Click OK at the prompt: "." Do not, however, reboot the server now.After setup has completed, please restore the databases from backup and then reboot the machine
10. When the Setup Disaster Recovery process is complete, re-apply any service pack for Exchange Server 2000/2003 that may have been installed on the original installation of Exchange Server 2000/2003 on the original installation of Windows 2000/2003 Small Business Server.
11. From the Services applet, verify if the Microsoft Exchange services are started and if they are not, attempt to start them. Reboot the server only if the Exchange services will not start.
12. Verify with Exchange System Manager that all the Information Store databases in all Storage Groups are dismounted and also set to be overwritten by restores on the Database tab of the Properties dialog of each individual store
13. Start Backup Exec
14. Catalog the media that contains the latest Full, Incremental, and Differential backups of the Microsoft Exchange 2000/2003 storage groups that are to be recovered
15. Select the latest Full backups of the storage groups for restore
Note: If the Exchange 2000/2003 server being recovered contains the Site Replication Service (SRS) or Key Management Service (KMS), then select those databases for restore as well.
16. Select all subsequent incremental storage group backups. If differential backups are to be restored, only the most recent differential storage group backups need to be selected.
17. Click the Exchange tab, and clear the No Loss Restore selection
18. Enter a location where the associated log and patch files are to be kept until the database is restored in the field Temporary location for log and patch files.  After the database is restored, the log and patch files in the temporary location are applied to the database, and then the current log files are applied. After the restore is complete, the log and patch files are automatically deleted from the temporary location (including any sub-directories).
Note: Make sure the temporary location for log and patch files are empty before starting a restore job. If a restore job fails, check the temporary location (including any sub-directories) to make sure any previous log and patch files from a previous restore job were deleted.
19. If the selection contains the last backup set to be restored, select Commit after restore completes. Do not select this option if backup sets still exist to restore. If the option Commit after restore completes is selected when an intermediate backup is being applied, the job cannot continue to restore backups and it must restart the restore operation from the beginning.
20. If the databases are to be immediately available to users after the recovery, select Mount database after restore. This option is only available if Commit after restore completes is selected.
21. Click OK, then Run Now. The recovery procedure is complete.


Acknowledgements
VERITAS Backup Exec 8.6 For Windows NT and Windows 2000 Administrators Guide Version, Microsoft Small Business Server 2000 Disaster Recovery White Paper

Products Applied:
 Backup Exec for Windows Servers 8.5, 8.5 SBS, 8.6, 8.6 SBS, 8.6 for WSA, 9.0 4454 SP1, 9.1 4691 SP1

Last Updated: October 14 2004 08:40 AM GMT
Expires on: 10-14-2005
Subscribe Via E-Mail IconSubscribe to this document

Subjects:
 Backup Exec for Windows Servers
   Operating System: Restore

Languages:
 English (US)

Operating Systems:
Windows NT Small Business Server

2000

Windows Small Business Server 2003

Premium Edition, Standard Edition


Was this article helpful to you?
Yes   No

If any information was unclear, or the information you were seeking was not provided, please let us know. Your feedback will help us improve this service.

NOTE: Comments entered here will NOT receive a personal e-mail response. If you need a VERITAS Technical Support representative to respond to your issue, please click here to send us an e-mail.