EXPORT NODE (Export node definitions to sequential media)
You can export node definitions or file data from a server to sequential media for later importing to another server.
Privilege class
To issue this command, you must have system privilege.
Syntax
.-*-------------. >>-EXPort Node--+---------------+-------------------------------> | .-,---------. | | V | | '---node_name-+-' >--+-----------------------------------+------------------------> | .-,---------------. | | V | | '-FILESpace--=----file_space_name-+-' >--+----------------------------+-------------------------------> | .-,-------------. | | V | | '-FSID--=----file_space_ID-+-' >--+--------------------------------------+---------------------> | .-,---------------. | | V | | '-UNIFILESpace--=----file_space_name-+-' >--+-----------------------------+------------------------------> | .-,-----------. | | V | | '-DOmains--=----domain_name-+-' .-FILEData--=--None-------------. >--+-------------------------------+----------------------------> '-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-' >--+----------------------------------------------+-------------> | .-FROMTime--=--00:00:00-. | '-FROMDate--=--date--+-----------------------+-' '-FROMTime--=--time-----' >--+------------------------------------------+-----------------> | .-TOTime--=--23:59:59-. | '-TODate--=--date--+---------------------+-' '-TOTime--=--time-----' .-ENCryptionstrength--=--AES-----. >--+--------------------------------+---------------------------> '-ENCryptionstrength--=--+-AES-+-' '-DES-' .-ALLOWSHREDdable--=--No------. >--+-----------------------------+----------------------------->< '-ALLOWSHREDdable--=--+-No--+-' '-Yes-'
- If PREVIEW=NO, a device class must be specified.
- If PREVIEW=NO and SCRATCH=NO, one or more volumes must be specified.
Parameters
- node_name
- Specifies the client node names for which information is to be
exported. This parameter is optional. Separate multiple names with
commas and no intervening spaces. You can use wildcard characters
to specify names. For each node entered, all file spaces in the file
space, FSID, and Unicode enabled lists are searched.Restriction: If you use wildcard characters to specify a pattern for node names, the server does not report the node names or patterns that do not match any entries in the database. Check the summary statistics in the activity log to verify that the server exported all intended nodes.
- FILESpace
- Specifies the file spaces for which data is to be exported. This parameter is optional. Separate multiple names with commas and no intervening spaces. You can use wildcard characters to specify a name.
Restriction: If a file space is specified, Unicode enabled file spaces are not exported.
- FSID
- Specifies the file spaces by using their file space IDs (FSIDs). The server uses the FSIDs to find the file spaces to export. To find the FSID for a file space, use the QUERY FILESPACE command. Separate multiple file space IDs with commas and no intervening spaces. This parameter is optional.
- UNIFILESpace
- Specifies the file spaces that are known to the server as Unicode enabled. The server converts the names that you enter from the server code page to the UTF-8 code page to find the file spaces to export. The success of the conversion depends on the actual characters in the name and the server's code page. Separate multiple names with commas and no intervening spaces. A wildcard character can be used to specify a name. This parameter is optional.
- DOmains
- Specifies the policy domains from which nodes are to be exported. This parameter is optional. Separate multiple names with commas and no intervening spaces. If you specify domains, a node is exported only if it belongs to one of the specified domains. You can use wildcard characters to specify a name.
- FILEData
- Specifies the type of files that are to be exported for all nodes
that are being exported to the server. This parameter is optional.
The default value is NONE. Note: If you are exporting a node that has group data, data that is not a part of the target objects might be exported. An example of group data is virtual machine data or system state backup data. For example, if FILEDATA=BACKUPACTIVE when the FROMDATE or TODATE parameters are specified, it is possible to include inactive backup data. The incremental backup processing for the data can cause extra files that do not meet the filtering criteria to be exported.
If you are exporting to sequential media: the device class that is used by the file data is determined by the device class for the storage pool. If it is the same device class that is specified in this command, two drives are needed to export node information. The mount limit for the device class must be at least 2.
Important: If client nodes registered as TYPE=SERVER are being exported, specify ALL, ARCHIVE, or ALLACTIVE.The following descriptions mention active and inactive backup file versions. An active backup file version is the most recent backup version for a file that still exists on the client workstation. All other backup file versions are called inactive copies. This parameter supports the following values:
- ALl
- The server exports all backup versions of files, all archived files, and all files that were migrated by an IBM Spectrum Protect™ for Space Management client.
- None
- The server does not export files, only node definitions.
- ARchive
- The server exports only archived files.
- Backup
- The server exports only backup versions, whether active or inactive.
- BACKUPActive
- The server exports only active backup versions. These active backup versions are the active versions in the IBM Spectrum Protect database at the time that the EXPORT command is issued.
- ALLActive
- The server exports all active backup versions of files, all archived files, and all files that were migrated by an IBM Spectrum Protect for Space Management client. The active backup versions are the active versions in the IBM Spectrum Protect database at the time that the EXPORT command is issued.
- SPacemanaged
- The server exports only files that were migrated by an IBM Spectrum Protect for Space Management client.
- Preview
- Specifies whether to preview the results of the export operation,
without exporting information. You can use this parameter to preview
how many bytes of data would be transferred so that you can determine
how many volumes are required. This parameter supports the following
values:
- No
- Specifies that the node information is to be exported. If you specify this value, you must also specify a device class.
- Yes
- Specifies that the operation is previewed but not completed. Information is reported to the server console and the activity log. If you specify this value, you do not need to specify a device class.
- DEVclass
- Specifies the device class to which export data is to be written.
This parameter is required if you specify PREVIEW=NO.
You cannot specify the DISK, NAS, or CENTERA device classes.
If all drives for the device class are busy when the export runs, IBM Spectrum Protect cancels lower priority operations to make a drive available.
Tip: You can export data to a storage pool on another server by specifying a device class whose device type is SERVER. - Scratch
- Specifies whether scratch volumes can be used. The default value is YES. You can specify one of
the following values:
- Yes
- Specifies that scratch volumes can be used for export. If you also specify a list of volumes, scratch volumes are used only if there is not enough space on the volumes specified.
- No
- Specifies that scratch volumes cannot be used for export. To determine how many volumes you might need, you can run the command specifying PREVIEW=YES.
- VOLumenames
- Specifies the volumes to be used to contain exported data. This parameter is optional, unless
you specify SCRATCH=NO and PREVIEW=NO. If you do not specify a volume name, scratch volumes are
used.
You can specify one of the following values:
- 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. 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. For example: 
/imdata/mt1.
d:\program
files\tivoli\tsm\data1.dsm.

REMOVABLEFILE

1-6 alphanumeric characters.SERVER 1-250 alphanumeric characters. - USEDVolumelist
- Specifies the file where a list of volumes used in the export
operation are stored. This parameter is optional.
This file can be used in the import operation. This file contains comment lines with the date and time the export was done, and the command issued to create the export.
Attention: If you specify an existing file, the file is overwritten. - FROMDate
- Specifies the earliest date for which files to be exported were
stored on the server. Files that were stored on the server earlier
than the specified date are not exported. This parameter only applies
to client file data. This parameter does not affect other information
that might be exported, for example, policy. IBM
Spectrum Protect ignores
the FROMDATE parameter when the FILEDATA parameter is set to NONE. Directory processing: The FROMDATE parameter does not apply to directories. All directories in a file space are processed even if the directories were not backed up in the specified date range.Important: If you have group data on the node that you are exporting, data that was backed up before the designated FROMDATE and FROMTIME can also be exported. Group data on the node is, for example, virtual machine data or system state backup data. This export is a result of incremental backup processing for the data. The incremental backup processing can cause extra files that do not meet the filtering criteria to be exported, so that there is a consistent image for the backup data.Use one of the following values to specify the date:
Value Description Example MM/DD/YYYY A specific date 09/15/1998 TODAY The current date TODAY TODAY-days or -days The current date minus days specified. The maximum number of days you can specify is 9999. TODAY -3 or -3. EOLM (End Of Last Month) The last day of the previous month. EOLM EOLM-days The last day of the previous month minus days specified. EOLM-1 To include files that were active a day before the last day of the previous month.
BOTM (Beginning Of This Month) The first day of the current month. BOTM BOTM+days The first day of the current month, plus days specified. BOTM+9 To include files that were active on the 10th day of the current month.
If this parameter is not specified, IBM Spectrum Protect exports all objects stored before the TODATE parameter and as qualified by the FILEDATA parameter. If no TODATE parameter is specified, then all data as qualified by the FILEDATA parameter is exported.
When a server-to-server export operation uses a relative FROMDATE, for example, TODAY-1, and the operation is restarted at a later date, the restarted process still uses the date that was used during the original operation. For example, if a server-to-server export operation is started on 07/04/2009 and the FROMDATE is specified as TODAY-1, the date that is used for selecting files is 07/03/2009. If this same export operation is suspended and restarted ten days later (07/14/2009), the date that is used for selecting files is still 07/03/2009. This behavior ensures that the entire export operation uses the same cutoff date for selecting files to export.
- TODate
- Specifies the latest date for files to be exported from the server. Files stored on the server on a date later than the TODATE value are not exported. TODATE only applies to client file data and does not affect other information that is being exported, such as policy.
- IBM Spectrum Protect ignores the TODATE parameter when the FILEDATA parameter is set to NONE.
- If a TODATE parameter is specified without a TOTIME parameter, the server exports all objects that are inserted on or before the day specified by the TODATE parameter.
- If you specified the FROMDATE parameter, the value of TODATE must be later than or equal to the FROMDATE value. If the TODATE and FROMDATE are equal, then the TOTIME parameter must be later that the FROMTIME parameter.
- The TODATE parameter does not apply to directories. All directories in a file space are processed even if the directories were not backed up in the specified date range.
Important: If you have group data on the node that you are exporting, data that was backed up after the TODATE or TOTIME parameters can be exported. An example of group data is virtual machine data or system state backup data. The incremental backup processing can cause extra files that do not meet the filtering criteria to be exported, so that there is a consistent image for the backup data.Use one of the following values to specify the date:
Value Description Example MM/DD/YYYY A specific date 10/15/2006 TODAY The current date TODAY TODAY-days or -days The current date minus days specified. The maximum number of days you can specify is 9999. TODAY –3 or –3. EOLM (End Of Last Month) The last day of the previous month. EOLM EOLM-days The last day of the previous month minus days specified. EOLM-1 To include files that were active a day before the last day of the previous month.
BOTM (Beginning Of This Month) The first day of the current month. BOTM BOTM+days The first day of the current month, plus days specified. BOTM+9 To include files that were active on the 10th day of the current month.
When a server-to-server export operation uses a relative TODATE, for example, TODAY-1, and the operation is restarted at a later date, the restarted process still uses the date that was used during the original operation. For example, if a server-to-server export operation is started on 07/04/2009 and the TODATE is specified as TODAY-1, the date that is used for selecting files is 07/03/2009. If this same export operation is suspended and restarted 10 days later (07/14/2009), the date that is used for selecting files is still 07/03/2009. This behavior ensures that the entire export operation uses the same cutoff date for selecting files to export.
- FROMTime
- Specifies the earliest time for which objects to be exported were
stored on the server. When you specify FROMTIME, you must also use
the FROMDATE parameter. This parameter only applies to client file
data. This parameter does not affect other information that might
be exported, for example, policy. Objects that were stored on the
server before the specified time and date are not exported.
IBM
Spectrum Protect ignores
the FROMTIME parameter when the FILEDATA parameter is set to NONE. Important: If you have group data on the node that you are exporting, data that was backed up before the designated FROMDATE and FROMTIME can also be exported. An example of group data on the node is virtual machine data or system state backup data, This export is a result of incremental backup processing for the data. The incremental backup processing can cause extra files that do not meet the filtering criteria to be exported so that there is a consistent image for the backup data.
The default value for this parameter when used with the FROMDATE parameter is midnight (00:00:00).
Use one of the following values to specify the time:Value Description Example HH:MM:SS A specific time 10:30:08 NOW The current time NOW NOW+HH:MM or +HH:MM The current time plus hours and minutes specified. The FROMTIME+ can only be used with a FROMDATE before today. NOW+02:00 or +02:00. If you issue this command at 5:00 with FROMTIME=NOW+02:00 or FROMTIME=+02:00, the export operation only contains files that were put on the server after 7:00 on the FROMDATE that you specify.
NOW-HH:MM or -HH:MM The current time minus hours and minutes specified NOW -02:00 or -02:00. If you issue this command at 5:00 with FROMTIME=NOW-02:00 or FROMTIME=-2:00, the export includes files that were put on the server after 3:00.
- TOTime
- Specifies the latest time that objects to be exported were stored
on the server. You must specify the TODATE parameter in order to use
the TOTIME parameter. TOTIME only applies to client file data and
does not affect other information that is being exported, such as
policy. IBM
Spectrum Protect ignores
the TOTIME parameter if the FILEDATA parameter is set to NONE.
The default value for this parameter, when used with the TODATE parameter, is midnight minus one second (23:59:59).
Important: The value of the TOTIME and TODATE parameters must be later than the FROMDATE and the FROMTIME value.Use one of the following values to specify the time:Value Description Example HH:MM:SS A specific time 10:30:08 NOW+HH:MM or+HH:MM The current time plus hours and minutes specified. NOW+02:00 or +02:00. If you issue this command at 05:00 with FROMTIME=01:00 and TOTIME=NOW+02:00, the export includes files that were stored from 01:00 until 07:00.
NOW-HH:MM or-HH:MM The current time minus hours and minutes specified. NOW-02:00 or -02:00. If you issue this command at 05:00 with FROMTIME=01:00 and TOTIME=NOW-02:00, the export includes files that were stored from 01:00 until 03:00.
- ENCryptionstrength
- Indicates which algorithm to use to encrypt passwords when exporting administrative and node
records. This parameter is optional. The default value is AES. If you are exporting to a server that
does not support AES, specify DES. You can specify one of the following values:
- AES
- Specifies the Advanced Encryption Standard.
- DES
- Specifies the Data Encryption Standard.
- ALLOWSHREDdable
- Specifies whether data from a storage pool that enforces shredding
is exported. This parameter supports the following values:
- No
- Specifies that data is not exported from a storage pool that enforces shredding.
- Yes
- Specifies that data can be exported from a storage pool that enforces shredding. The data on the export media is not shredded.
Example: Export client node information to specific tape volumes
From the server, export client node information to tape volumes TAPE01, TAPE02, and TAPE03. Specify that these tape volumes be used by a device that is assigned to the MENU1 device class.export node devclass=menu1 volumenames=tape01,tape02,tape03
Example: Export client node information by using the FSID
From the server, use the FSID to export active backup versions of file data for client node JOE to tape volume TAPE01. To determine the FSID, first issue a QUERY FILESPACE command.- To determine the FSID, issue a QUERY FILESPACE command.
query filespace joeNode Name Filespace FSID Platform Filespace Is Capacity Pct Name Type Filespace (MB) Util Unicode? --------- ---------- ---- ------- --------- --------- -------- ---- JOE \\joe\c$ 1 WinNT NTFS Yes 2,502.3 75.2 JOE \\joe\d$ 2 WinNT NTFS Yes 6,173.4 59.6 - Export the active backup versions of file data and specify that
the tape volume is used by a device that is assigned to the MENU1
device class.
export node joe fsid=1,2 filedata=backupactive devclass=menu1 volumenames=tape01
Example: Export client node information to tape volumes listed in a file
From the server, export client node information to tape volumes that are listed in the following file:
TAPEVOL
TAPEVOL.DATA
TAPE01
TAPE02
TAPE03
Specify that the tape volumes be used by a device
that is assigned to the MENU1 device class. Issue the following command:

export node devclass=menu1 volumenames=file:tapevol

export node devclass=menu1 volumenames=file:tapevol.data
