Tivoli Header
Administrator's Reference
Use this command to specify a prefix for a recovery plan file name.
If you issue this command, Tivoli Storage Manager uses the specified prefix if
the PREPARE command does not include the PLANPREFIX parameter.
Use the QUERY DRMSTATUS command to display the current value for the
recovery plan prefix.
Privilege Class
To issue this command, you must have system privilege.
Syntax
Parameters
- prefix (Required)
- Specifies the prefix for a recovery plan file name. The maximum
length of the prefix is 250 characters. If you enter a null string
(""), the current prefix is removed, and the server uses the algorithm
described in the PLANPREFIX parameter in the PREPARE command.
For the prefix, you can specify:
- A directory path followed by a slash (/): Tivoli Storage
Manager appends to the prefix the date and time in the
yyyymmdd.hhmmss format. For example, the SET
DRMPLANPREFIX is set to the following:
/adsmsrv/recplans/
The resulting recovery plan file name is:
/adsmsrv/recplans/19971115.051421
- A directory path followed by a string: Tivoli Storage
Manager uses the string as part of the file name. Tivoli Storage
Manager appends to the prefix the date and time in the
.yyyymmdd.hhmmss format (note the initial
period). For example, the SET DRMPLANPREFIX is set to the
following:
/adsmsrv/recplans/accounting
The resulting recovery plan filename is:
/adsmsrv/recplans/accounting.19971115.051421
- A string that is not preceded by a directory path: Tivoli
Storage Manager appends to the prefix the date and time information in the
.yyyymmdd.hhmmss format (note the initial
period). Tivoli Storage Manager determines the directory path as
follows:
- If the DSMSERV_DIR environment variable is defined, Tivoli Storage Manager
uses the directory pointed to by the environment variable. For example,
the DSMSERV_DIR environment variable points to /adsmsrv/recplans,
and the SET DRMPLANPREFIX is set to the following:
shipping
The resulting recovery plan file name:
/adsmsrv/recplans/shipping.19971115.051421
- If the DSMSERV_DIR environment variable is not defined, Tivoli Storage
Manager uses the directory path name of the current working directory of the
Tivoli Storage Manager server. For example, the current Tivoli Storage
Manager working directory is /usr/lpp/adsmserv/bin, and the SET
DRMPLANPREFIX command is set to the following:
shipping
The resulting recovery plan file name is:
/usr/lpp/adsmserv/bin/shipping.19971115.051421
Examples
Task
Specify a prefix so that the generated recovery plan files is stored in
directory /drmplan/primsrv.
- Command:
- set drmplanprefix /drmplan/primsrv/
Related Commands
Table 263. Commands Related to SET DRMPLANPREFIX
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]