Before you export or import data, do the following:
TSM provides the PREVIEW option on the EXPORT and IMPORT commands. With PREVIEW=YES, the report shows how much data will be transferred without actually moving any data. With 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 system log 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 system log 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 like device type, define a new device class for a device type that is available to both servers. See Chapter 6, Managing Device Classes.
Notes:
To estimate the number of tapes needed to store export data, divide the number of bytes to be moved by the estimated capacity of a volume.
For example, cartridge system tape volumes used with 3490 tape devices have an estimated capacity of 360MB. If the preview shows that you need to transfer 720MB of data, label at least two tape volumes before you export the data.
TSM 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.
During an import process, you must specify the order in which tape volumes will be mounted. This order must match the order in which tapes have been mounted during the export process. To ensure that tapes are mounted in the correct order, label tapes with information that identifies the order in which they are 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.