geodin
asked on
duplicate database from previous incarnation
Need to duplicate to a qa database, on seperate host, from prod but need the qa database to be duplicated from the previous incarnation of prod.
Need help figuring out the rman command.
db version is 10.2.0.3.0.
Need help figuring out the rman command.
db version is 10.2.0.3.0.
##current rman script
run
{
allocate auxiliary channel aux0 type disk;
set until SCN 3230385720815;
duplicate target database to MRPQA;
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks,
I have reset the incarnation key and tried running recovery but get error about ambiguous database name which kinda makes sense to me since the document has me connecting to rman from the test server as if the target were the same name as prod.
Any ideas how I get around this?
Thanks,
Geodin
I have reset the incarnation key and tried running recovery but get error about ambiguous database name which kinda makes sense to me since the document has me connecting to rman from the test server as if the target were the same name as prod.
Any ideas how I get around this?
Thanks,
Geodin
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks but now I am to the point were I am trying to catalog the backup pieces I moved over from prod on the test server/host and it is failing, I will post the command and message below. I canceled the action as it hung for some time:
RMAN> restore controlfile from '/tmp/autobackup_mrpprod.b ak.2';
Starting restore at 29-APR-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=432 devtype=DISK
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:08
output filename=+FAR/mrpprod/cont rolfile/cu rrent.326. 685468029
Finished restore at 29-APR-09
RMAN> catalog start with '/data01/oracle/rman_bkup/ mrpprod1';
released channel: ORA_DISK_1
Starting implicit crosscheck backup at 29-APR-09
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=432 devtype=DISK
Crosschecked 960 objects
Finished implicit crosscheck backup at 29-APR-09
Starting implicit crosscheck copy at 29-APR-09
using channel ORA_DISK_1
Finished implicit crosscheck copy at 29-APR-09
searching for all files in the recovery area
cataloging files...
no files cataloged
searching for all files that match the pattern /data01/oracle/rman_bkup/m rpprod1
List of Files Unknown to the Database
========================== ========== =
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _04_24/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _04_27/rma n_21_51.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _04_27/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _04_25/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _04_26/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _04_23/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_13/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_14/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_15/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_16/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_17/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_18/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_27/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_28/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_26/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_25/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_24/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_23/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_22/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_21/rma n_22_30.lo g
File Name: /data01/oracle/rman_bkup/m rpprod1/09 _03_20/rma n_22_30.lo g
Do you really want to catalog the above files (enter YES or NO)? YES
cataloging files...
*** glibc detected *** double free or corruption (!prev): 0x0000000006675610 ***
user interrupt received
RMAN> restore controlfile from '/tmp/autobackup_mrpprod.b
Starting restore at 29-APR-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=432 devtype=DISK
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:08
output filename=+FAR/mrpprod/cont
Finished restore at 29-APR-09
RMAN> catalog start with '/data01/oracle/rman_bkup/
released channel: ORA_DISK_1
Starting implicit crosscheck backup at 29-APR-09
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=432 devtype=DISK
Crosschecked 960 objects
Finished implicit crosscheck backup at 29-APR-09
Starting implicit crosscheck copy at 29-APR-09
using channel ORA_DISK_1
Finished implicit crosscheck copy at 29-APR-09
searching for all files in the recovery area
cataloging files...
no files cataloged
searching for all files that match the pattern /data01/oracle/rman_bkup/m
List of Files Unknown to the Database
==========================
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
File Name: /data01/oracle/rman_bkup/m
Do you really want to catalog the above files (enter YES or NO)? YES
cataloging files...
*** glibc detected *** double free or corruption (!prev): 0x0000000006675610 ***
user interrupt received
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Has anyone followed this doc and has feedback or can elaborate on any issues that came up?
Link:
https://metalink2.oracle.com/metalink/plsql/f?p=130:14:8604963167937124760::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,293717.1,1,1,1,helvetica