Use this command to export administrator and authority definitions from a TSM server to sequential media. TSM exports administrator information such as:
You can use the QUERY ACTLOG command to view the status of the export operation. You can also view this information from the server console.
This command generates a background process that can be cancelled with the CANCEL PROCESS command. If an EXPORT ADMIN background process is cancelled, the sequential media holding the exported data are incomplete and should not be used for importing data. To display information on background processes, use the QUERY PROCESS command.
Privilege Class
To issue this command, you must have system privilege.
Syntax
.-*-----------------. >>-EXPort Admin----+-------------------+------------------------> | .-,------------. | | V | | '----admin_name---+-' .-Preview--=--No------------------. >-----+---------------------------------+-----------------------> | (1) (2) | '-Preview--------------=--+-No--+-' '-Yes-' >-----+------------------------------------+--------------------> | (1) | '-DEVclass--------=device_class_name-' .-Scratch--=--Yes------------. >-----+----------------------------+----------------------------> | (2) | '-Scratch---------=--+-Yes-+-' '-No--' >-----+----------------------------------------------+----------> | .-,-------------. | | (2) V | | '-VOLumenames-------=--+----volume_name---+-+--' '-FILE:file_name-----' >-----+-----------------------------+-------------------------->< '-USEDVolumelist---=file_name-'
Notes:
Parameters
Separate the items in the list by commas, with no intervening spaces. You can use wildcard characters to specify names.
Notes:
Use these naming conventions when specifying volumes associated with the
following device types:
For this device | Specify |
---|---|
TAPE | 1-6 alphanumeric characters. |
FILE | Any fully qualified file name string. An example is /imdata/mt1. |
OPTICAL | 1-32 alphanumeric characters. |
SERVER | 1-250 alphanumeric characters. |
This file can be used as input to the import operation. This file will contain comment lines with the date and time the export was done, and the command issued to create the export.
Note: | If you specify an existing file, the file will be overwritten. |
Examples
Task 1
From the server, export the information for all defined administrators to tape volumes TAPE01, TAPE02, and TAPE03. Specify that these tape volumes be read by a device assigned to the MENU1 device class.
The number and type of objects exported are reported to the system console and in the activity log.
export admin devclass=menu1 volumenames=tape01,tape02,tape03
Task 2
From the server, export the information for all defined administrators to tape volumes listed in a file named TAPEVOL. This file contains these lines:
TAPE01 TAPE02 TAPE03
Specify that these tape volumes be used by a device assigned to the MENU1 device class.
The number and type of objects exported are reported to the system console and in the activity log.
Related Commands
Table 125. Commands Related to EXPORT ADMIN
Command | Description |
---|---|
CANCEL PROCESS | Cancels a background server process. |
EXPORT NODE | Copies client node information to external media. |
EXPORT POLICY | Copies policy information to external media. |
EXPORT SERVER | Copies all or part of the server to external media. |
IMPORT ADMIN | Restores administrative information from external media. |
QUERY ACTLOG | Displays messages from the server activity log. |
QUERY PROCESS | Displays information about background processes. |