Managing an Engine Database

Using the Restore Command-line Utility

The Dump/Restore facility’s DrRestore command retrieves data which has been dumped to an ASCII file and restores it into an engine database.

Syntax for drrest command:

drrest -eengine_name [-ddirectory_name] [-vdata_file_name]

[-t registrationstatehistory]

As in all iPlanet UDS command line specifications, if you use a name that includes a space, you should enclose the name in double quotation marks.

The following table describes the command line flags for the DrRestore command:

Flag

Description

 

 

-eengine_name

The name of the iIS engine in the current environment. This

 

flag is required.

-ddirectory_name

The directory in which to place the dump files. The default

 

value is the root directory.

-vdata_file_name

The name of the data file. The default value is dumprest.log.

-t

The category of tables to dump. Valid values are

registrationstate

REGISTRATION, STATE, HISTORY. The default is all

history

categories. To specify a combination of two categories, use a

 

colon (:) between categories. For example:

 

-t registration:state

 

Alternatively, you can enter the -tflag for each category. For

 

example:

 

-e myEngine -t registration -t state

 

 

If you have set the environment variables described in “Dump/Restore Environment Variables” on page 136, then you do not need to supply values for the command line flags.

Chapter 4 Managing Engines 135

Page 135
Image 135
Sun Microsystems 3 manual Using the Restore Command-line Utility