Why do we use RMAN DUPLICATE to cloning DB on a different server?

DB version: 11.2.0.2, 10.2.0.5

I want to create a clone of my Production DB in a test server. In the past, I have taken the backup hot of this DB production and restored and retrieved it in another server using simple RMAN commands.
After restoring the control file, editing of the DB and catalogue items from backup on the test server, I run
run {
restore database ;
recover database until time <time> ;
alter database open resetlogs ;
}
In OTN, I ran into long discussions such as running
RMAN duplicate database

where they are trying to restore and recover using DOUBLE command, as shown below.
run
 {
duplicate target database to RBS
nofilenamecheck
pfile=/tmp/aux.ora;
 }
 
They can't just use plain RMAN restore and retrieve orders I've done? What advantage have RMAN DUPLICATE on orders of Plains?

RMAN DUPLICATE is designed to give the database clone a new name of the database and the new database identifier:

>
If you copy a database with the operating system instead of the command utilities DUPLICATE, then the DBID of the database copied remains identical to the original database. To register for the database of the copy in the same catalog of recovery with the original, you must change the DBID with utility DBNEWID (see the Oracle database utilities). On the other hand, the command DUPLICATE assigns the duplicate DBID different database so that it can be saved in the same catalog of recovery than the source database.

Tags: Database

