Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   The ontape Backup and Restore System (IDS) > Performing an External Backup and Restore Using ontape > What Is Restored in an External Restore? >

Performing an External Restore

This section describes procedures for performing cold external restores.

Cold External Restore Procedure

If you specify the ontape -p -e command in a cold restore, you must restore all storage spaces. Use the ontape -p -e command to restore all or specific storage spaces.

To perform a cold external restore
  1. Shut down the database server.

    To shut down the database server, use the onmode -ky command.

  2. To restore the storage spaces from an external backup, use a copy command, such as cp, dd, or tar on UNIX or a file-backup program.

    You must restore the storage spaces to the same path as the original data and include all the chunk files.

  3. To perform an external restore of all storage spaces followed by a logical restore, use the following commands:
    ontape -p -e
    ontape -l

    To perform a physical external restore of specific storage spaces, followed by a logical restore, use these commands:

    ontape -p -e rootdbs
    ontape -p -e critical_space1
    ontape -p -e other_dbspaces
    ontape -l

    This step brings the database server to fast-recovery mode. The ontape utility and the database server roll forward the logical logs and bring the storage spaces online.

Example of External Restore Commands

The following table contains an example of external restore commands.

Action External Restore Command Comments
Physical external restore and logical restore ontape -p -e
ontape -l
The system restores the logical logs from the oldest external backup.
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]