Tivoli Storage Manager for HP-UX Administrator's Reference

IMPORT SERVER (Import the Server)

Use this command to copy all or part of the server control information and client file data (if specified) from export media to the TSM server.

This command generates a background process that can be cancelled with the CANCEL PROCESS command. If an IMPORT SERVER 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

                    .-FILEData--=--None-------------.
>>-IMport Server----+-------------------------------+----------->
                    '-FILEData--=--+-ALl----------+-'
                                   +-None---------+
                                   +-ARchive------+
                                   +-Backup-------+
                                   +-BACKUPActive-+
                                   +-ALLActive----+
                                   '-SPacemanaged-'
 
      .-Preview--=--No------.
>-----+---------------------+---DEVclass=device_class_name------>
      '-Preview--=--+-No--+-'
                    '-Yes-'
 
      .-Dates--=--Absolute-----.
>-----+------------------------+-------------------------------->
      '-Dates--=--+-Absolute-+-'
                  '-Relative-'
 
                         .-,-------------.
                         V               |
>-----VOLumenames--=--+----volume_name---+-+-------------------->
                      '-FILE:file_name-----'
 
      .-Replacedefs--=--No------.
>-----+-------------------------+------------------------------><
      '-Replacedefs--=--+-No--+-'
                        '-Yes-'
 

Parameters

FILEData
Specifies the type of files that should be imported for all nodes defined to the server. This parameter is optional. The default value is NONE.

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 import 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 file copies are called inactive copies. The values are:

ALl
TSM imports all backup versions of files, all archived files, and all space-managed files.

None
TSM does not import files, only node definitions.

ARchive
TSM imports only archived files.

Backup
TSM imports only backup versions, whether active or inactive.

BACKUPActive
TSM imports only active backup versions.

ALLActive
TSM imports all active backup versions of files, all archived files, and all space-managed files.

SPacemanaged
TSM imports only space-managed files.

Preview
Specifies whether to preview the results of the import operation, without importing information. The PREVIEW=YES option requires that you mount the export volumes. This parameter is optional. The default value is NO. Possible values are:

No
Specifies that the server information is to be imported.

Yes
Specifies that the operation will be previewed but not performed. Information is transferred to the server console and the activity log.

DEVclass (Required)
Specifies the device class from which import data is to be read. You cannot specify the DISK device class.

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.

Dates
Specifies whether the dates of the file copies are set as specified when the files were exported (ABSOLUTE), or are adjusted to the date of import (RELATIVE). The default value is ABSOLUTE.

If the import 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 expiration 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 expired.

For example, assume that an import tape contains an archive file copy that was archived 5 days before the export operation. If the export media are 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 expiration depending upon the retention value that is specified in the file's management class. Specifying DATES=RELATIVE results in resetting the archive date for the file to 5 days ago during import. DATES=RELATIVE parameter thus adjusts file backup and archive dates for the time that has elapsed since the export operation occurred.

Possible values are:

Absolute
The dates for file copies are set to the values specified when the files were exported.

Relative
The date for file copies are adjusted to the date of import.

VOLumenames (Required)
Specifies the volumes to be used for the import operation. Volumes must be imported in the same order as they were exported. The values are:

volume_name
Specifies the volume name. To specify multiple volumes, separate the names with commas and no intervening spaces.

FILE:file_name
Specifies the name of a file that contains a list of volumes used for the imported data. In the file, each volume name must be on a separate line. Blank and comment lines that begin with an asterisk are ignored.

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.
SERVER 1-250 alphanumeric characters.

Replacedefs
Specifies whether to replace objects on the server. Existing file spaces are not replaced. New file spaces are created when identical names are encountered. The default value is NO. Possible values are:

No
Specifies that objects are not to be replaced by imported objects.

Yes
Specifies that objects are to be replaced by the imported objects.

Examples

Task 1

From the server, import the information for all defined servers from tape volumes TAPE01, TAPE02, and TAPE03. Specify that these tape volumes be read by a device assigned to the MENU1 device class.

Command:
import server devclass=menu1 
volumenames=tape01,tape02,tape03

Task 2

From the server, import the information for all defined servers from tape volumes listed in a file named 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.

Command:
import server devclass=menu1 volumenames=file:tapevol

Related Commands

Table 127. Commands Related to IMPORT SERVER

Command Description
CANCEL PROCESS Cancels a background server process.
EXPORT SERVER Copies all or part of the server to external media.
IMPORT ADMIN Restores administrative information from external media.
IMPORT NODE Restores client node information from external media.
IMPORT POLICY Restores policy information from external media.
QUERY ACTLOG Displays messages from the server activity log.
QUERY PROCESS Displays information about background processes.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]