beautypg.com

Rebuild the master database, Restart sql server in single-user mode – HP Data Protector Express Basic-Software User Manual

Page 56

background image

2.

Stop the Data Protector Express service by using one of the following methods:
a.

Using the Windows Command Line
i.

Open a command prompt.

ii.

Switch to the following directory:

C:\Program Files\HP\Data Protector Express

iii. Type the following command at the command prompt:

ytwinsvc -x

This command stops the Data Protector Express service on the local machine.

b.

Using the Microsoft Management Console (MMC):
i.

Right-click the My Computer icon and select Manage.

ii.

In the left pane of the window, select Services and Applications Services.

iii. In the right pane of the window, locate the Data Protector Express service.
iv.

Right-click the service and select Stop.

3.

Stop the SQL Server service using the SQL Server Enterprise Manager.

Rebuild the master database

1.

Open a command prompt.

2.

Switch to the Program Files\Microsoft SQL Server\80\Tools\Binn directory.

3.

Run Rebuildm.exe.

4.

In the Rebuild Master dialog box, click Browse.

5.

In the Browse for Folder dialog box, select the \Data folder on the SQL Server 2000 compact
disc or in the shared network directory from which SQL Server 2000 was installed, and then
click OK.

6.

Click Settings. In the Collation Settings dialog box, verify or change settings used for the master
database and all other databases.

Initially, the default collation settings are shown, but these may not match the collation selected
during setup. You can select the same settings used during setup or select new collation settings.
When done, click OK.

7.

In the Rebuild Master dialog box, click Rebuild to start the process.

NOTE:

To continue, you may need to stop a server that is running.

The Rebuild Master utility reinstalls the master database.

Restart SQL Server in single-user mode

1.

Open a command prompt.

2.

Switch to the Program Files\Microsoft SQL Server\mssql\binn directory.

3.

Issue the following command:
sqlservr –c –m

If you are restoring the master database for a named instance, issue the following command
instead:

sqlservr –c –m –s name

where name is the name of the named instance.

4.

Leave the command prompt open.

Restore the master database from the most recent backup

1.

Open Data Protector Express with the service stopped.

2.

Create a restore job, selecting only the master database.

56

Working with Third-Party Applications

This manual is related to the following products: