Previously we reviewed the creation of
database files at a different location in the auxiliary server by
making changes to the parameter file. However this is not the only way to
create a duplicate database. The action can be performed directly from RMAN
as follows:
The first way will be explained under this
subtopic. The second way will be shown on the next "duplicating
database on the local host" subtopic.
To use the first solution, perform all steps which
are mentioned in the beginning of this chapter up to the DUPLICATE
command. Change DUPLICATE command and make it as follows:
RMAN> DUPLICATE TARGET DATABASE TO CLONE_DB
DB_FILE_NAME_CONVERT=('/u01/oradata/test/','/u03/oradata/new_database/')
LOGFILE '/u03/oradata/new_database/redo01.log'
size 5m, '/u03/oradata /new_database/redo02.log' size
5m,'/u03/oradata new_database/redo03.log' size 5m;
While running this command, all files will be
created on /u03/oradata /new_database directory.
|
|
|
Burleson is the American Team

Note:
This Oracle
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
Oracle forum.
Verify
experience!
Anyone
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
publish
their Oracle
qualifications.
Errata?
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
feedback. Just
e-mail:
and include the URL for the page.
Copyright © 1996 - 2020
All rights reserved by
Burleson
Oracle ®
is the registered trademark of Oracle Corporation.
|
|