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:
To perform a logical restore, use the ontape -l command after the physical restore.
To salvage logical logs, use the ontape -S command prior to the physical restore.
If you detect a problem, you can interrupt the restore during the 10 second delay between the completion of the archive information and starting the database server.
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 ]