Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

****************Got the opportunity to pen a Book on Database Cloud Services.......More details to follow.***************

Title : Database Cloud Revealed
Publisher : Apress
Release Date : Jan-2020

**********************************************************************************


My Cloud Certifications:

AWS Certified Solutions Architect Associate

Azure Certified Architect

Azure Certified Administrator

Oracle Cloud Infrastructure 2018 Certified Architect Associate.

Oracle Cloud Infrastructure Classic 2018 Certified Architect Associate.

Oracle Database Cloud Administrator Certified Professional.

Oracle Database Cloud Service Operations Certified Associate.

Search This Blog

Wednesday, September 21, 2011

RMAN duplicate database

10g with ASM

On Target:


Create pfile:
*** All your required memory paramerts ****
##if it from RAC to RAC/Non RAC:
cluster_database=False
#control_files= ==== comment this parameter
db_create_file_dest=
db_create_online_log_dest_1='+_REDO_01'
db_create_online_log_dest_2='+_REDO_02'
undo_tablespace= ( Make sure what are the names your Target RAC uses and put anyone of those here )

Now start the aux instance:

SQL>startup nomount pfile=
resolve any pfile conflicts

On Source:
Verify the files are there on TAPE or disk for the timestamp you want to restore/duplicate the database.

One way:-

#!/bin/ksh
export ORACLE_HOME=/fin03/u0001/oracle/product/10.2.0/db_1
export ORACLE_SID=TARGETDB
#SET UNTIL TIME "TO_DATE('09/15/2011 12:48:00', 'MM/DD/YYYY HH24:MI:SS')" ;
NLS_DATE_FORMAT="MM/DD/YYYY HH24:MI:SS"
export NLS_DATE_FORMAT
/fin03/u0001/oracle/product/10.2.0/db_1/bin/rman msglog logseq_restore_preview.log append<

No comments: