STM: Support Tools for HP Computers (logo)

Copy Utility Expert Tool (mstm 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: File, Backup, Restore, Verify and Option.

CAUTION: The Copy Utility Tool contains commands which can destroy data. For example, the Backup and 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 users to proceed at their own risk if they 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 menu. Options include the level of logging for the tool.
  2. Run the Copy Utility Tool.
  3. Select the desired functions. For more information, see:
  4. Information is displayed on the screen.
  5. If you run into problems, see the Troubleshooting help topic.
  6. Exit the tool by selecting the Exit command from the File menu or by pressing the EXIT function key.

Backing Up Data From a SCSI Disk

To back up data from a SCSI disk:

  1. Select Start Backup from 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 Control-C Key. The data on the target device will not be usable.
  9. After exiting to the main UI command level, you can view a detailed record of the tool's activities by going to the Utility submenu and selecting 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 function keys.
  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 restore process, press the Control-C Key. The data on the target device will not be usable.
  9. After exiting to the main UI command level, you can view a detailed record of the tool's activities by going to the Utility submenu and selecting 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 function keys.
  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 Control-C Key. None of the data on either copy will be changed.
  9. After exiting to the main UI command level, you can view a detailed record of the tool's activities by going to the Utility submenu and selecting Activity Log.

Troubleshooting

Menu Commands and Function Control Keys

The Copy Utility Tool offers the following menu commands and function keys:

Save As

Use the Save As command to save the contents of the Tool's main window to a file. (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 exit from the Copy Utility Tool.

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 you to specify the maximum number of errors before the tool terminates the ongoing task. This maximum allowable error count affects only the Start Backup and Start Verify commands.

The counter of errors is re-set every time a new task is initiated. For example, after you execute a Start 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 Start 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 tool's main menu.

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 "HELP ON HELP" function in the main STM Help menu.

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

Version

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

Control-C Key

Pressing Control-C (CNTL-C) allows you to interrupt or abort execution of tool, or to escape to the user interface. After you press Control-C, the following function keys are displayed:

ESCAPE TO UI

The ESCAPE TO UI function key allows you to disconnect from the currently executing tool and return to the main UI command level. To reconnect to the tool, use the ATTACH function key in the UI.

INTERRUPT

The INTERRUPT function key allows you to interrupt the tool.

When the tool receives the interrupt, it stops whatever it is doing and asks you if you want 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 returns to the Copy Utility main menu and function keys.

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 menu and function keys.

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.

ABORT

The ABORT function key allows you to abort the tool.

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

CONTINUE

The CONTINUE function key allows you to continue with tool execution. The tool will continue execution just as if the Control-C key had not been pressed.


Top of Page

/ Diagnostics HOME


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