Before you export or import data, do the following:
TSM provides the PREVIEW option on the EXPORT and IMPORT commands. When PREVIEW=YES, the report shows how much data will be transferred without actually moving any data. When PREVIEW=NO, the export or import operation is performed.
Issue each EXPORT or IMPORT command with PREVIEW=YES to determine which objects and how much data will be moved. The server sends the following types of messages to the server console and to the activity log for each operation:
To determine how much space is required to export all server data, enter:
export server filedata=all preview=yes
After you issue this command, the server starts a background process and issues a message similar to the following:
+--------------------------------------------------------------------------------+ |EXPORT SERVER started as Process 4 | +--------------------------------------------------------------------------------+
You can view the preview results on the server console or by querying the activity log.
You can request information about the background process, as described in Requesting Information about an Export or Import Process. If necessary, you can cancel an export or import process, as described in Canceling Server Processes.
To export data, you must specify a device class that supports sequential media and identify the volumes that will be used to store the exported data. Use this section to help you select the device classes and prepare sequential media volumes.
You can query the source and target servers to select a device class on each server that supports the same device type. If you cannot find a device class on each server that supports a matching device type, define a new device class for a device type that is available to both servers. See Chapter 8, Defining Device Classes.
Notes:
To estimate the number of removable media volumes needed to store export data, divide the number of bytes to be moved by the estimated capacity of a volume.
For example, you have 8mm tapes with an estimated capacity of 2472MB. If the preview shows that you need to transfer 4GB of data, then label at least two tape volumes before you export the data.
The server allows you to use scratch media to ensure that you have sufficient space to store all export data. If you use scratch media, record the label names and the order in which they were mounted. Or, use the USEDVOLUMELIST parameter on the export command to create a file containing the list of volumes used.
During an import process, you must specify the order in which removable media volumes will be mounted. This order must match the order in which volumes were mounted during the export process. To ensure that removable media volumes are mounted in the correct order, label the media with information that identifies the order in which they must be mounted during the import process. For example, label tapes as DSM001, DSM002, DSM003, and so on.
When you export data, record the date and time for each labeled volume. Store this information in a safe location, because you will need the information when you import the data. Or, if you used the USEDVOLUMELIST parameter on the export command, save the resulting file. This file can be used on the import command volumes parameter.