Oracle8i Backup and Recovery Guide Release 8.1.5 A67773-01 |
|
To copy a control file to the locations specified in the CONTROL_FILES initialization parameter of the target database.
After restoring the control file, you can use the replicate controlfile statement to prepare the database for mounting. This operation is equivalent to executing multiple copy controlfile statements.
Note: The restore command will automatically replicate the control file to all CONTROL_FILES locations if no restore destination is specified. |
This example restores a control file and then replicates it:
startup nomount; run { set until time 'Jun 18 1998 16:32:36'; allocate channel ch1 type disk; # restore a backup controlfile to a temporary location. restore controlfile to '/tmp/cf.tmp'; replicate controlfile from '/tmp/cf.tmp'; startup force mount; }