RMAN Backup Clone

Hi All,
Oracle 10gR2. Usual RMAN backups are taken to tapes using HP Data Protector.
Want to create a RMAN secondary backup (daily full backups) on the same SAN storage.
So that we can restore very fast.
What options do I have to take the backups.

Hi,
With backup as copy feature;
in a case of failure, you can benefit the following example cases:
RMAN> SWITCH DATABASE TO COPY;
RMAN> sql 'alter tablespace users offline';
RMAN> switch datafile 4 to copy;
RMAN> recover datafile 4;
RMAN> sql 'alter tablespace users online';
What i understood is you have a production database which you backup to tape with HP data protector now.
And i offer you forget direct backup to tape and, backup it to disk (FRA) first , then from FRA to tape.
But you mention about primary database in your second post, do ypu backup from standby or something else?

Similar Messages

  • RMAN backups valid for clone database.

    Hi,
    If we clone the database using rman that clone database will be having different database id, incurnation number and new resetlogfiles.
    so here we can't use source database backup files. if we want to use that source database backup files to clone database what is the procedure to clone the database.
    please let me know.
    thank you very much...!

    899329 wrote:
    Hi,
    If we clone the database using rman that clone database will be having different database id, incurnation number and new resetlogfiles.
    so here we can't use source database backup files. if we want to use that source database backup files to clone database what is the procedure to clone the database.
    please let me know.
    thank you very much...!You can clone/refresh database as
    1) RMAN duplicate
    2) RMAN restore from backups(restore control + database)
    using source backup files:-
    3) Hot backup clone ( begin backup, copy files, end backup, create controlfile using trace)
    4) cold clone (shutdown database, copy datafiles, create controlfile)
    5) whole database export & import

  • Create a new Database in an other server using a copie of RMAN backup

    Hi all,
    I want to create an other instance for our production database. We have disk and tape in rman backup. My question is can i create a new database using our disk backup in an other server?
    If some procedure or steps is there, email it to my adresse [email protected]
    Hamid.
    Thanks

    By means of the use of Recovery Manager it is possible to duplicate a database out from a previously taken rman backup. The method will be outlined in the next few lines.
    Let's assume a source database named SRCDB and the target database, named GEMINI. A unix like environment is assumed, but it can be implemented on windows as well, just beware of the particular Oracle implementation on a windows platform (orapwd file name, service creation, path format)
    1. Create a password file for the Cloned (GEMINI) instance:
    orapwd file=/u01/app/oracle/product/9.2.0.1.0/dbs/orapwGEMINI password=password entries=10
    2. Configure tnsnames.ora and listner.ora
    Properly identify the database at the tnsnames.ora and have the instance manually registered against the listener.ora files, both files located at the $ORACLE_HOME/network/admin directory.
    2.a Manually register the database against the listener (listener.ora)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/9.2.0.1.0)
    (SID_NAME = GEMINI)
    2.b Added the target GEMINI to the tnsnames.ora
    GEMINI =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.mydomain.com)(PORT = 1521))
    (CONNECT_DATA =
    (ORACLE_SID = GEMINI)
    2.c Reload the listener
    lsnrctl reload
    3. Create a new init.ora for the cloned database.
    Next create an init.ora file for the cloned database. In case the same paths cannot be used on the target host, either because it is the same source host or because those paths are not reproducible on the target, then DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT may be required to be defined
    DB_NAME=GEMINI
    CONTROL_FILES=(/u02/oradata/GEMINI/control01.ctl,
    /u02/oradata/GEMINI/control02.ctl,
    /u02/oradata/GEMINI/control03.ctl)
    # Convert file names to allow for different directory structure.
    DB_FILE_NAME_CONVERT=(/u02/oradata/SRCDB/,/u02/oradata/GEMINI/)
    LOG_FILE_NAME_CONVERT=(/u01/oradata/SRCDB/,/u01/oradata/GEMINI/)
    # block_size and compatible parameters must match those of the source database
    DB_BLOCK_SIZE=8192
    COMPATIBLE=9.2.0.0.0
    4. Connect to the cloned instance
    ORACLE_SID=GEMINI; export ORACLE_SID
    sqlplus /nolog
    conn / as sysdba
    5. Create an SPFILE based on the init.ora
    CREATE SPFILE FROM PFILE='/u01/app/oracle/admin/GEMINI/pfile/init.ora';
    6. Start the database in NOMOUNT mode:
    STARTUP FORCE NOMOUNT;
    7. Connect to the TARGET, CATALOG and AUXILIARY databases.
    By means of the rman three connections are open, one for the Source Database (SOURCEDB), another for the Catalog database (RCAT), and one more for the cloned database (GEMINI)
    ORACLE_SID=GEMINI; export ORACLE_SID
    rman TARGET sys/password@SRCDB CATALOG rman/rman@RCAT AUXILIARY /
    8. Complete or Incomplete clone (recover)
    From the rman the database using one of the following commands:
    8.a Clone the database by means of a complete recover.
    DUPLICATE TARGET DATABASE TO GEMINI;
    8.b Clone the database up to a defined point in time in the past by means of an incomplete recover
    DUPLICATE TARGET DATABASE TO GEMINI UNTIL TIME 'SYSDATE-2';
    9. Process finished.
    Once the process is finished, the newly created GEMINI database is ready to be used as an independent new cloned database.
    Ref. RMAN Clone a Database
    ~ Madrid

  • Creating a new controlfile with datafiles in RMAN backup

    Hi,
    i am using oracle 10g (10.2.0.1) in RHEL5 server. i am trying to restore a RMAN backup from one server to another new server with new db name. i have taken out the spfile from RMAN autobackup and created pfile from it and edited the pfile with new dbname and directory structure and started the db in nomount with the new pfile. Now i have restored the controfile from the RMAN autobackup tried to put the database in mount state. But it failed due to the below error
    RMAN-03002: failure of alter db command at 11/05/2012 21:44:56
    ORA-01103: database name 'ORADB' in control file is not 'DEVDB'
    Hence i shutdown the database and started the db in nomount with new pfile and tried to create the controlfile with the new db name,but it failed as it is looking for the datafiles.
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file
    '/u01/app/oracle/oradata/DEVDB/datafile/o1_mf_system_80jq0kfw_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    All my datafiles reside in my RMAN backup. How to get the datafiles from RMAN backup in the above scenario??
    Regards,
    007

    Hello;
    The location and filename and DBIS will be different, but you need something like this :
    $ORACLE_HOME/bin/rman  << EOF
    CONNECT TARGET /
    STARTUP NOMOUNT;
    SET DBID 3754763357;  #DBID of PROD database
    RUN
       ALLOCATE CHANNEL c1 DEVICE TYPE disk format '/u01/oradata/backups';
       RESTORE CONTROLFILE FROM '/u01/oradata/backups/sb_t790762003_s85_p1';
       ALTER DATABASE MOUNT;
       SET NEWNAME FOR DATAFILE 1 TO '/u01/app/oracle/oradata/CLONE/system01.dbf';
        SET NEWNAME FOR TEMPFILE 1 TO '/u01/app/oracle/oradata/CLONE/temp01.dbf';
       RESTORE DATABASE;
       SWITCH DATAFILE ALL;
       RECOVER DATABASE;
       release channel c1;
    ALTER DATABASE OPEN RESETLOGS; So you need "SET NEWNAME" for all your files
    Full Example
    http://www.visi.com/~mseberg/rman/restore_database_without_catalog.html
    Best Regards
    mseberg

  • Restoring Rman backup on New Host with different directory structure

    Hi,
    I have a following scenario to clone the database.
    1. clone the database on new server
    2. source is non - ASM and target is ASM
    3. On source incremental level 0 backup taken on disk connecting to catalog, the backup is moved to target host to different directory structure
    4. source is running on 32-bit Linux two node Rac and Target is running on 64-bit Linux two node Rac
    I did the following steps and getting below error:
    1. I copied incremental Level 0 backup to target server(where we need to build new db) to different directory structure
    2. On target i created pfile and build the instance, as dbf file are in multiple locations in source i put following tow parameters in init.ora of target database
    *.db_file_name_convert =(/u02/oradata/app1p/,+QADATA2/udev/datafile),(/u03/oradata/app1p/,+QADATA1/udev/datafile),(/u12/oradata/app1p/,+QADATA1/udev/datafile,),(/u99/oradata/app1p/,+QADATA1/udev/datafile),(/u09/oradata/app1p/,+QADATA1/udev/datafile),(/u14/oradata/app1p/,+QADATA1/udev/datafile),(/u07/oradata/app1p/,+QADATA1/udev/datafile),(/u06/oradata/prod/,+QADATA1/udev/datafile'),(/u05/oradata/app1p/,+QADATA1/udev/datafile)
    *.log_file_name_convert =("/u99/oradata/app1p/","+QADATA2/udev/onlinelog/")
    3. connected to rman -->> started db in nomount -->> restored the controlfile --> cataloged the backup piece and then i am trying to restore
    All the above steps i did using the Doc id *How To Restore Rman Backups On A Different Node When The Directory Structures Are Different [ID 419137.1]*
    script i am using is :
    RMAN> run {
    2> set until time "to_date('DEC/20/2010 05:30:00','Mon/DD/YYYY HH24:MI:SS')";
    3> allocate channel c1 device type disk;
    4> allocate channel c2 device type disk;
    5> allocate channel c3 device type disk;
    6> allocate channel c4 device type disk;
    7> set newname for datafile 1 to '+QADATA1/UDEV/DATAFILE';
    8> set newname for datafile 2 to '+QADATA1/UDEV/DATAFILE';
    9> set newname for datafile 3 to '+QADATA1/UDEV/DATAFILE';
    10> set newname for datafile 4 to '+QADATA1/UDEV/DATAFILE';
    11> set newname for datafile 5 to '+QADATA1/UDEV/DATAFILE';
    12> set newname for datafile 6 to '+QADATA1/UDEV/DATAFILE';
    13> set newname for datafile 54 to '+QADATA1/UDEV/DATAFILE';
    set newname for datafile 63 to '+QADATA1/UDEV/DATAFILE';
    14> 15> set newname for datafile 67 to '+QADATA1/UDEV/DATAFILE';
    16> set newname for datafile 68 to '+QADATA1/UDEV/DATAFILE';
    17> set newname for datafile 50 to '+QADATA1/UDEV/DATAFILE';
    18> set newname for datafile 39 to '+QADATA1/UDEV/DATAFILE';
    19> set newname for datafile 38 to '+QADATA1/UDEV/DATAFILE';
    20> set newname for datafile 7 to '+QADATA1/UDEV/DATAFILE';
    21> set newname for datafile 9 to '+QADATA1/UDEV/DATAFILE';
    22> set newname for datafile 8 to '+QADATA1/UDEV/DATAFILE';
    23> set newname for datafile 11 to '+QADATA1/UDEV/DATAFILE';
    24> set newname for datafile 10 to '+QADATA1/UDEV/DATAFILE';
    25> set newname for datafile 66 to '+QADATA1/UDEV/DATAFILE';
    26> set newname for datafile 48 to '+QADATA1/UDEV/DATAFILE';
    27> set newname for datafile 47 to '+QADATA1/UDEV/DATAFILE';
    28> set newname for datafile 12 to '+QADATA1/UDEV/DATAFILE';
    29> set newname for datafile 13 to '+QADATA1/UDEV/DATAFILE';
    30> set newname for datafile 14 to '+QADATA1/UDEV/DATAFILE';
    31> set newname for datafile 15 to '+QADATA1/UDEV/DATAFILE';
    32> set newname for datafile 16 to '+QADATA1/UDEV/DATAFILE';
    33> set newname for datafile 18 to '+QADATA1/UDEV/DATAFILE';
    34> set newname for datafile 17 to '+QADATA1/UDEV/DATAFILE';
    35> set newname for datafile 19 to '+QADATA1/UDEV/DATAFILE';
    36> set newname for datafile 69 to '+QADATA1/UDEV/DATAFILE';
    37> set newname for datafile 60 to '+QADATA1/UDEV/DATAFILE';
    38> set newname for datafile 59 to '+QADATA1/UDEV/DATAFILE';
    39> set newname for datafile 55 to '+QADATA1/UDEV/DATAFILE';
    40> set newname for datafile 53 to '+QADATA1/UDEV/DATAFILE';
    41> set newname for datafile 44 to '+QADATA1/UDEV/DATAFILE';
    set newname for datafile 22 to '+QADATA2/UDEV/DATAFILE';
    42> 43> set newname for datafile 21 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 20 to '+QADATA2/UDEV/DATAFILE';
    44> 45> set newname for datafile 72 to '+QADATA2/UDEV/DATAFILE';
    46> set newname for datafile 70 to '+QADATA2/UDEV/DATAFILE';
    47> set newname for datafile 65 to '+QADATA2/UDEV/DATAFILE';
    48> set newname for datafile 64 to '+QADATA2/UDEV/DATAFILE';
    49> set newname for datafile 57 to '+QADATA2/UDEV/DATAFILE';
    50> set newname for datafile 56 to '+QADATA2/UDEV/DATAFILE';
    51> set newname for datafile 49 to '+QADATA2/UDEV/DATAFILE';
    52> set newname for datafile 45 to '+QADATA2/UDEV/DATAFILE';
    53> set newname for datafile 26 to '+QADATA2/UDEV/DATAFILE';
    54> set newname for datafile 25 to '+QADATA2/UDEV/DATAFILE';
    55> set newname for datafile 24 to '+QADATA2/UDEV/DATAFILE';
    56> set newname for datafile 23 to '+QADATA2/UDEV/DATAFILE';
    57> set newname for datafile 27 to '+QADATA2/UDEV/DATAFILE';
    58> set newname for datafile 28 to '+QADATA2/UDEV/DATAFILE';
    59> set newname for datafile 29 to '+QADATA2/UDEV/DATAFILE';
    60> set newname for datafile 30 to '+QADATA2/UDEV/DATAFILE';
    61> set newname for datafile 73 to '+QADATA2/UDEV/DATAFILE';
    62> set newname for datafile 32 to '+QADATA2/UDEV/DATAFILE';
    63> set newname for datafile 31 to '+QADATA2/UDEV/DATAFILE';
    64> set newname for datafile 34 to '+QADATA2/UDEV/DATAFILE';
    65> set newname for datafile 33 to '+QADATA2/UDEV/DATAFILE';
    66> set newname for datafile 35 to '+QADATA2/UDEV/DATAFILE';
    67> set newname for datafile 36 to '+QADATA2/UDEV/DATAFILE';
    68> set newname for datafile 37 to '+QADATA2/UDEV/DATAFILE';
    69> set newname for datafile 51 to '+QADATA2/UDEV/DATAFILE';
    70> set newname for datafile 43 to '+QADATA2/UDEV/DATAFILE';
    71> set newname for datafile 40 to '+QADATA2/UDEV/DATAFILE';
    72> set newname for datafile 41 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 71 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 58 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 52 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 46 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 42 to '+QADATA2/UDEV/DATAFILE';
    73> 74> 75> 76> 77> 78> set newname for datafile 62 to '+QADATA2/UDEV/DATAFILE';
    79> set newname for datafile 61 to '+QADATA2/UDEV/DATAFILE';
    80> set newname for datafile 74 to '+QADATA2/UDEV/DATAFILE';
    81> restore database;
    82> switch datafile all;
    83> recover database;
    84> alter database open resetlogs;
    85>
    86> release channel c1;
    87> release channel c2;
    88> release channel c3;
    89> release channel c4;
    90> }
    Getting the following error, copied lines from the error i am getting.
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 27-DEC-10
    released channel: c1
    released channel: c2
    released channel: c3
    released channel: c4
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/27/2010 08:09:08
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 74
    RMAN-06100: no channel to restore a backup or copy of datafile 73
    Please advice...
    Thanks,
    Tanveer Mohammed

    If you would like, please refer the link:-
    http://gavinsoorma.com/2010/04/creating-an-asm-duplicate-database-from-a-non-asm-database/

  • How to create new database with rman backup

    hi,
    i took a rman backup with nocatelog. can i make a new database with that rman backup.
    if yes then how ? i m using oracle 9i.
    thxs

    'NEW' doesn't seem to be the right word here, but you can DUPLICATE (clone) an existing database or restore it to a new host:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/toc.htm
    Werner

  • Can rman backups be used to restore to a different server

    We are using R12 with 10gr2 database
    If i take Rman backups, can they be used to restore on some other test server for cloning and bringing that test server upto date like the production.
    I am confues and dont know and This is the only reason i dont use rman for backups, instead take cold backups manually every night as they are used every week to clone some other server for testing purpose
    Please advice
    Thanks

    Hi..
    1. Copy the pfile to the new server.
    2. startup nomount the database using the pfile.
    3. Open a new RMAN session and connect to this database
    4. Restore the controlfile, this will bring the database in mount stage
    5. Once step 4 is completed, restore and recover the database.
    NOTE:-- These are the steps for restoring the database when the RMAN backup pieces are copied to the same location as they are on the main server.If you copy the rman backup to some different location, then you will have to use the CATALOG BACKUPPIECE 'location' command before restoring the database.
    Go through [http://download.oracle.com/docs/cd/B10500_01/server.920/a96566/rcmdupdb.htm]
    HTH
    Anand
    Edited by: Anand... on Dec 23, 2008 8:13 PM Added link

  • The specified RMAN backup is invalid ?

    Hi,
    I'm trying to clone database by enterprise manager (OS: Win Server 2003, DB: 11gR1), but I'm getting the following error:
    >
    RMAN Backup Location - The specified RMAN backup is invalid. Could not identify controlfile from the backup.
    >
    I'm using this opyion:
    >
    -An existing database backup
    -RMAN backup
    >
    The "* RMAN Backup Location" I selected is where a full database backup location.
    what could be the problem?
    Saad,

    Saad Nayef wrote:
    Hi,
    I'm trying to clone database by enterprise manager (OS: Win Server 2003, DB: 11gR1), but I'm getting the following error:
    >
    RMAN Backup Location - The specified RMAN backup is invalid. Could not identify controlfile from the backup.
    >As per the error message, the control file backup is not there. So did you take this backup or its passed over to you? Whoever did the backup, they need to confirm the validity of it including the control file backup status.
    HTH
    Aman....

  • E-business Suite RMAN backup retention

    Hi,
    i want to retain my backup for clone for 90 days. One parameter need to set at RMAN level is CONFIGURE RETENTION POLICY TO REDUNDANCY 90;
    What other parameter need to set at DB level?
    Thanks

    i want to retain my backup for clone for 90 days. One parameter need to set at RMAN level is CONFIGURE RETENTION POLICY TO REDUNDANCY 90;
    What other parameter need to set at DB level?Rman backup retention policy [ID 462978.1]
    Oracle10g / 11g - Getting Started with Recovery Manager (RMAN) [ID 360416.1]
    RMAN : Consistent Backup, Restore and Recovery using RMAN [ID 162855.1]
    Backup and Recovery
    http://www.oracle.com/pls/db112/portal.portal_db?selected=4&frame=#backup_and_recovery
    Thanks,
    Hussein

  • Cloning DB using RMAN Backup in a single system

    Hi,
    I want to clone my database using RMAN backup in the same system only. Please let me know the suitable document for that in both windows and linux.
    Thanks in advance
    Mahi

    hi
    find for both platforms linux and windows
    http://www.dizwell.com/prod/node/9
    http://www.pgts.com.au/pgtsj/pgtsj0211b.html
    Regards
    Vignesh Bala
    Message was edited by:
    Vignesh Bala

  • Restoring 9i Rman backup in 10g

    Hi,
    Is it possible to clone a 10g database with the Rman backup of 9i database ? if yes what will be the steps for that ?

    Hi;
    Please see:
    RMAN Compatibility Matrix [ID 73431.1]
    Answers To FAQ For Restoring Or Duplicating Between Different Versions And Platforms [ID 369644.1]
    Regard
    Helios

  • 10g RMAN backup in 11g

    Hi all,
    1. Have installed 11.1.0.1 and upgraded that to 11.2.0.1. Have taken a cold rman golden backup of database files without any data.
    2. Now doing a cloning to another server. Copied the oracle home 11.2.0.1.
    3.Unfortunately the datafiles backup mountpoint got corrupted and lost the cold rman backup files.
    4. Is that clone of 11.1.0.1 datafiles to 11.2.0.1 oracle home can be done??
    baskar.l

    1. Have installed 11.1.0.1 and upgraded that to 11.2.0.1. Have taken a cold rman golden backup of database files without any data.What does golden backup of database files..
    2. Now doing a cloning to another server. Copied the oracle home 11.2.0.1.
    3.Unfortunately the datafiles backup mountpoint got corrupted and lost the cold rman backup files.
    4. Is that clone of 11.1.0.1 datafiles to 11.2.0.1 oracle home can be done??what you are trying to do clone of 11.1 datafiles to 11.2 oracle home...
    do you mean are you looking to use 11.1 database in 11.2 oracle home? if so you need to upgrade database..
    Thanks

  • Cloning using rman backups?

    Is it possible to clone using RMAN backups?
    How do we do it . Please tell me the steps of configuring.

    Hi,
    Let's take the example to create the auxiliary (clone) database using the rman backup in same server.
    1)Building the auxiliary database directory structure
    a) datafile, control file, redo file location
    b) pfile,bdump,cdump,udump
    2) Create the pfile from spfile (if required) and use it for auxiliary database with appropriate modification
    3) Make all the necessary changes to your aux1 init.ora file
    control_files=….
    background_dump_dest=….
    user_dump_dest=…
    log_archive_dest_1=….
    db_name=‘aux1’
    instance_name=‘aux1’
    remote_login_passwordfile=exclusive
    4) Start aux1 instance in nomount mode
    ORACLE_SID=aux1
    export ORACLE_SID=aux1
    sqlplus /nolog
    sql>connect / as sysdba
    sql> startup nomount pfile=/test/initaux1.ora
    5)Configure the listener and tnsname.ora file for auxiliary database. Restart the listener.
    lsnrctl>stop
    lsnrctl>start
    listener.ora entry
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = AUX1)
    (ORACLE_HOME=/ORAHOME1/)
    (SID_NAME = AUX1)
    TNSNAMES.ORA ENTRY
    AUX1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = xxx) (PORT = 1521)
    (CONNECT_DATA =
    (SID = AUX1)
    (SERVER = DEDICATED)
    6) Connect to the target and auxiliary instance and run the duplicate command
    Rman>connect target /
    Rman>connect auxilary sys/password@aux1
    RMAN> connect target sys@prod
    target database Password:
    connected to target database: aaaa (DBID=4199802962)
    RMAN> connect auxiliary sys@aux1
    auxiliary database Password:
    connected to auxiliary database: aux1 (not mounted)
    RMAN> run
    2> {
    3> set newname for datafile 1 to 'C:\AUX1\SYSTEM01.DBF';
    4> set newname for datafile 2 to 'C:\AUX1\UNDOTBS01.DBF';
    5> set newname for datafile 3 to 'C:\AUX1\CWMLITE01.DBF';
    6> set newname for datafile 4 to 'C:\AUX1\DRSYS01.DBF';
    7> set newname for datafile 5 to 'C:\AUX1\EXAMPLE01.DBF';
    8> set newname for datafile 6 to 'C:\AUX1\INDX01.DBF';
    9> set newname for datafile 7 to 'C:\AUX1\TOOLS01.DBF';
    10> set newname for datafile 8 to 'C:\AUX1\USERS01.DBF';
    11> DUPLICATE TARGET DATABASE TO aux1
    12> LOGFILE
    13> GROUP 1 ('C:\aux1\redo01.log') size 100m reuse,
    14> GROUP 2 ('C:\aux1\redo02.log') size 100m reuse;
    15> }

  • Metalink Ids for hot backup clonning

    Hi i want to perform hot backup clonning in R12 single node to single node and single node to multi node,
    Please tell me the metalink ids

    Hi,
    Please see these docs.
    Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database [ID 760772.1
    Cloning E-Business Suite Using Hot Backup for Minimal Downtime of Source Environment. [ID 362473.1]
    Rapid Clone Documentation Resources, Release 11i and 12 [ID 799735.1]
    RMAN Guides
    http://www.oracle.com/pls/db112/homepage
    Thanks,
    Hussein

  • RMAN Backups residing remotely

    Oracle Version: 11.2.0.3 x64
    OS: Win 2008 server x64
    Hi Experts.
    We need to replicate a database on one of our boxes, with very limited space on disk. The database size is roughly 200gb, free space on disk is 250gb, and the RMAN backups are roughly 80gb.
    The RMAN backup pieces have been cataloged with the following path:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   'd:\rman\%d\bkup_%d_%U';So, if we attempt a restore/replication on the local server, RMAN would look for backups on the local D drive, under D:\rman\<db_name>\
    In the past we used to copy the RMAN backups on the local server where the replication is required, and perform the replication locally without any issues; however, with a very limited space that won't fit both the replicated instance and the RMAN copies, we're not quite sure how further proceed!?
    Can we instruct the RMAN replication session to look for backups in a remote server?
    We do keep 3 weeks of RMAN backups on disk, hence the 80GB RMAN backups size. As far as I remember a full backup has been performed last Sun. Can we only bring over Sun full backup (and any subsequent incremental backups)? or do we need to copy the whole thing across to the local server?
    Any ideas please?
    Thanks

    I've been trying the duplicate command with the "from active database" clause but we're getting some permissions errors that I'm not sure about:
    C:\Users\oracle>rman target sys/xxx@vssrp auxiliary sys/password@vssrl
    Recovery Manager: Release 11.2.0.3.0 - Production on Sat Sep 1 16:28:25 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: vssrp (DBID=1391811405)
    connected to auxiliary database: vssrl (not mounted)
    RMAN> run {
    2>    allocate channel c1 type disk;
    3>    allocate auxiliary channel DUP type disk;
    4>    duplicate target database to vssrl from active database;
    5> }
    using target database control file instead of recovery catalog
    allocated channel: c1
    channel c1: SID=1252 device type=DISK
    allocated channel: DUP
    channel DUP: SID=673 device type=DISK
    Starting Duplicate Db at 01-SEP-12
    contents of Memory Script:
       sql clone "create spfile from memory";
    executing Memory Script
    sql statement: create spfile from memory
    contents of Memory Script:
       shutdown clone immediate;
       startup clone nomount;
    executing Memory Script
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area    3140026368 bytes
    Fixed Size                     2259312 bytes
    Variable Size                788530832 bytes
    Database Buffers            2315255808 bytes
    Redo Buffers                  33980416 bytes
    allocated channel: DUP
    channel DUP: SID=578 device type=DISK
    contents of Memory Script:
       sql clone "alter system set  db_name =
    ''vssrp'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
       sql clone "alter system set  db_unique_name =
    ''vssrl'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
       shutdown clone immediate;
       startup clone force nomount
       backup as copy current controlfile auxiliary format  'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
       restore clone controlfile to  'D:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL02.CTL' from
    'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
       restore clone controlfile to  'D:\ORACLE\ORADATA\vssrl\CONTROL03.CTL' from
    'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
       alter clone database mount;
    executing Memory Script
    sql statement: alter system set  db_name =  ''vssrp'' comment= ''Modified by RMAN duplicate'' scope=spfile
    sql statement: alter system set  db_unique_name =  ''vssrl'' comment= ''Modified by RMAN duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area    3140026368 bytes
    Fixed Size                     2259312 bytes
    Variable Size                788530832 bytes
    Database Buffers            2315255808 bytes
    Redo Buffers                  33980416 bytes
    allocated channel: DUP
    channel DUP: SID=578 device type=DISK
    Starting backup at 01-SEP-12
    channel c1: starting datafile copy
    copying current control file
    released channel: c1
    released channel: DUP
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/01/2012 16:29:14
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on c1 channel at 09/01/2012 16:29:14
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01031: insufficient privileges
    ORA-17629: Cannot connect to the remote database serverAs you can see from the above, we're logging in to both databases (target and aux) as sys; also the local OS oracle user is a member of administrators and can write files on to disks.
    Any idea please?
    Thanks

Maybe you are looking for

  • P67A-GD65 BIOS Recovery/Reflash...is it even possible?

    Had a weird issue take out my P67A-GD65 last week so I replaced it with a Z77A-GD65. However, I'd like to see if it's possible to recover/reflash the corrupted BIOS on the dead board before I break the board up and make keychain fobs from the shiny b

  • Sending Mail  with PDF attachment

    Hi Guys , if i am getting the script output data in OTF foramt ( by selecting the ITCPO-TDGETOTF = 'X' , which Doc_type i have to use to send  it as a PDF attachement. i am using FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send message from sap to Xchange se

  • SP3 Upgrade fails to find Weblogic Server 6.1 installed

    Hello, I have just downloaded SP3 for WLS 6.1. The machine´s im trying to install it on are a Sun box with solaris 8 and an intel box with redhat 7.2, the problem im encounting, when i install the service pack, is that the installer fails to find my

  • Set a file icon from image file of same name

    I have a folder of files and I have another folder of images that have the same names as the files. What I would like to do is apply an icon of each image to it's corresponding file. Is this possible? Any help would be greatly appreciated. Ian

  • Apple TV operation under Yosemite OS

    Hello all, Just to add to group of people that cannot use Apple TV has they used to! Although i can connect to it (sometimes) via Wi Fi it does not stream as it should, it is always crashing, droping and very slow stream, which makes it completely un