Similar Questions

  • Updating of database without using RMAN duplicate

    Hi all

    I intend to update my test instance in a PIT using backups RMAN of PROD. I would like to know the process without being connected to the PROD database and without using RMAN dual.

    Thank you.

    Imran khan says:
    Please delete your concepts about the process of backup and restore RMAN... It is not possible to update your db test for prod db RMAN backup parts without using RMAN dual and without connecting to the PROD database...
    I would be very surprised if you can get this answer to your pointless question...

    It is most details too throw an insult while making false statements on the displayed issue.
    Maybe you are the one who does not know how to use rman.

    There is a way to clone (refresh) a database of development of a backup of the production without using the command DUPLICATE.

    In summary, you must do this:

    (1) with rman, restore the backup piece controlfile.
    (2) startup mount
    (3) with rman, restore the database.
    (4) recover database using backup controlfile until Cancel.
    (5) use the 'nest' utility to change the name of the database.

    Good luck!

    : p

  • RMAN Duplicate + incremental backups + upgrade to 12 c

    Hello

    IM thinking the best way migrationg and upgrading database 11.2.0.4 to 12 c with reasonable downtime.

    reasonable downtime: 30 Minutes

    Source: Solaris (Intel)

    11.2.0.4

    DB Dimensions: 800G

    Target: Linux

    12 c

    new name of the comic.

    IM thinking to use RMAN Duplicate with option NoOpen(1) (RMAN catalog is in use). Double will be for sure several of 30 minutes then think if I can combine two copies for the recovery of the archivelogs generated during replication to minimize downtime. But is it possible when I change DB_NAME?

    Thank you.

    Hello

    I guess, you may need to check once this document. 412484.1

    I'm really not sure about your source and target system

    If your source is the 'Platform_id' 20, you can enjoy all your needs in 30 minutes or less. If this isn't the case, it is difficult.

    If your platform_id is 20, you can then create physical standby for your 11.2.0.4 and get the same thing, once the database is recovered, you can convert this logic of sleep (note: your database must be validated for the logical expectation), if you convert your logical database in standby mode, then you can change the name of your database to the new name also you can upgarde to 12 c.

    After upgrade, you can still recover all changes to your primary. Once the logic ensures sync with primary then you can pass.

    If your platform_id not 20, then

    You can opt for Golden Gate...

    Thank you

  • Configuring the listener pending side before running the RMAN DUPLICATE

    Version: 11.2.0.3
    Platfomrm: Solaris 10

    We will create a DB physical standby for our primary database using RMAN Duplicate.

    Our primary DB details
    DB_NAME          = ADPTGMS
    DB_UNIQUE_NAME     = ADPTGMS
    Names for standby
    DB_NAME          = ADPTGMS
    DB_UNIQUE_NAME     = ADPTGMSDG
    Question1.
    Next to the day before, before I run the duplicate RMAN, I need so that it starts the empty instance in NOMOUNT State. Right? Can I configure export ORACLE_SID DB_NAME or DB_UNIQUE_NAME?

    Question2.


    I understand that it is a precondition not to have the listener towards the top pending side make the RMAN Duplicate (otherwise how RMAN will connect to the dummy instance in the side standy)
    Next to Eve, there is no DB turns again. But for the RMAN to connect to the Instance of a model, I configured and started a listener as shown below. Is this really?
    $ cat listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    
    LISTENER_DG =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.80.16.179)(PORT = 1524 ))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2012))
        )
      )
    $
    $
    $
    $ lsnrctl start LISTENER_DG
    
    LSNRCTL for Solaris: Version 11.2.0.3.0 - Production on 20-DEC-2012 00:14:19
    
    Copyright (c) 1991, 2011, Oracle.  All rights reserved.
    
    Starting /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    
    TNSLSNR for Solaris: Version 11.2.0.3.0 - Production
    System parameter file is /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/tigris179/listener_dg/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.80.16.179)(PORT=1524)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC2012)))
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.80.16.179)(PORT=1524)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER_DG
    Version                   TNSLSNR for Solaris: Version 11.2.0.3.0 - Production
    Start Date                20-DEC-2012 00:14:24
    Uptime                    0 days 0 hr. 0 min. 3 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/tigris179/listener_dg/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.80.16.179)(PORT=1524)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC2012)))
    The listener supports no services
    The command completed successfully

    Hello

    The link I gave in my previous post features a display of very good example:

    Primary:

    Pfile/Spfile name: initprim.ora/spfileprim.ora
    db_name=prim
    db_unique_name=prim
    

    Standby time:

    Pfile/Spfile name: initstnd.ora/spfilestnd.ora
    db_name=prim
    db_unique_name=stnd
    

    In your case:

    While adding a static entry to the listener of the day before, SID_NAME should be the DB_UNIQUE_NAME of the database pending. Also the pfile/spfile Eve must be associated with the DB_UNIQUE_NAME of the previous day.

    The pending database ORACLE_SID would be the DB_UNIQUE_NAME of the database pending. Hope that's clear!

    Kind regards
    Shivananda

  • Standby database using RMAN

    Hello

    If the primary database is configured with ASM and Eve has normal file system. Can we create standby database to the primary database with RMAN?


    Kind regards...
    Sandra

    Hello;

    Ton of information on MOS

    Step by step guide on the physical creation sleep by using RMAN Duplicate in filesystem ASM ASM primary [ID 837102.1]
    Creating a physical standby to primary ASM [787793.1 ID]
    Physical creation sleep by using RMAN Duplicate without stopping primary [789370.1 ID]
    Step by step Guide to create physical standby on Normal file system for ASM primary with RMAN [838828.1 ID]
    Step by step guide to create physical standby database with RMAN [ID 469493.1]
    RMAN Duplicate to default to standby with Rman-06024 [ID 881674.1]

    and

    http://blog.yannickjaquier.com/Oracle/how-to-create-a-physical-standby-database-with-RMAN-duplicate-command.html

    Create a database waiting for a database with RMAN

    http://www.Visi.com/~mseberg/standby_creation_from_active_database_using_rman.html

    Best regards

    mseberg

  • Create database pending active using the RMAN Duplicate command

    Hello guys,.

    I created the database before using the RMAN Duplicate command, but here I am stuck.

    Please help me to overcome this >

    RMAN > run {}
    2 > allocate channel prmy1 type disk;
    3 > allocate channel prmy2 type disk;
    4 > allocate channel prmy3 type disk;
    5 > allocate channel prmy4 type disk;
    6 > allocate auxiliary channel stby type disk;
    7 > duplicate target database for the eve of the active database
    8 > spfile
    9 > parameter_value_convert "orcl", "orclstd".
    10 > set db_unique_name = "orclstd".
    11 > set db_file_name_convert = "/ orcl / ', ' / orclstd / '.
    12 > set log_file_name_convert = "/ orcl / ', ' / orclstd / '.
    "13 > set control_files="D:\app\employee3\oradata\ORCLSTD\control01.ctl ', 'D:\app\employee3\flash_recovery_area\ORCLSTD\control02.ctl '.
    14 > set log_archive_max_processes = '5'
    15 > set fal_client = "orclstd."
    16 > set fal_server = "orcl".
    17 > set diagnostic_dest =: \app\employee3'
    18 > set db_recovery_file_dest = a: \app\employee3\flash_recovery_area'
    19 > set standby_file_management = 'AUTO '.
    "20 > set log_archive_config ='dg_config = (orcl, orclstd)"
    21 > set log_archive_dest_2 = 'service = orcl ASYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = orclstd';
    {22 >}

    allocated channel: prmy1
    channel prmy1: SID = 70 type device = DISK

    allocated channel: prmy2
    channel prmy2: SID = 135 type device = DISK

    allocated channel: prmy3
    channel prmy3: SID = 191 type device = DISK

    allocated channel: prmy4
    channel prmy4: SID = 7 type of device = DISK

    allocated canal: stby
    channel stby: SID = 129 type device = DISK

    From 7 November 12 Db double

    content of Script memory:
    {
    backup that copy reuse
    TargetFile "E:\app\RAJKUMAR\product\11.2.0\dbhome_1\DATABASE\PWDorcl.ORA" auxiliary format
    "D:\app\employee3\product\11gr2\DATABASE\PWDorclstd.ORA" targetfile
    ' E:\APP\RAJKUMAR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEORCL. ORA' auxiliary format
    ' D:\APP\EMPLOYEE3\PRODUCT\11GR2\DATABASE\SPFILEORCLSTD. ORA';
    clone of SQL ' alter system set spfile = "D:\APP\EMPLOYEE3\PRODUCT\11GR2\DATABASE\SPFILEORCLSTD." ORA "«;»
    }
    execution of Script memory

    From backup 7 November 12
    Backup finished in 7 November 12

    SQL statement: alter system set spfile = "D:\APP\EMPLOYEE3\PRODUCT\11GR2\DATABASE\SPFILEORCLSTD. ORA "

    content of Script memory:
    {
    clone of SQL 'alter system set audit_file_dest =
    "E:\app\RAJKUMAR\admin\orclstd\adump" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set dispatchers =
    ''(Protocol=TCP) (SERVICE = orclstdXDB) "comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set db_unique_name =
    "Orclstd" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set db_file_name_convert =
    "/orcl/", "/orclstd/" comment is
    ' ' scope = spfile;
    clone of SQL 'alter system set log_file_name_convert =
    "/orcl/", "/orclstd/" comment is
    ' ' scope = spfile;
    clone of SQL 'alter system set control_files =
    "D:\app\employee3\oradata\ORCLSTD\control01.ctl", "D:\app\employee3\flash_recovery_area\ORCLSTD\control02.ctl" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set log_archive_max_processes =
    5 comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set fal_client =
    "Orclstd" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set fal_server =
    "Orcl" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set diagnostic_dest =
    "D:\app\employee3" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set db_recovery_file_dest =
    "D:\app\employee3\flash_recovery_area" comment =
    ' ' scope = spfile;
    clone of SQL 'alter system set standby_file_management =
    Comment by "AUTO" =
    ' ' scope = spfile;
    clone of SQL 'alter system set log_archive_config =
    Comment by "dg_config" (orcl, orclstd) =. =
    ' ' scope = spfile;
    clone of SQL 'alter system set log_archive_dest_2 =
    "service = orcl ASYNC = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = orclstd valid_for" comment =
    ' ' scope = spfile;
    clone to stop immediately;
    startup nomount clone;
    }
    execution of Script memory

    SQL statement: alter system set audit_file_dest = comment "E:\app\RAJKUMAR\admin\orclstd\adump" = "' scope = spfile

    SQL statement: alter system set dispatchers = ''(PROTOCOL=TCP) (SERVICE = orclstdXDB) "comment ="' scope = spfile

    SQL statement: alter system set db_unique_name = comment "orclstd" = "' scope = spfile

    SQL statement: alter system set db_file_name_convert = "/orcl/", "/orclstd/" comment = "' scope = spfile

    SQL statement: alter system set log_file_name_convert = "/orcl/", "/orclstd/" comment = "' scope = spfile

    SQL statement: alter system set control_files = "D:\app\employee3\oradata\ORCLSTD\control01.ctl", "D:\app\employee3\flash_recovery_area\ORCLSTD\control
    02.CTL "comment ="' scope = spfile

    SQL statement: alter system set log_archive_max_processes = 5 = comment "' scope = spfile

    SQL statement: alter system set fal_client = comment "orclstd" = "' scope = spfile

    SQL statement: alter system set fal_server = comment "orcl" = "' scope = spfile

    SQL statement: alter system set diagnostic_dest = comment "D:\app\employee3" = "' scope = spfile

    SQL statement: alter system set db_recovery_file_dest = comment "D:\app\employee3\flash_recovery_area" = "' scope = spfile

    SQL statement: alter system set standby_file_management = comment "AUTO" = "' scope = spfile

    SQL statement: alter system set log_archive_config = "dg_config = (orcl, orclstd)" comment = "' scope = spfile

    SQL statement: alter system set log_archive_dest_2 = "service = orcl ASYNC = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = orclstd valid_for" comment = "'s
    face = spfile

    Instance Oracle to close

    connected to the auxiliary database (not started)
    Oracle instance started

    Total System Global Area 1071333376 bytes

    Bytes of size 1375792 fixed
    528482768 variable size bytes
    Buffers data 536870912 bytes
    Redo buffers 4603904 bytes
    allocated canal: stby
    channel stby: SID = 63 type device = DISK

    content of Script memory:
    {
    backup current controlfile to standby auxiliary copy format ' D:\APP\EMPLOYEE3\ORADATA\ORCLSTD\CONTROL01. CTL';
    Restore clone controlfile to ' D:\APP\EMPLOYEE3\FLASH_RECOVERY_AREA\ORCLSTD\CONTROL02. CTL' of
    ' D:\APP\EMPLOYEE3\ORADATA\ORCLSTD\CONTROL01. CTL';
    }
    execution of Script memory

    From backup 7 November 12
    channel prmy1: from data file copy
    copy of the control file ensures
    name=E:\APP\RAJKUMAR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFORCL output file. ORA tag = RECID = 1 STAMP = 798743550 TAG20121107T171229
    channel prmy1: datafile copy complete, duration: 00:00:03
    Backup finished in 7 November 12

    From restoration to November 7, 12

    channel stby: copy of copy of control files
    Restoration finished November 7, 12

    content of Script memory:
    {
    SQL clone 'alter database sleep mounting database';
    }
    execution of Script memory

    SQL statement: alter database mount rescue
    output channel: prmy1
    output channel: prmy2
    output channel: prmy3
    output channel: prmy4
    exit canal: stby
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command duplicate Db at 07/11/2012 17:12:40
    RMAN-05501: abandonment of duplicate target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\MIGRATION_DATA01 auxiliary file name. DBF conflict with a file used by the target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\DEMO_INDX01 auxiliary file name. DBF conflict with a file used by the target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\DEMO_DATA01 auxiliary file name. DBF conflict with a file used by the target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\USERS01 auxiliary file name. DBF conflict with a file used by the target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\UNDOTBS01 auxiliary file name. DBF conflict with a file used by the target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\SYSAUX01 auxiliary file name. DBF conflict with a file used by the target database
    RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\SYSTEM01 auxiliary file name. DBF conflict with a file used by the target database

    RMAN >

    Thank you
    Reverchon

    user9192565 wrote:

    11> set db_file_name_convert='/orcl/','/orclstd/'
    12> set log_file_name_convert='/orcl/','/orclstd/'
    
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\MIGRATION_DATA01.DBF conflicts with a file used by the target database
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\DEMO_INDX01.DBF conflicts with a file used by the target database
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\DEMO_DATA01.DBF conflicts with a file used by the target database
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\USERS01.DBF conflicts with a file used by the target database
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\UNDOTBS01.DBF conflicts with a file used by the target database
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\SYSAUX01.DBF conflicts with a file used by the target database
    RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\SYSTEM01.DBF conflicts with a file used by the target database
    

    The strings that you entered in your file name conversion settings does not match where actually your data files. If the string does not match the names of files, there is no names of files to convert. Because you're on windows, how about something like this?

    set db_file_name_convert='\ORCL\','\ORCLSTD\'
    set log_file_name_convert='\ORCL\','\ORCLSTD\'
    

    Hope that helps...

    Patrik

  • Current database cloning using RMAN

    Hello

    I have my database (11.2.0.3.0) of test running on Windows server 2008 R2 64-bit. My name is TESTDB database and its operation in log mode archive with ASM. I want to clone the same database using RMAN... I checked the many documents and have searched in google also, but did not find the right document. I am very new to the database of ACTIVE RMAM feature.

    Here I have the different file name with the structures of different directories also...

    my doubt is:

    * 1. How to copy a database running in log mode Archive with the DSO to the remote computer with the same name of DB via RMAN? *
    * 2. How to copy a database works in log mode Archive with ASM in a remote machine with the different DB name like CLONEDB via RMAN? *

    Please suggest me how to proceed?

    Thank you and best regards,
    Vikash jain (junior DBA)

    Salvation;

    Clone already documented processes, also similar issue mentioned here several times. Please overwiev:

    clone database
    Re: how the database cloning
    Database duplication

    See also:
    How to make a copy of a database that is open to the Duplication of another Machine [ID 224274.1]

    PS: Please don't forget to change the status thread answer whether it is possible when believe you your thread replied, he pretend to wasting time in other forums users while they are looking outstanding which is not answered, thank you for understanding

    Respect of
    HELIOS

  • RMAN Duplicate using a username other than db name/SID

    Hello

    I want to duplicate a database with RMAN duplicate. However, I have 2 databases with the same name and I need to be able to specify that one to use as a target.

    Makes the target get specified during the rman (using the tns alias) for example connection string

    RMAN target sys/xxx@db1 auxiliary rman_cat/xxx@rman_cat catalog / log = rman_clone.log @duplicate_db1.rcv

    If so, when I run the command:

    DUPLICATE the TARGET DATABASE TO DB1, RMAN will assume that the DB1 is the auxiliary database as opposed to the target?

    The auxiliary database DB1 it must have the same file structure that target the database DB1? If Yes, you need "nofilenamecheck" as part of the command DUPLICATE, otherwise DUPLICATE option will fail. It is even if the target and auxiliary databases are on different hosts.

    Werner

  • Let the RMAN to know the location of the backup during RMAN DUPLICATE item

    RDBMS Version: 11.2.0.3
    Platform: AIX 6.1

    I spent a few discussions lately about the creation of standby DB by using the RMAN DUPLICATE method.

    Taking an example from a thread by steve74 yesterday.

    The commands below are executed after copying the elements of hot backup of the primary DB Backup on the standby server.
    --- Will be running the following DUPLICATE command from standby server 
     
    export ORACLE_SID=orcldg
    SQL> startup nomount pfile='/u01/app/oracle/11.2/db_home1/dbs/initorcldg.ora'
     
     
    rman target sys/mypass@PRIMARY_TNS auxiliary / 
     
    run 
    {
         allocate channel C1 device type disk;
         allocate auxiliary channel C2 device type disk;
         duplicate target database for standby nofilenamecheck;
    }
    The auxiliary instance is just in NOMOUNT. Lets say I copied the primary DB Backup items to the
    following in the standby server location
    /u04/backup/RMAN
    I don't see all the above commands which allows to RMAN knows about this place where are stored the backup pieces. For regular DB cloning, we are cataloging of backup items using the CATALOG command. But, you need a control file to do cataloging. The auxiliary instance does still not have control file. So, how this work?

    Hello

    simple. duplicate is a faster and simpler, method because you issue a command.
    After configuration, you issue a command, and if the pfile/spfile is properly configured, RMAN takes care of ALL the necessary measures, even for ASM (assuming the switch of data file also). It restores the CF, he set up the db, it restores, it retrieves, it updates the CF with the correct names, it converts file names if necessary, open the DB ETC.
    And, since only a single command is used, it is less prone to errors.
    And allows you to save a lot of trouble.
    Quite simply, you have a few details such as the location of the backuppieces.

    It works very well also for DEV env refreshes (with a few modifications on the pfile/spfile file).

    BR,
    jpinela.

    Published by: Pinela December 21, 2012 16:02

  • Question about RMAN DUPLICATE command

    Oracle version: 10.2
    Operating system: Solaris 10

    To create a physical standby DB, I'll take full DB more backup archivelog on main site and copy it to the location of the previous day.
    I'm going to standby mode,
    startup nomount pfile=/path/init.ora
    rman target sys/password@primDB auxiliary /
    
    RMAN> run {
    allocate channel t1 device type disk;
    allocate auxiliary channel t2 device type disk;
    duplicate target database for standby nofilenamecheck;
    }
    1. is it true that I need to keep the full backup on the main site when you run the RMAN DUPLICATE backup server? In the affirmative. Why? We have already copied the full backup to the backup site. Right?

    2. why the command DORECOVER is optional?

    3. several archived newspapers may have been generated after that full backups have been copied to the backup site. When you run the backup site COPY command, RMAN will extract the info again newly generated primary and apply automatically in standby mode?

    Hello;

    I keep the RMAN backup on the primary until the copy is complete, so my RMAN catalog know about it. Sound cleaner this way. What magic RMAN can or can not do with it is not very important IMHO.
    Don't forget that the news of the eve doesn't have to be registered with RMAN, because it is the same database as the main. However you can use a tape with the method too, so it's probably more to do with not having to repeat the same backup if you make a mistake.

    I've never had to use a DORECOVER to a double never. Completing this task at least 30 times and I think 'optional' is not a word strong enough. According to the doc DORECOVER specifies that RMAN should recover the database after it is created. I've never had to use it. See this doc for more information:

    http://docs.Oracle.com/CD/B19306_01/backup.102/b14194/rcmsynta028.htm

    On move any what archiving log new expectations before to start the double so the news of the day before can start working immediately, without additional measures. Usually the Data Guard will begin apply immediately and have RMAN does not do anything. None of the notes has any special note for additional archives moving after starting two copies. RMAN duplicates and Data Guard apply struggling upward.

    Here are my notes on this topic: (these works on Oracle 10 or 11 of the Oracle)

    http://www.Visi.com/~mseberg/duprman2.html

    Best regards

    mseberg

    Published by: mseberg on March 17, 2012 13:07

  • RMAN Duplicate Hot

    Is it possible to duplicate a database that is running hot when backup is performed, and which remains open and in use in all of the duplicate command?

    I'm trying to clone a production database (so no failures!) on a second server. My script connects to the target database more archivelog and copy the backup resuling to clone the server. Which extends over about an hour. Then I run a second rman script that simply says:
    connect auxiliary sys/v0yager1@clonedb
    run{
    set until time 'sysdate-10/24/60';
    duplicate target database to clonedb nofilenamecheck;
    }
    But this produces errors "no copy backup of file 1 is was found", probably because I'm pleading for a time, which is regarded as before "restorable time" performed just backup. But I thought that ten minutes before this command is issued is about 50 minutes from the start of the backup, so I have files that could be restored and then found ourselves very well. Thinking about it again, however, I see that the last saved files will probably leave an hour after than timestamp, and those who can not be rolled back, then Yes, I would have expected failure. The problem is when I missed the 'set until time' clause completely, the thing also fails. Plain "sysdate", maybe.

    I cloned these databases with RMAN several times before, but they were scheduled interruptions when I could get the source database in Mount - and I was cloning so a "stationary object. I have not tried the fact with a database running, and I don't know if it really is possible. Any help would be appreciated.

    For the record, this is 10.2.0.4, 64-bit Windows 2003. And we do not systematically use RMAN for backup/recovery (political!), so when I do an RMAN backup for the purposes of cloning, this is the only backup that exists at this time. I can't, in other words, use commands that would work if there were one or more backups before my procedure of cloning did take place.

    The following query gives the requested RCS:

    select max(first_change#) from v$backup_redolog;
    
  • It is advisable to use RMAN backups?

    Hello

    Currently in our production databases, they took only the export dumps in every day.

    Is it advisable if we use RMAN backups?

    Expdp/impdp we can import the dump and create a database in UAT as same as production.

    If we opt for RMAN, is it possible to restore the backup as expdp to test if necessary?

    Thanks in advance.

    2

    679362 wrote:

    Hello

    Currently in our production databases, they took only the export dumps in every day.

    Is it advisable if we use RMAN backups?

    As others have said or implied, it is MORE than advisable.  I would declare it like this: If you want to stay independent as a DBA, it is mandatory.  Without him, there will come a time where you will lose data.  And which violates the Prime Directive for the DBA.

    Expdp/impdp we can import the dump and create a database in UAT as same as production.

    Which may or may not be very well to "Refresh" a test database, but it is not acceptable for the recovery of a database of lost output unless you accept BOTH of the following:

    (1) potentially to recreate an 'empty' database to replace the lost production database.

    1 a) potentially lose required components of database and/or configurations because you have forgotten/don't do them after the recreation of the empty database

    (2) lose all data that has been added to the database once your instant export has been taken.

    Do you think all the foregoing as an acceptable risk for your organization?

    If we opt for RMAN, is it possible to restore the backup as expdp to test if necessary?

    Definitely.  Why wouldn't be?  With rman for your primary backup strategy does not prevent you to export for any purpose you want to do with them.

    I have 4 key production databases.  For three of them, I update their counterparts in test with rman backups. For the fourth, I use exports.

    Thanks in advance.

  • RMAN Duplicate - ORA-01092: ORACLE terminated instance. Disconnection forced

    Source DB - 11.2.0.2.0

    Target DB - 11.2.0.2.0

    OS - SunOS 5.11

    Hello guys I'm trying to restore a database by using a duplicate order. Here are the scripts that I use.

    This is the script in which the restore.cmd is called.

    -----------------------------restore.sh--------------------------------------------------------------

    #! / usr/bin/ksh

    #PATH $PATH = "" / usr/ccs/bin: / usr/bin: / usr/sbin: / usr/sbin/nsr: / usr/ucb: / usr/ucb: / etc: / usr/local/bin ""

    #LD_LIBRARY_PATH = / usr/openwin/lib: / usr/ccs/lib

    #export PATH LD_LIBRARY_PATH

    GET_DATE = 'date "+ %y %d hour %M %s %m" '

    CHK_DATE = "date"+ %y %m %d"'"

    GET_YEAR = "date" + %y' "

    GET_DAY = "date"+ %d"'"

    Etiquettemois = "date"+ %p"'"

    GET_MONTH = "date" + %m' "

    ORAENV_ASK = NO

    #. / usr/local/bin/oraenv

    . $HOME/.profile

    echo ${ORACLE_SID}

    ################################################################################################################

    echo $ORACLE_HOME $DB_NAME $ORACLE_BASE

    Export ORACLE_HOME, ORACLE_BASE DB_NAME

    EXPHOME = / export/home/oracle

    CLN_Home = / export/home/oracle

    job_log_file = "${EXPHOME}" / rman_restore.log ' "

    Add $(ORACLE_HOME) / bin/rman trace = / export/home/oracle/monsuivi msglog ${EXPHOME} / rman_restore_msg_log.log < <!

    auxiliary connection.

    Set the dbid = 5798365608

    echo setting

    @${CLN_Home} / restore.cmd

    output

    !

    Shortly after the spfile is restore, I get the following error.

    DOUBLE RMAN ERROR-

    connected to the auxiliary database (not started)

    Oracle instance started

    Total System Global Area 8554127360 bytes

    Bytes of size 2175440 fixed

    5117054512 variable size bytes

    3170893824 of database buffers bytes

    Redo buffers 264003584 bytes

    Call krmmmai krmmpem

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-00601: fatal error in the Recovery Manager

    RMAN-03004: fatal error when executing command

    RMAN-04006: auxiliary database error: ORA-01092: ORACLE terminated instance. Disconnection forced

    RMAN-03002: failure of Db in dual at 27/12/2013 12:18:10

    RMAN-05501: abandonment of duplicate target database

    RMAN-03015: an error has occurred in the script stored memory Script

    ORA-03113: end of file on communication channel

    -TRYING to solve the error-

    When I checked google, said some, it could be undo tablespace issue, so I put the undo_tablespace parameter in the same as source target. Here again, I was getting the same error.

    The source database has not being upgraded, if this isn't a problem with the upgrade.

    can give any output as to how this problem can be solved?

    Thank you

    First: DUPLICATE is NOT restore!

    Second: If a database hits ORA-1092.

    There will be errors in the alerts log.

    Before even this announcement, you should examine the error online and browsed the alert.

    Troubleshooting is any dumping using ctrl-c/ctrl-v and sitting with your shoes on your desk and your hands behind your head to whistle and wait for replies to come.

    -----------

    Sybrand Bakker

    Senior Oracle DBA

  • RMAN Duplicate

    Hi all

    I'm trying to clone the database with rman with on the same server with version 11 GR 2.

    I use no catalog mode.

    source instance 400 MB and large_pool_size haing is the target of 100 MB is also same.

    but it is housed at the execution of scripts from memory only. don't move.

    [oracle@localhost ~] $ rman auxiliary.

    Recovery Manager: release 11.2.0.1.0 - Production on Fri Feb 22 17:59:52 2013

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    connected to the auxiliary database: ORCL (unassembled)

    RMAN > Connect target sys/oracle@orcl

    connected to target database: ORCL (DBID = 1314445644)

    RMAN > duplicate target database to "prod" nofilenamecheck.

    From February 22, 13 Db double
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID = 10 type of device = DISK

    content of Script memory:
    {
    clone of SQL "create spfile from memory";
    }
    execution of Script memory

    SQL statement: create spfile memory

    content of Script memory:
    {
    clone to stop immediately;
    startup nomount clone;
    }
    execution of Script memory



    Please suggest to solve this problem.

    Thank you

    This forum is the Oracle Forms Development Forum, please ask your question in the General database discussion forum.

    Bravo!

    Published by: Tony Garabedian on February 22, 2013 15:35

  • Possible to rman duplicate &amp; oracle upgrade at the same time?

    We hoped we could use 'RMAN restore backups as part of an upgrade of database [ID 790559.1]' and duplicate a PRD 11.1 DB to another server that has only the 11.2 software. Anyone could do this?

    When I tried this, I got an error since the target DB is a version prior to the rman client - ' RMAN-06429: TARGET database is not compatible with this version of RMAN.

    I tried to connect to the target database and simply use the following syntax (duplicate "prd" DBID 123456789 to 'dev') to inform the backups, it would be necessary to NetBackup rman. Who also got an error - RMAN-01009: syntax error: found 'single-quoted-string': expected an a: "database, for, target, to. I tried other variations, but also had errors.

    I can tell him from a disk based backup, but must wait for a NFS mount big enough to fill it. The following syntax was in the docs of rman 11.2:
    DUPLICATE a 'PROD' dbid 8675309 to 'TEST' DATABASE
    Until TIME ' to_date (November 1, 2007 ',' DD/MM/YYYY "").
    The BACKUP LOCATION "/ backups NOFILENAMECHECK"
    PFILE='?/DBS/inittest.ora' db_file_name_convert = "prod", "test."

    If someone has done this or if it is not possible to do so, please let us know. Our goal is to not have to install the software on our new servers 11.1. Also, trying to avoid the restore with the same name and then rename the DB so that the ASM would have several directories for the DB.
    Thank you
    Brian


    OS: RHEL 6.3 for host target
    OS: RHEL 5.9 for the host target
    Target DB: 11.1.0.7.12 - PRD
    Auxiliary DB: 11.2.0.3.5 - DEV

    MML: Veritas NetBackup for Oracle - version 7.0

    DB using ASM & OMF

    Brian;

    The short answer is no.

    The RMAN executable will not match for one. If you need a document of MOS I can provide a.

    Frequently asked Questions about the restoration or duplication between different Versions and platforms [ID 369644.1]

    Best regards

    mseberg

    Published by: mseberg on February 6, 2013 17:55

