Use this command to export all or part of the server control
information and client file data directly to another server on the
network. This results in an immediate import on the target server.
Server-to-server export operations that have a FILEDATA
value other than NONE can be restarted after the operation is suspended.
The server saves the state and status of the export operation so that
it may be restarted from the point at which the operation failed or
was suspended. The export operation can be restarted at a later date
by issuing the RESTART EXPORT command. These export
operations can be manually suspended as well as restarted. Therefore,
if an export fails, it is automatically suspended if it has completed
the transmitting definitions phase.
An export operation is suspended
when any of the following conditions is detected:
- A SUSPEND EXPORT command is issued for the
running export operation
- Segment preemption - the file being read for export is deleted
by some other process
- Communication errors on a server-to-server export
- No available mount points
- Necessary volumes are unavailable
- I/O errors encountered
The export operation cannot be restarted if the export
operation fails prior to transmitting the eligible node and filespace
definitions to the target server. You must reenter the command to
begin a new export operation.
Issue the QUERY PROCESS command from the target server to monitor the progress of the import
operation. Issue the QUERY EXPORT command to list
all server-to-server export operations (that have a FILEDATA value
other than NONE) that are running or suspended.
Privilege class
To issue this command, you
must have system privilege.
Syntax
.-FILEData--=--None-------------.
>>-EXPort Server--+-------------------------------+------------->
'-FILEData--=--+-ALl----------+-'
+-None---------+
+-ARchive------+
+-Backup-------+
+-BACKUPActive-+
+-ALLActive----+
'-SPacemanaged-'
>--+----------------------------------------------+------------->
| .-FROMTime--=--00:00:00-. |
'-FROMDate--=--date--+-----------------------+-'
'-FROMTime--=--time-----'
>--+------------------------------------------+----------------->
| .-TOTime--=--23:59:59-. |
'-TODate--=--date--+---------------------+-'
'-TOTime--=--time-----'
>--+----------------------------------------+------------------->
'-EXPORTIDentifier--=--export_identifier-'
.-PREVIEWImport--=--No------.
>--+-------------------------+--+---------------------------+--->
'-TOServer--=--servername-' '-PREVIEWImport--=--+-No--+-'
'-Yes-'
.-MERGEfilespaces--=--No------.
>--+-----------------------------+------------------------------>
'-MERGEfilespaces--=--+-No--+-'
'-Yes-'
.-Replacedefs--=--No------.
>--+-------------------------+---------------------------------->
'-Replacedefs--=--+-No--+-'
'-Yes-'
.-PROXynodeassoc--=--No------.
>--+----------------------------+------------------------------->
'-PROXynodeassoc--=--+-No--+-'
'-Yes-'
.-ENCryptionstrength--=--AES-----.
>--+--------------------------------+--------------------------->
'-ENCryptionstrength--=--+-AES-+-'
'-DES-'
.-ALLOWSHREDdable--=--No------.
>--+-----------------------------+-----------------------------><
'-ALLOWSHREDdable--=--+-No--+-'
'-Yes-'
Parameters
- FILEData
- Specifies the type of files to export for all nodes defined to
the server. This parameter is optional. The default value is NONE.
If you are exporting to sequential media: The device class to access
the file data is determined by the device class for the storage pool.
If it is the same device class specified in this command, Tivoli® Storage
Manager requires
two drives to export server information. You must set the mount limit
for the device class to 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. The values are:
- ALl
- Tivoli Storage
Manager exports all backup versions of files, all archived files, and all
files that were migrated by a Tivoli Storage
Manager for Space Management client.
- None
- Tivoli Storage
Manager does not export files, only definitions.
- ARchive
- Tivoli Storage
Manager exports only archived files.
- Backup
- Tivoli Storage
Manager exports only backup versions, whether they are active or inactive.
- BACKUPActive
- Tivoli Storage
Manager exports only active backup versions.
- ALLActive
- Tivoli Storage
Manager exports all active backup versions of files, all archived files,
and all files that were migrated by a Tivoli Storage
Manager for Space Management client.
- SPacemanaged
- Tivoli Storage
Manager exports only files that were migrated by a Tivoli Storage
Manager for Space Management client.
- 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. Tivoli Storage
Manager 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, 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.
- 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.
- Tivoli Storage
Manager 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 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.
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 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.
- 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. Tivoli Storage
Manager 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. Tivoli Storage
Manager 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.
|
- TOServer
- Specifies the name of a server to which the export data is sent
directly over the network for immediate import.
Important: The
target server must be defined on the originating server with the DEFINE
SERVER command. The administrator that issues the export command must
be defined with the same administrator name and password and have
system authority on the target server.
When you specify TOSERVER,
you cannot specify the DEVCLASS, VOLUMENAMES, and SCRATCH, USEDVOLUMELIST,
and PREVIEW parameters.
- PREVIEWImport
- Specifies whether to view how much data is transferred, without
actually moving any data. This information can be used to determine
how much storage pool space is required on the target server. The
default is NO.
Valid values are:
- Yes
- Specifies that you want to preview the results of the import operation
on the target server, without importing the data. Information is reported
to the server console and the activity log.
- No
- Specifies that you want the data to be imported on the target
server without previewing the results.
- MERGEfilespaces
- Specifies whether Tivoli Storage
Manager merges client
files into existing file spaces on the target server (if they exist),
or if Tivoli Storage
Manager generates
new file space names. The default is NO.
Valid values are:
- Yes
- Specifies that imported data on the target server is merged with
the existing file space, if a file space with the same name exists
on the target server.
- No
- Specifies that Tivoli Storage
Manager generates
a new file space name for imported data on the target server if file
spaces with the same name exists.
- Replacedefs
- Specifies whether to replace definitions (not file data) on the
server. The default is NO.
Valid values are:
- Yes
- Specifies that definitions are replaced on the server if definitions
having the same name as those being imported exist on the target server.
- No
- Specifies that imported definitions are skipped if their names
conflict with definitions that are already defined on the target server.
- PROXynodeassoc
- Specifies if proxy node associations
are exported. This parameter is optional. The default value is NO.
- 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. Possible values are:
- 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 is optional. The default value is NO.
Possible values are:
- No
- Specifies that the server does not allow data to be exported from
a storage pool that enforces shredding.
- Yes
- Specifies that the server allows data to be exported from a storage
pool that enforces shredding. The data on the export media will not
be shredded.
Important: After an export operation
finishes identifying files for export, any changes to the storage
pool ALLOWSHREDABLE value is ignored. An export operation that is
suspended retains the original ALLOWSHREDABLE value throughout the
operation. You might want to consider cancelling your export operation
if changes to the storage pool ALLOWSHREDABLE value jeopardize the
operation. You can reissue the export command after any needed cleanup.
- EXPORTIDentifier
- This optional parameter specifies the name that you selected to
identify this export operation. If you do not specify a command name,
the server generates one for you. The export identifier name cannot
be more than 64 characters, cannot contain wildcard characters, and
is not case sensitive. You can use the identifier name to reference
export operations in the QUERY EXPORT, SUSPEND EXPORT, RESTART EXPORT, or CANCEL EXPORT commands. EXPORTIDENTIFIER is ignored if
FILEDATA=NONE or if PREVIEWIMPORT=YES.
If you are specifying the
EXPORTIDENTIFIER parameter, you must specify the TOSERVER parameter.
Example: Export server information directly to another
server
To export server information directly to SERVERB, issue
the following command.
export server filedata=all toserver=serverb
Example: Export server information directly to another
server using a date range
To export directly to SERVERB between
February 1, 2009 and today, issue the following command.
export server filedata=all toserver=serverb
fromdate=02/01/2009 todate=today
Example: Export server information and client file
data directly to another server using a date and time range
To export directly to SERVERB from 8:00 a.m. on February 1, 2009
until today at 8:00 a.m., issue the following command.
export server filedata=all toserver=serverb
fromdate=02/01/2009 fromtime=08:00:00
todate=today totime=08:00:00