|Oracle8i Recovery Manager User's Guide and Reference
Release 2 (8.1.6)
Part Number A76990-01
Recovery Manager Command Syntax, 34 of 50
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.
The restore command will automatically replicate the control file to all CONTROL_FILES locations if no restore destination is specified.
- Execute replicate controlfile only within the braces of a run command.
- At least one allocate channel statement specifying the type disk option must precede a replicate controlfile statement.
Keywords and Parameters
specifies the location of the control file to be replicated. For example, if you restore a control file backup to
/oracle/temp/cf.bak, then you would also specify this filename in the replicate command.
Replicating a Restored Control File
This example restores a control file and then replicates it:
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;