RMAN cloning using the recovery catalog

Hi all

I do RMAN cloning using the recovery catalog.

I use oracle 10R2 on solaris, I have a PRIMARY primary database name. I create another database for the catalog name of recovery REC_DB. and the master database with REC_DB record and took the full backup. now I have a full backup of the PRIMARY database in the recovery catalog.

Now I want to clone the MAIN database using this backup (backup of the catalog).

I've done this before, without using the catalogue,

I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.

RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.

here target means what? primary or catalog database. kindly help me on this.

Kind regards
Kumar

>

>

I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.

RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.

here target means what? primary or catalog database. kindly help me on this.

Looks like it is exactly what you were asking.

You need to connect to the TARGET, CATALOG & AUXILIARY of the rman prompt instance.
You then run your script/command clone, which you claim you already know how to do.

Tags: Database

Similar Questions

  • Can us refresh database using the recovery catalog?

    Hi all, I need update the dev of database using the prod database backup, we have TSM server and database of separate catalog for storing backups. No, my doubt is, we can update database dev using catalog, which has the backup of all info the prod

    In my previous organization, we used to copy the backup of the prod dev we restore and recover it in dev db. But in this organization, we have a TSM server that stores all backups of prod and dev.

    Please tell me we can update dev db using info catalogue simply and without copying backups of prod? If possible how?

    Thank you

    Harish

    user8596912 wrote:

    Yes I know that the content of the rman script.

    But we have not, so how can we be expected to comment on?

    My question is that the connection to the rman is good or bad?

    It would depend on the content of the script you do not think that we need to see.

    In the end, you can determine whether this is good or bad by testing.

    Because the rman is not connected directly to the target db prod.

    Have you read the link I gave you?

    I would limit for you: a database mirroring

    The docs in detail how to duplicate a database

    1 - active database

    2 - from a backup WITH a connection target (the database prod)

    3. from a backup WITHOUT a connection target (the database prod) but WITH a recovery catalog connection

    4 - from a backup WITHOUT connection AND connection catalog recovery target (the database prod)

    BTW, why you score your own messages as 'useful' to your own problem?

  • Duplicate RMAN cloning using the database using the current database

    Hi all

    I am new bie, I want to clone my target database using the rman command 'DUPLICATE database OF ACTIVE DATABASE"new host.

    steps on google, I searched, but I got confused, I doubt if you need to install oracle rdbms softare on new host or not? and also should I copy all files (redo, control, datafiles) to the new host? kind LY help and tell me the steps to clone the database using rman.your help will be appreciated.

    Thank you.

    Kind regards.

    OS: RHEL 5.4

    DB: 11.2.0.3

    Hello

    Have you not through document link to Gavin at least. It's very simple steps. If you wait until other measures, then won't them.

    He had provided the demonstration, at least get in 'google' (you'll have so many links)

    The Oracle Dba Italian Blogger: how to clone an Oracle 11 g 2 home

    http://balaoracledba.com/2013/12/16/cloning-an-existing-Oracle11g-release-2-RDBMS-installation/

    Note: If you feel always complex, better skip the task itself.

    -Thank you

    Pavan Kumar N

  • Using the Scheduler to run the rman script directly stored in the recovery catalog

    Hi everyone, I usually automate my backups rman, using either cron or dbms_scheduler to call my stored in a sh file NIX rman scripts.  Everything works fine but anyone know how / if it is possible to call a stored in the recovery catalog rman script. Let's say I have create a script in the catalog:

    RMAN > create script showall

    Comment "just one example of demonstration."

    {

    VIEW ALL;

    }

    Can I use dbms_scheduler to call this script directly? If Yes, how and if not then how can we plan for this or a stored script stored in the rman catalog catalog.  Been looking all over the place, but everything seems to indicate leaving Oracle to call .sh or .bat file.

    Kind regards

    Dave

    Well, let us know the result.

    The link you supplied refers to 12 c Scheduler improvements it seems, it may not be applicable to lower versions of Oracle.

  • How to monitor all RMAN operations using single script in the recovery catalog?

    I use the rman recovery catalog, all databases are stored on the catalog database, is there any script to monitor all the databases that are registered in the recovery catalog.

    I have the script that displays only the last time success of the work of recovery catalog

    SELECT name, Inc., Journal, ctl
    Of
    RMAN.rc_database d,
    (select db_id, to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS') full)
    of s rman.rc_backup_set
    where s.backup_type in (')
    and controlfile_included = 'NONE '.
    Db_id group) f.
    (select db_id, to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS') Inc.)
    of s rman.rc_backup_set
    where s.backup_type ('i')
    Db_id group) i.
    (select db_id, Journal of to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS'))
    of s rman.rc_backup_set
    where s.backup_type ('l')
    l band db_id),
    (select db_key, ctl to_char (max (completion_TIME),' MM/DD / YYYY:HH24:MI:SS'))
    of s rman.rc_backup_controlfile
    Db_key group) c
    where f.db_id (+) = d.dbid
    and i.db_id (+) = d.dbid
    and l.db_id (+) = d.dbid
    and c.db_key (+) = d.db_key
    order by 1;

    Published by: 987633 on February 12, 2013 09:03

    Real!

    Difficult to shoot everything I want in a single query.

    select
            db_name,
            start_time,
            end_time,
            status,
            time_taken_display,
            output_bytes_display,
            output_device_type,
            session_key,
            session_recid,
            session_stamp
    from rc_rman_backup_job_details where end_time > sysdate -1
    

    Best regards

    mseberg

  • RMAN-20001: target not found in the recovery catalog database

    I'm practicing the loss of all control files. I have backups of catalog rman configured for controlfile autobackup. So far, I did this.


    RMAN > startup nomount;
    Oracle instance started

    Total System Global Area 209715200 bytes

    Bytes of size 1272864 fixed
    155190240 variable size bytes
    Buffers 50331648 database bytes
    Redo buffers 2920448 bytes


    RMAN > restore controlfile autobackup.

    From restoration to SEPT. 08.-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 156 devtype = DISK

    field of recovery destination: / u02/flash_recovery
    name of database (or unique name of database) used for research: TEST
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: /u02/flash_recovery/TEST/autobackup/2009_12_09/o1_mf_s_705171034_5l0kgv4o_.bkp
    channel ORA_DISK_1: restore full automatic backup of control file
    output filename=/u02/control_files/TEST/control02.ctl
    output filename=/u03/oradata/TEST/control03.ctl
    Restoration finished in 08-SEVEN.-10

    RMAN > change the editing of the database;

    mounted database
    output channel: ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure to modify the order db at 08/09/2010 14:54:50
    RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target not found in the recovery catalog database


    I guess it has something to do with the DBID but... I don't have and I do not know how to find.

    Hello
    Try this
    RMAN > Connect target /.
    RMAN > Connect catalog rman/rman@test
    RMAN > startup nomount;
    RMAN > list backup of controlfile;

  • RMAN - 06004:ORACLE error in the recovery catalog. ORA-00904: invalid...

    Hello all,.

    One of our backups RMAN fails with the following error message. Any suggestions would be greatly appreciated.

    ==================================================================================================

    From backup 2008-12-30 22:03:47
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to 2008-12-30 22:03:47
    RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier

    RMAN >
    RMAN > #BACKUP # ARCHIVELOG delete all '% d_bkp_al_ % t_Set % s_Piece %p' entry FORMAT;
    2 >
    3 > # DELETE ARCHIVELOG until ' SYSDATE-7 ";
    4 >
    5 > # check if the database can be restored
    6 > RESTORE DATABASE # VALIDATE;
    7 >
    8 > # check if controlfile can be restored
    9 > #RESTORE # CONTROLFILE to ' / backups/admin/custpr/custpr_bkp_cntlfile.ctl' VALIDATE;
    10 >
    11 > # check if archivelogs for these past two weeks can be restored
    12 > # RESTORE ARCHIVELOG FROM TIME ' SYSDATE-7' VALIDATE ';
    13 >
    14 > #-check all backups on backup media are intact
    15 > # CROSSCHECK BACKUP OF DATABASE;
    16 >
    17 > #-display based on a list of files that need to be stored on the retention
    18 > policy #. For this case study, the files that do not have at least 1 backups
    19 > # will be reported.
    20 > REPORT NEED backup.
    RMAN retention policy apply to the order
    RMAN retention policy is set to 7 days recovery window
    Report of the files whose recovery needs more 7 days of archived newspapers
    Days of files name
    ---- ----- -----------------------------------------------------
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of command report at 2008-12-30 22:03:48
    RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier

    RMAN >
    RMAN > #-remove unnecessary backups. This command deletes the backups based on the
    2 > retention policy of #.
    3 > # commented DELETE OBSOLETE - TSM not configured to remove on 68
    4 > #DELETE # OBSOLETE;
    5 >
    6 > #-complete list of the existing backups
    7 > LIST BACKUP;
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the list command at 2008-12-30 22:03:49
    RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier

    RMAN >
    RMAN > # end of file.
    2 > * end-of-file *.

    RMAN >

    Published by: ORA_UMAIR on December 31, 2008 07:51

    No help is possible.
    You publish a file of newspaper only, and can not see the command that failed.
    Also you include, contrary to the recommendation in the post on Forums label, the complete version number of 4-digit.
    This is important because they either has an error in your script that does not find RMAN or you hit a bug.

    -----
    Sybrand Bakker
    Senior Oracle DBA

  • RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target

    Hello

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to 2009-03-31 21:59:24
    RMAN-03014: implicit recovery catalog Resync failed
    RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target not found in the recovery catalog database


    I get the above error while taking backup RMAN Level0. I am able to connect to the database of the catalogue without any problem.

    I already have this registry database command in RMAN prompt. Now I am able to see backup list but I don't know how that DB asking to sign up for today. Until yesterday, the backups were running fine btu today his application to enter the catalog DB.

    Here we manually to connect the catalogue in this way
    rman target $ /.
    RMAN > catalog connection rmanuser/password @ < globalcatalogDB >
    connected.

    After that if I give this command means...

    RMAN > backup from the list of database;
    I get the error I pasted at the earliest.

    Thanks in advance.

    If you do not have a catalog, you need not to save the database. Rely you only on the target database controlfile. If you use a catalog, you must save the target database, but only once. If you sometimes use a catalog - and sometimes not--the appropriate command is RESYNC (although in many cases RMAN automatically done).

    Werner

  • Can I use the recovery discs HP on a new SSD for HP Envy Windows 8?

    Hello

    I've owned my TouchSmart from HP ENVY 15 - j105sa Notebook PC, Ref. F5D08EA for a few months now and I would like to upgrade to an SSD Samsung Evo 840 (500 GB) HARD drive.

    I use the recovery disks that I created when I got the laptop to install the OS on the new SSD? I know that I could do it with previous versions of Windows, but with secureboot etc I do not know if this can be done with Windows 8, I know, it can be disabled in the BIOS, but I have the latest bios update for my laptop that I check regularly.

    Thanks for any help.

    The method the most painless way to do is to buy the new SSD as a migration kit.

    Migration kits are delivered with a USB to SATA data\power connector and cloning software.

    Recovery and recovery usb media discs games requires that the target disk is the same size or larger than the original. In using the method of migration (cloning) will show that a problem.

    It makes you, thank you.

  • How to find databases registered in the recovery catalog.

    I want to know how many registered in the recovery catalog databases

    How can I find it?

    Thank you!

    Dan wrote:
    I want to know how many registered in the recovery catalog databases

    How can I find it?

    Thank you!

    Use the 'RC_DATABASE' in the catalog database

  • RMAN-20207: until the RECOVERY WINDOW, which was before the RESETLOGS

    Dear friends,

    I'm picking up some time and I have used this SQL in my RMAN

    reset the database incarnation 1;

    run
    {
    until ' to_date (3 Aug 10 17:50 ',' MON-DD-YYYY HH24:MI:SS') ";
    restore the database;
    recover the database;
    }

    and I get this error: RMAN-20207: until the RECOVERY WINDOW, which was before the RESETLOGS

    I thought changing the incarnation will solve the problem. I have only 2 incarnations, which is used after that the resetlogs which is number 2. So I now use 1 incarnation.

    How should I go about this?

    Thanks in advance.

    Nith

    user645399 wrote:
    Moved to Ribbon!

    Ok...

    Now, what you have to do: If you want to point at the time of recovery, you must have a valid backup plus archivelogs in order to recover up to the desired time.

    From now on, full backup is available for the time that you asked, however archivelogs not :(

    You must make available, controlfile catalogue and begin to restore, recover up to the hour. Then open with resetlogs option.

  • How do I know if the recovery catalog is configured

    Hi friends,

    Today I faced a typical question that I've never heard and looking for a response that

    If I got a database, how to check if that database has a recovery catalog configured or not?

    I know, by catalogue, we can check databases saved using view v$ RC_DATABASE. but it's new to me...

    Please shed some light... Thanks in advance

    mseberg wrote:
    You can try to select the RC_SITE view in your catalog database.

    He wants to know the information of target database_ no recovery catalog database.
    View RC_DATABASE is used to search the database of registered in the recovery catalog.
    View RC_SITE lists information about all databases in a Data Guard environment that are known to the recovery catalog.

  • specification does not match any newspaper archive in the recovery catalog

    RMAN > delete archivelog until time = ' sysdate-15';

    output channel: ORA_DISK_1
    output channel: ORA_DISK_2
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 151 devtype = DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid = 143 devtype = DISK
    specification does not match any newspaper archive in the recovery catalog


    Database 10.2.0.3.0 on win2008 (VMWARE)
    Thank you

    Honey says:
    RMAN > delete archivelog until time = ' sysdate-15';

    output channel: ORA_DISK_1
    output channel: ORA_DISK_2
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 151 devtype = DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid = 143 devtype = DISK
    specification does not match any newspaper archive in the recovery catalog

    Database 10.2.0.3.0 on win2008 (VMWARE)
    Thank you

    There is no archived redo log file corressponding your query. There is no archived for 15 days ago redo log file

  • Pavilion p6506f: System Recovery option grayed out when you use the recovery to factory default reset disk

    Dear experts,

    Please help me on what I am making a solution for about 4 hours now...

    Somehow my recovery partition is damaged, so I use the recovery disk that I created when I bought the computer.

    I used the disc to start the computer and after loading files and everything on the menu of Recovery Manager "System Recovery" is grayed out.  Note that I have not changed any hardware on the computer.

    Help, please!

    Thank you!

    Hello

    You did do the right thing. But you created a Win 7 recovery disk, not the game of HP recovery disks.

    You can switch to Win own 10.

    You will need the product key Microsoft of the COA sticker attached to the frame of your PC of 25 characters.

    Images of example COSTS:

    Do a clean install of win 10 If you do not know the product key of Windows 7 on the certificate of authenticity.

    Win 7 PC sometimes have problems updating to Win 10.

    I really think you should get support from HP Win 7 recovery. If the Win 10 upgrade fails you can always return Win 7 If you have a Win 7 HP recovery media.

    Your choice.

    Jay

  • Satellite Pro A200: How to create Dual boot; Vista & XP using the recovery CD

    I just bought a laptop Satellite Pro A200, which was supplied with the product for Vista and XP Recovery discs.
    The license specifically Vista also XP licenses.
    Can I set up a dual boot so that I can boot to Vista or XP? If so, how?

    I would also like a third boot, Red Hat Linux 9.
    Any comments?

    Hmmm. Usually it s possible to use two or more operating systems on the computer, but as far as I know the Toshiba Vista recovery CD formats whole disk when installing Vista and this will lead to the loss of the OS installed.
    I m not 100% sure on the recovery of the newest XP CD called RECON doesn t CD include an expert mode which allows to choose between the different partitions.

    So I guess that each use the recovery CD will format the HARD drive and erase the installed data. But of course, you can try to install the two BONES and to check if the restore XP CD allows to choose the second part of the installation of the OS.

    If it does not, it seems that you will need to an original XP from Microsoft CD or the original CD of Vista to use the two BONES.

    Best regards

Maybe you are looking for

  • Apple numbers

    Hello world Just a question. I have a column with 855 entries with this kind of date: ' 12/31/1899 10:20 ' (you will see "08:00", for example, but when you double click, you get the long date). I got the sheet. I don't create it and do not know why t

  • Why is there a bar on the left side of my computer screen and how it moves it?

    Since I installed adobe flashplayer there was this bar on the left side of my computer and I don't know how to remove... To give you a more detail on what it is that he said these things with drop down arrows: 1.) folder tasks 2.) other locations 3.)

  • 1020 more: Y at - it an option to select food tray at the time of the impression paper

    I like select feeding tray is 1 set of 2 at the time of giving the option to print. Y at - it a seting in the printer in seats option or option.

  • How can I view my continuous photos?

    Now, I have to click on the tile to open the photo. I want to see them open when I go into the folder that the photos are in.

  • excludespecified does not work

    Hello world I worked with a VPN for remote access, where everything must be sent through the tunnel via VPN, but specific to a public IP traffic. I tried to use the "excludedspcified" statement in group policy, but it does not work. When the VPN Clie