Oracle8i Recovery Manager User's Guide and Reference Release 2 (8.1.6) Part Number A76990-01 |
|
Recovery Manager Command Syntax, 4 of 50
To mount or open a database.
This example mounts the database, takes a whole database backup, then opens the database. At the RMAN prompt enter:
startup mount; run { allocate channel ch1 type disk; backup database; # now that the backup is complete, open the database. alter database open; }
To restore the control file to its default location enter the following:
startup nomount; run { allocate channel ch1 type 'sbt_tape'; restore controlfile; } alter database mount;
This example performs incomplete recovery and then resets the online redo logs:
run { allocate channel ch1 type 'sbt_tape'; set until scn 1024; restore database; recover database; alter database open resetlogs; }
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|