Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   The ontape Backup and Restore System (IDS) > Restoring with ontape >

Restoring from Standard Input

To perform a restore from standard input, you must first have performed a backup to standard output. For more information, see Preparing to Back Up to Standard Output.

When you perform a restore from standard input, ontape does not prompt you for options or information. If ontape cannot perform the operation with the information you provided in the restore command, ontape exits with an appropriate error. Restoring from standard input differs from restoring from tapes in the following ways:

In the following example, ontape performs a physical restore from the file level_0_archive, which contains the archive previously performed to standard output:

cat /home/level_0_archive | ontape -p

In the following example, ontape performs a restore of a level-0 archive, followed by a restore of a level-1 archive:

cat /home/level_0_archive /home/level_1_archive | ontape -r

When these restores are completed, the database server is left in single-user mode.

Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]