Name
DUPLICATE
Synopsis
Oracle9i syntax:
DUPLICATE TARGET DATABASE { TO [']database_name
['] [ [dupOptionList
] [dupOptionList
...] ] | FOR STANDBY [ [dupsbyOptionList
] [dupOptionList
...] ] }; dupOptionList := { LOGFILElogSpec
[,logSpec
]... | NOFILENAMECHECK | SKIP READONLY | DEVICE TYPEdeviceSpecifier
[,deviceSpecifier
...] | PFILE [=] [']filename
['] }logSpec
:= { 'filename
' [SIZEinteger
[ K | M ] [REUSE]] | GROUPinteger
('filename
' [, 'filename
' ...]) [SIZEinteger
[ K | M ] [REUSE]] }dupsbyOptionList
:= { DORECOVER | NOFILENAMECHECK }
Oracle8i syntax:
DUPLICATE TARGET DATABASE TO [']database_name
['] [ LOGFILElogSpec
[,logSpec
...]] [ NOFILENAMECHECK ] [ SKIP READONLY ];logSpec
:= { 'filename
' [SIZEinteger
[ K | M ] [REUSE]] | GROUPinteger
('filename
' [, 'filename
' ...]) [SIZEinteger
[ 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 ...
Get Oracle in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.