IBM Tivoli Storage Manager, Version 7.1

Scenario 3: Extracting the data to media

You can extract the data from the original server database to sequential media. The sequential media can be tape, or disk space that is defined with the FILE device class.

Procedure

  1. Log in using the root user ID on the system that has the original server. Log on with the administrator ID on a Windows system.
  2. Ensure that the device that you want to use to store the extracted data is available. The server database and the device configuration file must contain a valid device class definition for the device.
  3. From the instance directory for the server that you are upgrading, issue the command to start the extraction. Direct the output of the process to a file for monitoring. For example, issue the following command on one line:

    AIX operating systems
    nohup /usr/tivoli/tsm/upgrade/bin/dsmupgrd extractdb \
    devclass=file manifest=./manifest.txt >extract.out 2>&1 &
    HP-UX operating systems Linux operating systems Oracle Solaris operating systems
    nohup /opt/tivoli/tsm/upgrade/bin/dsmupgrd extractdb \
    devclass=file manifest=./manifest.txt >extract.out 2>&1 &
    Windows operating systems
    "c:\Program Files\Tivoli\TSM\upgrade\dsmupgrd" extractdb
    devclass=file manifest=.\manifest.txt 1>>extract.out 2>&1
    Tip: Messages that are issued during the extract operation are not saved in the server activity log. Direct the output of the utility to a file, as shown in the examples, to record the messages.
  4. Monitor the process for errors and warning messages, and for items that you might need to take action on. A message near the end of the process output indicates success or failure of the operation:
    • Success message: ANR1382I EXTRACTDB: Process 1, database extract, has completed.
    • Failure message: ANR1396E EXTRACTDB: Process 1, database extract, has completed with errors.
    For example, from the instance directory for the server that you are upgrading, issue the following command to monitor the process:
    tail -f extract.out

    The length of time that the process runs depends on the size of the database. The time will be approximately as much as the time required for a full backup of the database.

    Tip: On Windows systems, use the tail command or an equivalent utility with which you can monitor the contents of a file as it changes. For example, the Windows Server 2003 Resource Kit Tools includes the tail command, which can be used as shown in the preceding example.


Feedback