Maybe you are looking for

  • NB100 internal microphone does not

    Hello I did a fresh install of XP SP3 on my NB100. I do not do it from the Toshiba recovery disc that my NB100 would not write this Toshiba disc creator that comes with it to my external DVDR/CDR even if it works well with Veritas. So I downloaded al

  • Need new keyboard for Satellite U500-1F4

    HelloI was visiting my friend in Tashkent, Uzbekistan, it has a Toshiba Satellite U500 - 1F4 Laptop, the subtemplate is PSU9ME-OOCOOXAR She bought while working in Dubai, Saudi She spilled coffee on the keyboard, and of course, it now does not work c

  • Compaq Presario CQ57-104TU: upgrade Ram, memory (Ram Hynix PC3L-12800)

    Hello world I have a Compaq Presario CQ57-104TU. I recently decided to upgrade the ram (currently 1 x 2 GB Elpida PC3 - 10600 1333 Mhz). I bought 2 x 4 Gb Hynix HMT451S6AFR8A, PC3L-12800. Unfortunitely when I install the new Ram (Hynix) the computer

  • Buy pre-installed games

    original title: price? Does it cost to play the games which have already been installed on your computer? or are they just free trials?

  • What is the best for VMware esx 4.0

    If I understand correctly, 4.2.1 for windows only supports VMware esx 3.0? IF ACS 5.0 supports VMware esx 4.0? Or is it a solution Manually applciation compete with hardware? Pls help?