Before you export or import data, complete the following tasks:
ADSM 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. ADSM 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 server definitions and all backup versions, archive copies, and space-managed files to sequential media volumes, 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 and 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 the target servers about device classes 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, then 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 tapes or optical disks 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, then label at least two tape volumes before you export the data.
ADSM allows you to use scratch media to ensure that you have sufficient space on which to store all export data. If you use scratch media, be sure to record their label names and the order in which they were mounted.
During an import process, you must specify the order in which volumes will be mounted. This order must match the order in which tapes or optical disks have been mounted during the export process. To ensure that tapes or optical disks are mounted in the correct order, label tapes or optical disks 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 to indicate the order in which data is stored on the tape volumes.
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 to the server.