STM: Support Tools for HP Computers (logo)

Copy Utility Expert Tool (xstm Online Help)

The Copy Utility Tool allows you to back up data from a SCSI disk device, and at a later time, to restore the data from the backup medium to the desired disk. The tool offers the following functions: Backup, Restore, Verify and Option.

CAUTION: The Copy Utility Tool contains commands which can destroy data. For example, the Start Backup... and Start Restore... commands will overwrite pre-existing data on the target device.

Introduction

The Copy Utility Tool supports SCSI hard disks, DDS and 8mm tape drives. Within this category, the Copy Utility supports only those devices that are supported by Hewlett Packard Company. If the device is not an HP-supported device, the Copy Utility tool displays a warning message, but allows user to proceed at their own risk if he chooses so.

If the backup device is a disk, its size must be equal to or greater than the size of the disk being backed up. In other words, for a disk-to-disk copy, the size of the destination disk must be be equal to or greater than the size of the source disk.

If the backup device is a tape drive, this tool supports backup on multiple tapes. When the copy reaches the end of the current tape, this tool prompts you to insert the next tape and continue.

This tool reports any error(s) detected during the course of its execution. It terminates its task as soon as the number of errors detected exceeds the allowable number of errors. Tool progress and detailed information about the errors are logged in the Copy Utility Activity Log.

If you experience problems, consult the Troubleshooting help topic.

Step-by-Step Instructions

Running the Copy Utility Tool

To run the Copy Utility Tool on a device:

  1. If desired, change the options for the Copy Utility Tool at the main STM window. Options include the level of logging for the tool.
  2. Run the Copy Utility Tool.
  3. To select the desired commands, use the pull-down menus in the main window of the tool. For more information, see:
  4. Information is displayed in the main window of the tool or in pop-up windows.
  5. If you run into problems, see the Troubleshooting help topic.
  6. Exit the tool by selecting the Exit command from the File Menu.

Backing Up Data From a SCSI Disk

To back up data from a SCSI disk:

  1. Select Start Backup... in the Backup Menu.
  2. A display of the system map appears.
  3. Select the SCSI disk to back up (the source device).
  4. Another display of the system map appears.
  5. Select the SCSI backup device to which the data should be written (the target device).

    If the backup device is a disk, its size must be equal to or greater than the size of the disk being backed up. In other words, for a disk-to-disk copy, the size of the destination disk must be be equal to or greater than the size of the source disk.

  6. If a tape or other medium is required for the backup device, make sure it is loaded.
  7. Data is written from the source device to the SCSI backup device. Typical times for a backup on a standalone system:
  8. If you want to stop the backup process, press the INTERRUPT or ABORT key. The data on the target device will not be usable.
  9. For a detailed record of the tool's activities, go to the main STM menu and view the Copy Utility's Activity Log.

If you run into problems, see the Troubleshooting help topic.

Restoring Data From a SCSI Backup Device

To restore data from a SCSI backup device to a SCSI disk:

  1. Select Start Restore... in the Restore Menu.
  2. A display of the system map appears.
  3. Select the SCSI backup device containing the data that should be restored (the source device).
  4. Another display of the system map appears.
  5. Select the SCSI disk to which the data should be written (the target device).
  6. If a tape or other medium is required for the backup device, make sure it is loaded.
  7. Data is written from the source device to the SCSI backup device. Typical times for a restore on a standalone system.
  8. If you want to stop the backup process, press the INTERRUPT or ABORT key. The data on the target device will not be usable.
  9. For a detailed record of the tool's activities, go to the main STM menu and view the Copy Utility's Activity Log.

Verifying Backed-Up Data

To verify data by comparing data on a SCSI disk with the copy on a SCSI backup device.

  1. Select commVerifystart in the Verify Menu.
  2. A display of the system map appears.
  3. Select the SCSI device containing the data that should be verified (the source device).
  4. Another display of the system map appears.
  5. Select the SCSI device to which the data should compared (the target device).
  6. If a tape or other medium is required for the backup device, make sure it is loaded.
  7. Data in the two copies will be compared. Typical times for a verify on a standalone system:
  8. If you want to stop the verify process, press the INTERRUPT or ABORT key. None of the data on either copy will be changed.
  9. For a detailed record of the tool's activities, go to the main STM menu and view the Copy Utility's Activity Log.

Troubleshooting

Commands and Buttons

The Copy Utility Tool offers the following commands and buttons:

Save As

Use the Save As command to save the contents of the Tool's main window. (Only the most recent 200 lines can be saved.)

Print

Use the Print command to print the contents of the Tool's main window. (Only the most recent 200 lines can be printed.)

Exit

Use the Exit command to leave the Copy Utility Tool and return to the main STM window.

Start Backup...

The Start Backup command allows you to back up data from a SCSI disk to a SCSI backup device.

You may use the Set Option... command to specify the maximum number of errors allowed before the task terminates. This allowable error count applies only to read errors from the source device. If the tool detects any error when writing to the backup device, it reports the error and terminates the operation regardless of the maximum allowable error count.

If the backup device is a disk, its size must be equal to or greater than the size of the disk being backed up. In other words, for a disk-to-disk copy, the size of the destination disk must be be equal to or greater than the size of the source disk.

Start Restore...

The Start Restore command allows you to restore data from a SCSI backup medium to a SCSI disk.

The maximum number of errors allowed set by the Set Option... command has no impact on the restore operation. If the tool detects any read or write error, it reports it and terminates the operation regardless of the maximum allowable error count.

Start Verify...

The Start Verify command allows you to validate the data in the backup or restore copy.

You may use the Set Option... command to specify the maximum number of errors allowed before the task terminates. This allowable error count applies to read errors from both the source and target devices. When the number of the errors detected exceeds the maximum allowable one set by the Set Option... command, the tool terminates the verify task.

Set Option...

The Set Option command allows the user to specify the maximum number of errors before the tool terminates the ongoing task. This maximum allowable error count affects only the Backup and Verify commands.

The counter of errors is re-set every time a new task is initiated. For example, after you start a Verify operation, if the number of errors detected exceeds the maximum allowable value, the tool terminates this task and returns to the main screen. On the next task (perhaps a Backup), if the number of errors detected during the backup operation is greater than the maximum allowable value, the tool terminates the backup operation and returns to the main screen.

General Help

The General Help command displays online help for the Copy Utility Tool (the help system you are currently viewing).

For information on using the help system, select the "Using Help..." command in the Help menu in the Help window.

For online help on STM as a whole, use the Help menu in the STM main window.

Version

The Version command displays version and copyright information for the Copy Utility Tool.

Abort Button

The Abort button allows you to abort the Copy Utility Tool, halting its execution and returning to the STM main window.

The tool is requested to abort and the state of the tool execution in the system map is set to ABORT_PENDING. When the tool actually exits, its state is set to ABORTED.

Interrupt Button

The Interrupt button allows you to interrupt the tool.

When the tool receives the interrupt, it stops whatever it is doing and asks user if he wants to continue with the operation. If the reply is "Continue", the tool resumes what it was doing at the time of the interrupt. If the reply is "Abort", it terminates the operation and return to the Copy Utility main window.

The tool may not immediately receive the interrupt as it could be in the middle of an operation that should not or could not be interrupted. The interrupt is received as soon as the tool completes the operation.

The tool will receive and ignore user interrupts when it is already in the process of returning to the main window of the tool.

All three operations, Backup, Restore and Verify can be interrupted and terminated in the middle of the operation. Interrupt and subsequent termination do not negatively affect the source device in those operations and the target device of the Verify operation. However, if the operation is Backup or Restore, the data on the target device will not be usable after the interrupt and subsequent termination, because the operation was stopped at the middle and only partial data were copied over.


Top of Page

/ Diagnostics HOME


URL: http://docs.hp.com/hpux/onlinedocs/diag/stm/help/utility/copyutilx.htm
Last updated: Wed May 23 15:42:26 PDT 2001