Skip to Main Content
Oracle in a Nutshell
book

Oracle in a Nutshell

by Rick Greenwald, David C. Kreines
December 2002
Intermediate to advanced content levelIntermediate to advanced
928 pages
85h 29m
English
O'Reilly Media, Inc.
Content preview from Oracle in a Nutshell

Name

DUPLICATE

Synopsis

Oracle9i syntax:

DUPLICATE TARGET DATABASE 
   { TO [']database_name['] 
     [ [dupOptionList] [dupOptionList ...] ]
   | FOR STANDBY [ [dupsbyOptionList] 
       [dupOptionList ...] ]
   };

dupOptionList :=
{ LOGFILE logSpec [, logSpec]... 
| NOFILENAMECHECK 
| SKIP READONLY 
| DEVICE TYPE deviceSpecifier [, deviceSpecifier ...] 
| PFILE [=] [']filename[']
} 

logSpec := 
{ 'filename' [SIZE integer [ K | M ] [REUSE]]
| GROUP integer ('filename' [, 'filename' ...]) 
   [SIZE integer [ K | M ] [REUSE]] }

dupsbyOptionList :=
{ DORECOVER | NOFILENAMECHECK }

Oracle8i syntax:

DUPLICATE TARGET DATABASE TO [']database_name[']
   [ LOGFILE logSpec [, logSpec ...]]
   [ NOFILENAMECHECK ]
   [ SKIP READONLY ];

logSpec := 
   { 'filename' [SIZE integer [ K | M ] [REUSE]]
   | GROUP integer ('filename' [, 'filename' ...]) 
      [SIZE integer [ K | M ] [REUSE]] }

Creates a duplicate database, or a standby database, from the backups of a target database. For Oracle8i, you must execute this command from within the RUN command.

Keywords

NOFILENAMECHECK

Causes RMAN not to check to see if the target database filenames are the same as those in the duplicate database. Use this option only when duplicating a database to a different host, in which case it is acceptable for the directory names and the filenames to be the same.

PFILE

Specifies the location of the parameter file for the duplicated database. RMAN uses the parameter file at this location, which you must have previously created, to start the duplicated database. You must specify ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Oracle PL/SQL

Oracle PL/SQL

Lewis Cunningham
Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Rick Greenwald, Robert Stackowiak, Jonathan Stern

Publisher Resources

ISBN: 0596003366Errata Page