Oracle8i Backup and Recovery Guide
Release 8.1.5

A67773-01

Library

Product

Contents

Index

Prev Prev Next


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"




Prev

Top

Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index