Rman remote cloning...

I want do a Rman remote cloning..so i need to have full backup copy of the database on the local remote system with all archive logs too....so can u please tell me how can i list the rman to copy the list of files to be cloned on the remote system...and also how can we use the dd command on the network system???

Moorthy wrote:
my question is how do i know which database raman backup to be copied ?? is there any command to check on rman....also which command i can use to copy those files across the network.?command pleaseIf you use Oracle 11g, you can use Active database clone feature and NOT copy the backup files through the network. I've video tutorial on this feature
http://kamranagayev.wordpress.com/2010/08/24/rman-cloning-database-without-connecting-to-target-db-and-recovery-catalog-11gr2/
If you use Oracle 10g, then check my following video tutorial on database clone with basic steps:
http://kamranagayev.wordpress.com/2010/06/25/rman-video-tutorial-series-creating-duplicate-and-standby-database-using-rman/

Similar Messages

  • RMAN Active Cloning: how to include SPFILE on ASM

    O.S Version     HP-UX B.11.31 U ia64
    Oracle DB Version     11.2.0.3.0
         Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Storage : ASM Diskgroups
    On RMAN active cloning of databases, how to include the SPFILE to be cloned on the ASM Storage?

    Hello;
    Check out the example here :
    http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupad.htm
    Under "Example 25-4 Duplicating from a File System to ASM (Active)"
    or
    Example 25-5 Duplicating from ASM to ASM (Active)
    Best Regards
    mseberg
    Edited by: mseberg on May 15, 2013 10:34 AM

  • RMAN Active Cloning fails with RMAN-06054: missing log file

    Version Details:
    O.S Version     HP-UX B.11.31 U ia64
    Oracle DB Version     11.2.0.3.0
         Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Scenario :
    Using RMAN Active cloning to duplicate a RAC database from Production to Development environment.
    Problem:
    At the end of the cloning the below errors are reported;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/14/2013 07:03:43
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 24751 and starting SCN of 89285945274
    RMAN Script used for Active cloning:
    #!/bin/ksh
    . setdb entDBu
    start_dt=`date +%Y%m%d_%H%M`
    job=`basename $0 ".sh"`
    rman  >> ${job}_${start_dt}.log  2>&1 <<eof
    set echo on;
    connect target sys/@DCC&(_O@entDBp1
    connect auxiliary sys/@DCC&(_O@entDBuu
    run {
    allocate channel prmy1 type disk;
    allocate auxiliary channel stby1 type disk;
    duplicate target database
    to entDBu
    from active database pfile=/app/oracle/product/11.2.0.3/db/dbs/initentDBu.ora;
    show all;
    exit
    eof
    end_dt=`date +%Y%m%d_%H%M`
    mailx -s "DR RMAN Job: $job done" "[email protected]" <<eof2
    started: ${start_dt}
    finish: ${end_dt}
    eof2How to prevent the error of RMAN-06054: media recovery requesting unknown archived log for thread  with sequence   and starting SCN of  while performing the RMAN Active Cloning? I do NOT want to use UNTIL clause.

    Sivaprasad S wrote:
    Version Details:
    O.S Version     HP-UX B.11.31 U ia64
    Oracle DB Version     11.2.0.3.0
         Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Scenario :
    Using RMAN Active cloning to duplicate a RAC database from Production to Development environment.
    Problem:
    At the end of the cloning the below errors are reported;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/14/2013 07:03:43
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 24751 and starting SCN of 89285945274RMAN Script used for Active cloning:
    #!/bin/ksh
    . setdb entDBu
    start_dt=`date +%Y%m%d_%H%M`
    job=`basename $0 ".sh"`
    rman  >> ${job}_${start_dt}.log  2>&1 <<eof
    set echo on;
    connect target sys/@DCC&(_O@entDBp1
    connect auxiliary sys/@DCC&(_O@entDBuu
    run {
    allocate channel prmy1 type disk;
    allocate auxiliary channel stby1 type disk;
    duplicate target database
    to entDBu
    from active database pfile=/app/oracle/product/11.2.0.3/db/dbs/initentDBu.ora;
    show all;
    exit
    eof
    end_dt=`date +%Y%m%d_%H%M`
    mailx -s "DR RMAN Job: $job done" "[email protected]" <<eof2
    started: ${start_dt}
    finish: ${end_dt}
    eof2How to prevent the error of RMAN-06054: media recovery requesting unknown archived log for thread  with sequence   and starting SCN of  while performing the RMAN Active Cloning? I do NOT want to use UNTIL clause.Where UNTIL clause in your script I didn't saw.
    Please try following RMAN script
    DUPLICATE TARGET DATABASE FOR STANDBY
      FROM ACTIVE DATABASE
    SPFILE
       SET "control_files"="/u01/app/oracle/oradata/stbdbcontrol01.ctl"
       SET "db_name"="prmdb"
       SET "db_unique_name"="stbdb"
       SET "db_file_name_convert"="/u01/app/oracle/oradata/prmdb","/u01/app/oracle/oradata/stbdb"
       SET "log_file_name_convert"="/u01/app/oracle/oradata/prmdb","/u01/app/oracle/oradata/stbdb"
       SET "db_recovery_file_dest"="/u01/app/oracle/fra"
       SET "diagnostic_dest"=/u01/app/oracle"
       SET "audit_file_dest"="/u01/app/oracle/admin/stbdb/adump"
    PASSWORD FILE
    NOFILENAMECHECK;
    {code}
    Please change parameters for your environment.
    Regards
    Mahir M. Quluzade                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Rman active cloning is getting failed

    Hi Team,
    when i am doing rman active cloning it is getting failed
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00406 name=/u01/oradata/ebstest/a_txn_ind05.dbf
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 02/24/2013 19:38:35
    ORA-17627: ORA-12577: Message 12577 not found; product=RDBMS; facility=ORA
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting datafile copy
    Please help

    user10721329 wrote:
    Hi Hussien,
    Thanks for the valuable reply,
    I have gone through that doc but i am trying to do cloning on the same machine not on the different machine
    My Linux version and database both are 32 bit i am trying to create a duplicate instance on the same 32 machine(side by side)Please see the solution in this link -- http://dbadailytelegraph.blogspot.ca/2009/06/duplicate-target-database-from-active.html
    Thanks,
    Hussein

  • RMAN Active cloning successful, but spfile found to be missing

    Environment:
    O.S Version :     HP-UX B.11.31 U ia64
    Oracle DB Version :     11.2.0.3.0
         Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Database files on : +ASM managed Diskgroups
    RMAN Active cloning command below is used to clone the database from one host "A" to another host "B".
    duplicate target database to testDB from active database nofilenamecheck ; Cloning completed successfully. But when i checked on the spfile existance the spfile found missing.
    SQL> show parameter spfile
    NAME                                 TYPE        VALUE
    spfile                               string      /app/oracle/product/11.2.0.3/db/dbs/spfiletestDB.oraWhat could be the cause for the spfile missing?
    I have been advised below as workaround;
    1. Create spfile or pfile from memory and bounce the db to fix this issue.
    2. RMAN Active clone script specified with the the pfile clause.
    For example.
    duplicate target database to testDB  from active database file=/app/oracle/product/11.2.0.3/db/dbs/inittestDB.ora;  Would appreciate the advise on this.
    Edited by: Sivaprasad S on Jan 31, 2013 5:13 PM

    Hello;
    What could be the cause for the spfile missing?
    This :
    duplicate target database to testDB from active database nofilenamecheckInstead of this :
    duplicate target database to testDB from active database spfile nofilenamecheckSee :
    http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmdupdb.htm
    Example 23-3
    Please consider closing some of your old questions
    Best Regards
    mseberg

  • RMAN database cloning

    1)While cloning using RMAN when we say " duplicaicate target database to testdb" will RMAN apply archives which are not archived (uning "backup database archivelog all") or not.
    2) Why do we need to connect to the target (rman target=prod@toprod auxillary=/ catalog=cat@tocat ( i.e source db... this db we are cloning form).
    we have the backup of the backup's in a say NFS mout and we have info about backup in the catalog?

    Hello;
    Dan's version question is important because Oracle 11 has many additional duplication options.
    That's said if you copy the archive to the remote server it will use them in both Oracle 10 and 11.
    Here's my Oracle 11 - Duplicating a Database to a Remote Host with the Same Directory Structure short notes :
    http://www.visi.com/~mseberg/rman/active_database_duplicating.html
    and with different directory structure :
    http://www.visi.com/~mseberg/rman/diff_database_duplicating.html
    Best Regards
    mseberg

  • Is it possible to install and run RMAN remotely ?

    Is it possible to install and run RMAN on a separate remote network-connected platform from the platform of the Oracle DB instance with which RMAN was initially installed without any additional licensing ?
    I.e. is it possible to copy the RMAN executable and any required libraries to the remote platform and successfully run RMAN on the remote platform to backup the Oracle DB instance with which RMAN was initially installed without any additional licensing ?
    This is using RMAN with a recovery catalogue in the target database control file.
    Thanks,
    Brett.

    Hi Kostya,
    Depends on what you mean. Default the SOA Suite installs a Oracle Lite database to use for hydration storage. So default there is no real database and therefore you can not install ApEx. But you can configure the SOA Suite to use a "normal" database, and then you can use ApEx.
    Regards Pete

  • RMAN DUPLICATION(cloning)

    Hi,
    Please give some metalink id for RMAN cloning (from one host to different host)...
    iam searching for the documents but no standard & clear documents ............. please help....
    Thank u..

    Hi;
    We discussed here many times same topic here. Please use search mechanisim;
    One of the from search
    Rman-Clone db
    database cloning from activedatabase
    Regard
    Helios

  • RMAN-05517:  cloning a database issue

    hi,
    I am using oracle 10.2.0 on windows xp and try cloning database using RMAN duplicate command on the same system. my original database is orcl and i am cloning it to clone(database name).
    and got the error
    RMAN> run
    2> {
    3> allocate auxiliary channel aux1 device type disk;
    4>
    5>        SET NEWNAME FOR DATAFILE 1 TO 'D:\ORACLE\ORADATA\clone\SYSTEM01.DBF';
    6>        SET NEWNAME FOR DATAFILE 2 TO 'D:\ORACLE\ORADATA\clone\UNDOTBS01.DBF';
    7>      SET NEWNAME FOR DATAFILE 3 TO 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\clone\SYSAUX01.DBF';
    8>      SET NEWNAME FOR DATAFILE 4 TO 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\clone\USERS01.DBF';
    9>
    10> duplicate target database to 'clone';
    11> }
    allocated channel: aux1
    channel aux1: sid=156 devtype=DISK
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting Duplicate Db at 03-JUL-09
    released channel: aux1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/03/2009 16:49:29
    RMAN-05501: aborting duplication of target database
    RMAN-05517: temporary file D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEMP01.DBF conflicts with file used by target databasei know this my original file but i can't find out SET NEWNAME FOR DATAFILE 4 TO 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\clone\USERS01.DBF'; like command for temporary files.
    i tries like
    RMAN> run
    2> {
    3> allocate auxiliary channel aux1 device type disk;
    4>
    5>        SET NEWNAME FOR DATAFILE 1 TO 'D:\ORACLE\ORADATA\clone\SYSTEM01.DBF';
    6>        SET NEWNAME FOR DATAFILE 2 TO 'D:\ORACLE\ORADATA\clone\UNDOTBS01.DBF';
    7>      SET NEWNAME FOR DATAFILE 3 TO 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\clone\SYSAUX01.DBF';
    8>      SET NEWNAME FOR DATAFILE 4 TO 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\clone\USERS01.DBF';
    9>      SET NEWNAME FOR DATAFILE  'D:\oracle\product\10.2.0\oradata\orcl\TEMP01.DBF' TO 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\clone\TEMP01.DBF';
    10> duplicate target database to 'clone';
    11> }
    allocated channel: aux1
    channel aux1: sid=156 devtype=DISK
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    released channel: aux1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of set command at 07/03/2009 16:35:13
    RMAN-20201: datafile not found in the recovery catalog
    RMAN-06010: error while looking up datafile: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEMP01.DBFbut no use. on googled about it i can't find any thing.
    Thanks
    umesh

    Umesh Sharma wrote:
    hi,
    googled about it i can't find any thing.one of your first steps when looking for an answer shoud be visiting tahiti.oracle.com.
    Working with tempfiles when using rman duplicate has been mentioning here
    Thanksok
    umesh

  • RMAN  remote backup

    hello all,
    I want to backup my db by RMAN from a client machine and create backup file in this client machine. how can i doing it?
    regards,
    paryab.

    I installed RMAN on client. server will be access to client by \\xxx.xxx.xxx.xxx method and can be create file on my appropriate folder. but when i use following command get error.
    RMAN> configure channel device type disk format '\\192.168.xxx.xxx\c$\backup_rman\%u';
    new RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '\\192.168.xxx.xxx\c$\backup_rman';
    new RMAN configuration parameters are successfully stored
    RMAN> backup as copy spfile;
    Starting backup at 15-JAN-08
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 15-JAN-08
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/15/2008 07:31:35
    ORA-19504: failed to create file "\\192.168.xxx.xxx\C$\BACKUP_RMAN\0P76JKM9_1_1"
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 5) Access is denied.

  • RMAN-06054: media recovery requesting unknown archived log

    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/16/2013 09:03:43
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 34751 and starting SCN of 8923445274I am receiving the error above on performing RMAN Active cloning, please advise how to resolve this

    In addition to what was said, I can think of two other possibilities for RMAN-6054 during duplicate: bugs such as 12625205 (also see 8554110); duplicate was run earlier without removing the old restored files (Note 1549172.1). In the first case, just specify SCN or find the actual log file and speficy log sequence, instead of time. In the latter case, remove the old restored files or speficy noresume.
    Edited by: user11989003 on May 29, 2013 10:17 AM

  • Duplicate Problems (RMAN is looking at the wrong backup)

    We are running into a problem when we try to duplicate our database. Here is the process we use to duplicate:
    delete old backup files (we only use RMAN for cloning so we don't need them)
    set prod db environment variables<run rman
    connect target sys/####;
    backup database;
    exit;
    set test db environment variables<shutdown test database, rename test db folder (in case we missed getting something important out) create a new folder for test db.
    start test db (nomount)
    rman
    connect target sys/####@PROD
    connect auxiliary sys/####@TEST
    run
    allocate auxiliary channel disk1 type disk;
    duplicate target database to TEST;
    we get this error:
    channel disk1: reading from backup piece E:\RMAN\PROD\BKUP_PROD_610891176_1
    ORA-19870: error reading backup piece E:\RMAN\PROD\BKUP_PROD_610891176_1
    ORA-19505: failed to identify file "E:\RMAN\PROD\BKUP_PROD_610891176_1"
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    failover to previous backup
    The backup file RMAN is trying to read is the backup from our previous clone. How can I tell RMAN to look at the backup we just made?
    I've run "list backup;" and the most recent backup is shown there. We've run into this problem a couple of times now, but not everytime. I can't find any rhyme or reason for why it works or fails but the process is the same sometimes we can just wait a half-hour or an hour and it works. Anyone have any ideas that could help?
    BTW - We aren't using a recovery catalog.

    http://dbataj.blogspot.com/2006/12/duplicating-database-with-recovery.html

  • In Regarding to Rman

    Hi,
    There is client requirement to confiquire rman on all development environments.
    The prodcution and preproduction environment Rman confiquired by third party vendor and the team who are supporting production and preproduction are reluctant to share the setup document.
    I have being supporting only the development environments.I am new to rman setup.
    Now the requirement from third party,To perform cloning from prodcution to test environment, rman should be confiquired on all development environments. Can you please shed some light on how to enable/confiquire this on development environment.
    With Regards,
    Srini

    Please refer to RMAN documentation for your database version.
    Database Documentation
    http://www.oracle.com/technetwork/indexes/documentation/index.html#database
    For RMAN Cloning, please see old threads which discuss the same topic -- http://forums.oracle.com/forums/search.jspa?threadID=&q=RMAN+AND+Cloning&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Two Questions(RMAN & TEMP. TBS)!!

    Hi all,
    I have Production DB of which i want to take Backup from a remote machine with RMAN.
    i connected to Production DB with NOCATALOG option from remote machine
    now i want to configure Rman setting..
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'E:\oracle\oradata\RMAN\ORA_BACKUP%T_s%s'
    So the backup file will be stored on which Machine on RMAN(remote machine) or Production DB?
    Secondly
    my Temporary tablespace data file has grown to 2 GB..
    but the objects are stored temporary on this file..after a restart the segments are released from the Temporary TBS(from Data files)..so why even after this it still is of 2GB?
    Thanx in Advance!!

    Hi,
    Thanx for reply.
    The real RMAN process runs on the target machine, so backups are stored >>there, not on the machine from which you connect. this is the case where i connect with NOCATALOG option.
    but what if connected with Catalog option..then Backups of Prod. DB will be stored
    on my machine from where i'm connected to Prod DB...?
    i think it will store on my pc.(i.e. from where i'm running RMAN utility)
    Thanx in Advance!!
    Message was edited by:Ora-Lad
    Got the Answer
    from RMAN Docs.
    Nevertheless, maintaining a recovery catalog
    is strongly encouraged. If you create a catalog on a separate machine, and if the
    production machine fails completely, then you have all the restore and recovery
    information you need in the catalog.

  • Do any Windows Frontends exist for RMAN?

    We have Oracle 8.1.7 running on AIX, but our workstations are all Windows-based. Does such a tool exist to manage RMAN remotely from a Windows machinge with a GUI frontend? We are in the middle of testing a new system, so frequent backups and restorations are needed.
    -- Cameron

    We have Oracle 8.1.7 running on AIX, but our workstations are all Windows-based. Does such a tool exist to manage RMAN remotely from a Windows machinge with a GUI frontend? We are in the middle of testing a new system, so frequent backups and restorations are needed.
    -- Cameron You can install the oracle client software on the windoze client. Run the OEM (oracle enterprise manager)
    and from there you can access the backup manager. {on the server side first use the emca to create the repository and then use the command oemctrl start oms to start the oracle management server)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

Maybe you are looking for

  • SFTP support in Flash Builder?

    Hi all, I wanted to ask whether there is SFTP support somewhere in the Flash Builder / Flex Builder or whether I can somehow add this (plugin?). I searched the internet and I didn't come up with much about it. (I just downloaded and installed Flash B

  • Migrating iWeb site from '06 version to '09 version

    I recently found that I could not publish a blog page using my old '06 version of iWeb and was instructed to upgrade. I just upgraded to the '09 version. It was also recommended to me that I first save my iWeb site onto a USB, which I did. I now have

  • Using Mapviewer with MrSID format images

    Hello, I'm using Mapviewer, it only supports JPEG and GIF formats so If you want to use other formats, you have to create your own Custom Image Render. I have tried to do this with ECW format (there is an example in Mapviewer Documentation) because w

  • System Help! Some stop running

    SOME SERVICES STOP AUTOMATICALLY IF THEY ARE NOT IN USE BY OTHER SERVICES OR PROGRAMS

  • FN Accessibility and Button Support won't work

    Hi, So like many other people I also have problem with button support. ECO button doesn't do nothin, as well as wifi button and the one next to it which before has opened toshiba bulletin board. I suspect that the problem is CCleaner with which I hav