You can export node definitions or file data from a server to sequential media for later importing to another server.
To issue this command, you must have system privilege.
.-*-------------. >>-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 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.
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:
You cannot specify the DISK, NAS, or CENTERA device classes.
If all drives for the device class are busy when the export runs, Tivoli Storage Manager cancels lower priority operations to make a drive available.
Possible values are:
| For this device | Specify |
|---|---|
| Tape | 1–6 alphanumeric characters. |
| FILE | Any fully qualified file name string. For example:
|
REMOVABLEFILE |
1–6 alphanumeric characters. |
| SERVER | 1–250 alphanumeric characters. |
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.
| 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, Tivoli Storage Manager 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.
| 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 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.
The default value for this parameter when used with the FROMDATE parameter is midnight (00:00:00).
| 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. |
The default value for this parameter, when used with the TODATE parameter, is midnight minus one second (23:59:59).
| 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. |
export node devclass=menu1 volumenames=tape01,tape02,tape03
query filespace joe
Node 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 node joe fsid=1,2 filedata=backupactive devclass=menu1
volumenames=tape01
TAPEVOL
TAPEVOL.DATATAPE01
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