Use the IMPORT NODE command to import client node definitions from the ADSM server to sequential media. Client node definitions include information such as:
Optionally, the IMPORT NODE command imports node data information such as:
The IMPORT NODE command allows node information to be copied to another server. In order to copy ADSM data and then restore it to a new server, the sequential device must be supported on both platforms.
You can use the QUERY ACTLOG command to view the actual status information indicating the size and the success or failure of the import operation. You can also view this information from the server console.
This command generates a background process that can be canceled with the CANCEL PROCESS command. If an IMPORT NODE background process is canceled, 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 Node---+------------------+---------------------------> | .-,----------. | | V | | '----nodename---+--' >---+-----------------------------------------+-----------------> | .-,----------------------. | | V | | '-FILESpace=-----+---------------+----+---' '-filespacename-' >---+------------------------------------+----------------------> | .-,-------------------. | | V | | '-DOmains=-----+------------+----+---' '-domainname-' .-FILEData--=--None--------------. .-Preview--=--No-------. >---+--------------------------------+--+----------------------+> '-FILEData--=--+-ALl----------+--' '-Preview--=--+-No--+--' +-None---------+ '-Yes-' +-ARchive------+ +-Backup-------+ +-BACKUPActive-+ +-ALLActive----+ '-SPacemanaged-' .-Dates--=--Absolute------. >----DEVclass=devclassname--+-------------------------+---------> '-Dates--=--+-Absolute-+--' '-Relative-' .-,--------. V | >----VOLumenames--=--+---volname---+--+-------------------------> '-FILE:filename--' .-Replacedefs--=--No-------. >---+--------------------------+------------------------------->< '-Replacedefs--=--+-No--+--' '-Yes-'
Parameters
You can specify a list of node names for which node information is to be imported. The items in the list are separated by commas, with no intervening spaces. You can use pattern-matching expressions to specify names. All matching nodes are included in the list. If you do not specify a value for this parameter, information related to all nodes is imported.
You can specify a list of file space names for which data information is to be imported. The items in the list are separated by commas, with no intervening spaces. You can use a pattern-matching expression to specify a name. All matching names are included in the list. If you do not specify a value for this parameter, information related to all files space names is imported.
Note: | Existing file spaces are not replaced. New file spaces are created when identical names are encountered. |
You can specify a list of policy domains from which node information is to be imported. The items in the list are separated by commas, with no intervening spaces. You can use a pattern-matching expression to specify a name. If you do not specify a value for this parameter, node information related to all domains is imported.
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, then two drives are needed to import the node information. The mount limit value for the device class needs to 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. Possible values are:
If the mount limit for the device class specified has already been reached (all drives are busy) when the import runs, ADSM automatically cancels lower priority operations, such as reclamation, to make a mount point available for the import operation.
If the export media has been idle for some time after export (sitting on a shelf for six months, for example), the original backup or archive dates may be old enough to trigger immediate roll-off of file copies when the data is imported into a server. The Relative specification for this value will adjust for time elapsed since export so that the file copies are not immediately rolled off.
For example, assume that an export tape contains an archive file copy that was archived 5 days prior to the export operation. If the export media is saved for 6 months and then imported, the archive file will appear to have been inserted six months and 5 days ago by default (Dates=Absolute) and may be subject to immediate roll-off depending upon the retention value that is specified in the file's management class. Specifying Dates=Relative will result in resetting the archive date for the file to 5 days ago during import, even though the actual file was archived six months and 5 days ago. The DATES=RELATIVE parameter thus adjusts file backup and archive dates for the time that has elapsed since the export operation occurred.
Possible values are:
Use the following naming conventions when specifying volumes for each device type.
Possible values are:
For example, to use volumes TAPE01, TAPE02, TAPE03, specify the following:
VOLUMENAMES=TAPE01,TAPE02,TAPE03
For example, to use volumes TAPE01, TAPE02, and TAPE03, create a file named TAPEVOL that contains these lines:
TAPE01 TAPE02 TAPE03
You can then specify the volumes for the command as follows:
VOLUMENAMES=FILE:TAPEVOL
Examples
Task
From a server, import the node definitions and active backup data for all nodes defined in the STANDARD policy domain to tape volume VOL04. Specify that this tape volume be read by a device assigned to the DEPT device class.
The number and type of objects imported are reported to the server console and in the activity log.
Related Commands
Table 105. Commands Related to IMPORT NODE
Command | Description |
---|---|
CANCEL PROCESS | Cancels a background server process. |
EXPORT NODE | Copies client node information to external media. |
IMPORT ADMIN | Restores administrative information from external media. |
IMPORT POLICY | Restores policy information from external media. |
IMPORT SERVER | Restores all or part of the server from external media. |
QUERY ACTLOG | Searches for and displays messages from the server activity log. |
QUERY PROCESS | Displays information about one or all background server processes. |