Oracle8i Recovery Manager User's Guide and Reference
Release 2 (8.1.6)

Part Number A76990-01

Library

Product

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

Recovery Manager Command Syntax, 34 of 50


replicate

Syntax


Purpose

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. 


Requirements

Keywords and Parameters

'filename' 

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. 

Examples

Replicating a Restored Control File

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; 
}

Related Topics

"copy"

"restore"


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index