Use this command to import policy domain information from sequential export media to the TSM server.
TSM client data can be moved between TSM servers with export and import processing, if the same removable media type is supported on both platforms.
You can use the QUERY ACTLOG command to view the status of the import operation.
This command generates a background process that can be cancelled with the CANCEL PROCESS command. If an IMPORT POLICY background process is cancelled, some of the data is already imported. To display information on background processes, use the QUERY PROCESS command.
Privilege Class
To issue this command, you must have system privilege.
Syntax
.-*------------------. >>-IMport Policy----+--------------------+----------------------> | .-,-------------. | | V | | '----domain_name---+-' .-Preview--=--No------. >-----+---------------------+---DEVclass=device_class_name------> '-Preview--=--+-No--+-' '-Yes-' .-,-------------. V | >-----VOLumenames--=--+----volume_name---+-+--------------------> '-FILE:file_name-----' .-Replacedefs--=--No------. >-----+-------------------------+------------------------------>< '-Replacedefs--=--+-No--+-' '-Yes-'
Parameters
If all drives for the device class are busy when the import runs, TSM cancels lower priority operations, such as reclamation, to make a drive available.
Note: | When the file name is specified within single quotation marks, the value entered is used as the data set name. When the file name 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. |
Examples
Task 1
From the server, import the information for all defined policies from 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, import the information for all defined policies from tape volumes listed in a file named LISTOF.TAPEVOL. This file contains these lines:
TAPE01 TAPE02 TAPE03
Specify that these tape volumes be read by a device assigned to the MENU1 device class.
Related Commands
Table 119. Commands Related to IMPORT POLICY
Command | Description |
---|---|
CANCEL PROCESS | Cancels a background server process. |
EXPORT POLICY | Copies policy information to external media. |
IMPORT ADMIN | Restores administrative information from external media. |
IMPORT NODE | Restores client node information from 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. |