Use this command to export all or part of the server control information and client file data (if specified) from the TSM server to sequential media.
The EXPORT SERVER command exports server control information such as:
Optionally, you can export server data information such as:
You can use the QUERY ACTLOG command to view the actual status information indicating the size and the success or failure of the export operation.
This command generates a background process that can be cancelled with the CANCEL PROCESS command. If an EXPORT SERVER 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
.-FILEData--=--None-------------. >>-EXPort Server----+-------------------------------+-----------> '-FILEData--=--+-ALl----------+-' +-None---------+ +-ARchive------+ +-Backup-------+ +-BACKUPActive-+ +-ALLActive----+ '-SPacemanaged-' .-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
The device class used by the file data is determined by the device class for the storage pool. If it is the same device class specified in this command, two drives are needed to export server information. The mount limit for the device class must be set to at least 2.
The following descriptions mention active and inactive backup file copies. An active backup file copy is the most recent backup copy for a file that still exists on the client workstation. All other backup file copies are called inactive copies. The values are:
Notes:
Note: | When the file name is specified within single quotation marks, the value entered is used as the data set name. When the filename is specified without quotation marks, the user prefix associated with the server job is appended to the front of the file name and the resulting string is used as the data set name. For example, the user prefix associated with the server job is SRVRV4 and the file name specified is LIST.TAPES. The data set name will be SRVRV4.LIST.TAPES. |
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. For example, im.data.mtl. |
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. |
If you specify a dataset name, you must enclose the name in single quotation marks, surrounded by double quotation marks. For example, USEDVOLUMELIST="'DATA.TAPEVOL'".
Examples
Task 1
From the server, export server information to tape volumes TAPE01, TAPE02, and TAPE03. Specify that these tape volumes be read by a device assigned to the MENU1 device class.
Task 2
From the server, export server information to tape volumes listed in a file named LISTOF.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.
Related Commands
Table 111. Commands Related to EXPORT SERVER
Command | Description |
---|---|
CANCEL PROCESS | Cancels a background server process. |
EXPORT ADMIN | Copies administrative information to external media. |
EXPORT NODE | Copies client node information to external media. |
EXPORT POLICY | Copies policy information to external media. |
IMPORT SERVER | Restores all or part of the server from external media. |
QUERY ACTLOG | Displays messages from the server activity log. |
QUERY PROCESS | Displays information about background processes. |