Catalog RMAN 11g XE

First of all, personally, I'm a novice of the oracle, more than one linux administrator myself.  But I support troubleshooting of errors with backups RMAN of a database.

We are connecting to Enterprise Edition of Oracle (11.2.0.4.0) to back up the database.  Our catalog of recovery is the use of Oracle 11 g Express edition (I think that the version number is specifically 11.2.0.2.0)

The backup sends a pretty normal RMAN backup script.  We get the result of our newspapers:

Recovery Manager: release 11.2.0.4.0 - Production Wed Feb 26 10:17:17 2014

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

connected to target database: LIVEDB (DBID = #)

connected to the recovery catalog database

PL/SQL package CATALOG. DBMS_RCVCAT 11.02.00.02 in the RCVCAT database version is not current

PL/SQL package CATALOG. DBMS_RCVMAN 11.02.00.02 in the RCVCAT database version is not current

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

RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

RMAN-03009: failure to allocate command to the channel ch00 at 26/02/2014 10:17:19

RMAN-10015: error compiling program PL/SQL

RMAN-10014: PL/SQL error on line 102 12 column 0: statement ignored

RMAN-10014: PL/SQL 302 on column error line 102 24: component 'THROTTLE_ME' must be declared

Complete recovery manager.

(Note: the renowned CATALOG database and target recovery catalog name renamed to LIVEDB to keep things generic)

I'm assuming that the issue is ORACLE XE has an outdated version of the recovery catalog from the RMAN on the target database (11.2.0.4.0 vs 11.2.0.2).

So, two questions:

(1) does a version problem as I guess, or is there something else?

(2) at - it something we can do using the software oracle XE as the recovery catalog?

I have the RMAN script, if I need to publish.

So we have successfully our catalog updated 11.2.0.4 and made a backup.

The solution, which may have been easier than easy, had to use RMAN (11.2.0.4) client to connect to our catalogue (11.2.0.2).  Then, run the upgrade catalog command.

Simple.

Basically

RMAN > connect username/password@CATALOG

RMAN > upgrade catalog

Obviously, CATALOG is the name of your catalog of recovery and probably should have a tnsnames.ora entry and others.

We got it to work.

clcarter, thanks for the bread crumbs - I never thought to use the updated backend catalog rman client.

Tags: Database

Similar Questions

  • rman 11g exp ctalog

    Hello dear

    Rel Oracle 11.2

    I need to duplicate my catalog rman with exp and imp

    the problem is other tables do not exported... therefore the new catalog have a lot of invalid objects

    vpc_databases example

    look for the means to command and the newspaper

    exp/word of past system file=/u01/CDs/rman.dmp STATISTICS = none owner = rman

    Export: Release 11.2.0.1.0 - Sun 4 Oct 14:44:55 Production 2015

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

    Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    Export in US7ASCII and AL16UTF16 NCHAR character set

    Server uses WE8MSWIN1252 (possible character set conversion) character set

    About to export specified users...

    . export of the actions and the patterns of objects procedures

    . exporting foreign function library names of user RMAN

    . export synonyms for PUBLIC types

    . export synonyms for private types

    . export definitions of object type for the user RMAN

    About to export objects from RMAN...

    . export the database links

    . export of sequence numbers

    . export cluster definitions

    . about to export tables of RMAN by conventional means...

    . . export the AL 482 exported table rows

    . . export the lines of table 1 BCB exported

    . . export rows in table 4 of BCF exported

    . . export the 440 BDF exported table rows

    . . export the BP 52 exported table rows

    . . export the BRL 681 exported table rows

    . . export the BS 58 exported table rows

    . . export the table exported BSF 4 lines

    . . export of table RTC 0 rows exported

    . . export the CDF 46 exported table rows

    . . export the CFS 209 exported table rows

    . . export the rows in the table 11 CASH exported

    . . export the lines of table 14 exported CONF

    . . export rows in table 1 export CONFIG

    . . export the DB 3 exported table rows

    . . export the rows in the table exported DBINC 7

    . . export the DF 226 exported table rows

    . . export the FB 1 exported table rows

    . . export the 3 NŒUD exported table rows

    . . export the rows of the table off STANDBY 3619 exported

    . . export rows in table 32 exported ORL

    . . export the rows in the table 8 exported APB

    . . export the rows in the table exported PDBINC 8

    . . export the lines of table exported PDB_DBINC 12

    . . export of table RCFILE 0 rows exported

    . . export rows in table 1 exported RCVER

    . . export of table RLH 33014 rows exported

    . . export table ROUT 22817 exported lines

    . . export the RSR 748 exported table rows

    . . export the rows of table exported RT 3

    . . export the SITE_DFATT 226 exported table rows

    . . export the rows in the table exported SITE_TFATT 7

    . . export the TF 7 exported table rows

    . . export the TS 233 exported table rows

    . . export the TSATT 234 exported table rows

    . . export of table XMLSTORE 0 rows exported

    . export synonyms

    . export of the views

    . export of stored procedures

    . export of operators

    . export of referential integrity constraints

    . export of triggers

    . export indextypes

    . image bitmap, functional and extensible index export

    . export of posttables actions

    . export of materialized views

    . export of the instant newspapers

    . export the work queues

    . export of groups of refreshment and children

    . export of dimensions

    . export actions and procedures of post-compilation schema objects

    . export statistics

    Export completed successfully without warnings.

    any suggestion please

    Don't you know the feature CATALOG RMAN IMPORT, which was introduced in 11g?

    There is an example at the end of the following URL:

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10643/rcmsynta026.htm#RCMRF198

    You can use it instead of import/export.

  • Grid control - catalog RMAN issues

    Hello

    I have listed under questions.

    We use a grid of 11 GR 2 control.

    (1) for all target/databases saved with the grid control, I want to find from a query or report if the objectives/databases are configured to use the control or RMAN catalog for the backup file

    as if I have 10 databases registered in the grid control, I want to know the breakdown of databases using the control file and catalog RMAN.

    (2) question / View / report in grid control for the status of all backup jobs (success / failures / warnings etc.)

    Thanks in advance for your answers.

    Published by: user1368801 on July 19, 2011 15:34

    1-all the databases that are configured to use the catalog (this does not mean that they will use the catalog) are visible by using the rc_database view in the catalog. If a database is not configured in the catalog of the db uses the control file.

    2 - A query, you can use: see http://lianggang.wordpress.com/2009/06/08/create-your-own-reports-on-oem-grid-control-part-1/
    You may need to change a little bit, but it's a start.

    Eric

    ADDES later:
    2 regarding: or use something like
    SELECT
    JOB_NAME,
    STEP_NAME, START_TIME,
    TARGET_NAME END_TIME, STATUS,
    TARGET_TYPE
    OF SYSMAN. MGMT$ JOB_STEP_HISTORY
    WHERE STEP_NAME = "Rman".
    AND THE VALUE OF START_TIME > SYSDATE-2
    ORDER BY START_TIME CSA

    I can't verify this request because the site where I work, we use RMAN catalog.

  • RMAN catalog 11 GR 2 Update Catalog RMAN-06429

    Hi all

    I have databases oracle 11 GR 1 material and GR 11, 2 in use.
    Last time I would upgrade the catalog with 'Upgrade catalog' database to backup databases the new 11 GR 2.

    The upgrade looks good, but after this task, I have 21 invalid objects in the RMAN catalog and it was not possible to compile without error. And all the other which backups using the catalog fails the RMAN-06429.
    -> Package PL/SQL BAKRMAN. DBMS_RCVCAT Version 11.02.00.02 in the RCVCAT too recent database.
    I therefore return to the action.

    What is the right way to use the catalog rman with levels of different database?
    How can I use the catalog also for 11 GR 2 databases without any side effect on my other 11 GR 1 material databases?
    The rman catalog reside on a 11.1.0.7.0 database.

    BR
    Daniel

    http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28273/compat003.htm
    Database TARGET RMAN-06429 is not Compatible with this Version of RMAN [245698.1 ID]

    Hello

    So, how I understand, I should send the command "upgrade catalog" new 11 GR 2 database server.

    Yes, the process of looking at this.

    Opening of session of rman 11 GR 2 binary upgrade CLI:

    $ rman catalog bakrman /@.

    connected to the recovery catalog database
    RMAN PL/SQL package. Version X.X.X.X in database RCVCAT DBMS_RCVCAT is too old

    RMAN > upgrade catalog;

    recovery catalog owner is BAKRMAN
    Enter the command of CATALOG to UPGRADE again to confirm the upgrade of the catalogue

    RMAN > upgrade catalog;

    Upgraded to version X.X.X.X recovery catalog
    DBMS_RCVMAN package updated to version X.X.X.X
    DBMS_RCVCAT package updated to version X.X.X.X

    After that this upgrade, only objects of schema in the recovery catalog database should be improved, right?

    Fix.

    Kind regards
    Tycho

    Edited by: tychos January 25, 2011 14:40

  • Trying to backup 11.1.0.7.5 database with a 11.1.0.6.0 catalog rman

    Hello
    The EE of Oracle on Linux 64-bit database.

    Upgrade of database at 11.1.0.7.5, now when the rman client works I get this when I connect to the catalog:
    connect catalog rman/rman@RMAN111
    
    connected to recovery catalog database
    PL/SQL package RMAN.DBMS_RCVCAT version 11.01.00.06 in RCVCAT database is not current
    
    DBGSQL:     RCVCAT> begin    :upgrade_completed := dbms_rcvcat.UPGRADE_COMPLETED
    ;end;  [09:28:43.172]
    DBGSQL:        sqlcode = 6550 [09:28:43.172]
    DBGSQL:         B :upgrade_completed = 0
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00600: internal error, arguments [9302] [6550] [begin    :upgrade_completed
     := dbms_rcvcat.UPGRADE_COMPLETED;end; ] [] []
    RMAN-06004: ORACLE error from recovery catalog database: ORA-06550: line 1, colu
    mn 44:
    PLS-00302: component 'UPGRADE_COMPLETED' must be declared
    ORA-06550: line 1, column 10:
    PL/SQL: Statement ignored
    The MOS research I can find a fix (Note: 741913.1) to be applied during the upgrade of the catalog database. I don't see how I can apply a 11.1.0.6 database.

    So that means that I can't back up a 11.1.0.7.x database by using the 11.1.0.7 customer, unless the catalogue is also 11.1.0.7.x? I can't find any documentation to say that this is the case.

    Someone else stumbles?

    Thank you
    Pete

    Hi Pete,.
    You can run a newer version of the catalogue in a lower version of the RDBMS (limits).
    Check following you link.

    http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28273/compat003.htm#i634479

    Kind regards
    Tycho

  • Catalog RMAN and dataguard wout?

    Hello

    We have used RMAN backups and recently put in place a dataguard environment in 10g r2 (physical standby). All through the upgrade to 11g that I came across instructions say you must use a recovery catalog in an environment of dataguard. Backups are running on the primary just using the control file and everything seems to work. I fact a 'Validate restore database' and he succeeded. The recovery catalog is necessary if I chose to do the backups on the eve-, or is a catalog that is required in my scenario?

    Thank you

    Mark

    Published by: user6061469 on April 20, 2011 11:43

    It is an improvement. But not an obligation so you don't need where a plan to save the two sites and use a common catalogue.

    Hemant K Collette

  • extract from catalog rman backup report sorted by host name

    Hi all

    I have a catalog database.

    I have a lot of database running on multiple servers.

    I need to extract the backup report of database catalog sorted by host name.

    Please share all the reporting scripts you have.

    Here is the script that I have to extract the backup report

    Col in the shape of "TIME_SINCE_LAST_BACKUP (HOURS) topic TIME 99999.99

    Col BACKUP_SIZE column titled "BACKUP_SIZE (GB)"

    Neck backup for a12

    Course DURATION col ' BACKUP | DURATION | (MIN) "form 999.99

    TIME of col position "TIME_SINCE | LAST_BACKUP | (H) ' train 99999.99.

    col BACKUP_SIZE column headers "BACKUP_SIZE column | (GB) »

    SELECT A.DB_NAME

    , A.OBJECT_TYPE 'BACKUP '.

    (, TO_CHAR(A.START_TIME,'dd/mon/yyyy hh24:mi:ss') START_TIME

    (, TO_CHAR(A.END_TIME,'dd/mon/yyyy hh24:mi:ss') END_TIME

    , ROUND ((A.END_TIME - A. (START_TIME) * 24 * 60, 2) DURATION

    , ROUND ((SYSDATE - A. (END_TIME) * 24: 2) TIMES

    ROUND (OUTPUT_BYTES/1024/1024/1024,2) BACKUP_SIZE COLUMN

    OF rman. RC_RMAN_STATUS, A.

    (SELECT DB_NAME, OBJECT_TYPE

    MAX (END_TIME) END_TIME

    OF rman. RC_RMAN_STATUS

    WHERE

    OBJECT_TYPE IN ('FULL DB","DB INCR")

    AND

    STATUS like '% COMPLETE '.

    AND

    OPERATION ("BACKUP", "BACKUP COPYROLLFORWARD")

    DB_NAME, OBJECT_TYPE) B

    WHERE A.OBJECT_TYPE IN ('FULL DB", 'DB INCR', 'ARCHIVELOG')

    AND

    STATUS like '% COMPLETE '.

    AND

    OPERATION ("BACKUP", "BACKUP COPYROLLFORWARD")

    AND

    A.DB_NAME = B.DB_NAME

    AND

    A.END_TIME = B.END_TIME

    AND A.OBJECT_TYPE = B.OBJECT_TYPE and

    A.end_time > sysdate - 1.5

    ORDER BY 2,1 desc;

    Hello

    I think you need to create your own table and add the entry for the server name, database and DBID and then use this table in your query with join column DBID.

    HTH

  • Views of the repository to check catalog RMAN

    Hi all

    Y at - it a display that shows if the database uses the catalog for the backup, we have planned the rman using OEM, now I need to create a UDM that sends an alert if you do not use catalog, I want to do it using the sql with views OEM command.

    any view that can be my help?
    I went through http://docs.oracle.com/cd/B1930601/em.102/b16246/views.htm#BACDGFJC_,
    but could not find any suitable display,

    Having checked this: "MGMT$ HA_BACKUP", this view will give the required information?

    Please suggest.

    Thank you and best regards,
    Harish

    In the RMAN discovered RC_BACKUP_SET repository you will find by database the most recent backup time (NEWEST_BACKUP_TIME column), if calaog is used.
    If a database is not backupped using the catalog that no new entry will be added to this view. For example, if the target is a database in the repository of the MA, but has no recent entry in RC_BACKUP_SET (sysdate-2 or something like that) the backup fails either or the backup was made do not help catalog. In both cases, further investigation is necessary.

    Hope this helps,

    Eric

  • CATALOG RMAN WITH DIFFERENT PLATFORM

    Respected by all,
    my linux platform database and can create rman catalog in the windows platform?


    Thank you all for the reply.

    This is the same mechanism of functioning of the LINK DB in heterogeneous platforms like Oracle to SQL server, and vice versa.

    When you be able to update the database of different platforms, why not possible when the operating system is different.
    It will keep the repository with ORACLE, nothing to do with the OS.

  • Catalog RMAN in Oracle XE

    Hello
    Can we create and use the RMAN catalog in oracle express edition? Any idea?

    Thank you

    Salman

    Hello Salman,

    Salman Qureshi says:
    Hello
    Can we create and use the RMAN catalog in oracle express edition? Any idea?

    No Yes... no problem.

    See this example:
    http://Pozniak.pl/WP/?page_id=154

    Kind regards
    Levi Pereira

  • RMAN 11g Active Data Guard

    I just built my first Active Data Guard 11g... Well, the next thing to do is the RMAN part.
    At this point, I want to know:
    (A) Comment / what you ask that a newspaper has been applied on the side of the eve
    (B) how RMAN knows what has been applied
    (C) if I do the RMAN backup side the day before, won't be there always some difference because there is always some delay between the primary and Standby?

    I assume you mean with RMAN to delete the archive logs? If the newspaper was not delivered and applied to the day before still wont RMAN delete, instead, it displays the following error:

    RMAN-08137: WARNING: log archiving not deleted because it is still necessary

    Until the newspaper has been applied on the eve, this intelligence is built in to 11G (10 g you need a parameter of '_' to get this to work).

    Thank you
    Paul

  • Resync catalog RMAN

    Hi all,

    I have a basic doubt.

    What is the way to check the catalog database is undergoing after giving a catalog sync?

    Kind regards
    Delphine K

    PLS, look here for all catalog related tables and the corresponding view: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcviews001.htm#i77529

    You will be in unsync, say when you added tablespace, but the catalog has no information on this subject, unless you connected with RMAN.

    So you can join the catalog views with views of database target and what is missing.
    Fe:

    RC_DATAFILE - this view lists information about all the files of data registered in the recovery catalog. So if you have added the new target database data file, this new data file will not be listed unless you resynchronize. This means new datafile will be listed in v$ datafile of data target, but will not appear in RC_DATAFILE.

  • Recreation catalog RMAN, confusion.

    Hi all

    Yesterday when I came to office, I found that my rman catalog that is located on a separate server is unable to start, it gave me the error of reading datafile TS_RMAN, unfortunately I did ' t had any kind of backup for this tablespace, I had to drop the tablespace, so what I have is:

    1. startup mount
    2 alter database datafile drop < TS_RMAN >
    3. change the database open
    4 drop tablespace including contents
    5. recreate the tablespace with the new data file "choose a new file name.

    now when I connect with RMAN after leisure TS_RMAN, I tried to list backupsets and surprisingly he showed me all these backupset were present before TS_RMAN recess.

    Confusion: I always thought that all the backup of database information is stored in the RMAN tablespace in the catalog, so if it is true, how is it that was capable of retrieve information even after TS_RMAN recess. If this isn't the case... then where RMAN stores backupset informaiton?

    Kind regards

    If you use rman nocatalog connect... You can list backupsets?

    If Yes... Because your control file to store information on the backup...

    How long (days)?

    SQL > show parameter control_file_record_keep_time

    This setting applies only to records in the control that are circularly reusable file (such as the log records to archive and backup documents). It does not apply to records such as datafile, tablespace and redo the annals of thread, which are never reused unless the corresponding object is deleted from the storage space.

    When re register the catalog... that resync information about backup + etc. on database control files to catalog...

  • creating a catalog rman in 12 c

    Hello everyone, I am trying to create a new catalog in version 12 c, but I have a doubt assimilated, if the database must be a container or a snap-in database, someone has any ideas on the best option for the location

    You can use a pluggable database. It's the future architecture of the ORACLE database.

  • extra strength 0 vs level 1 in views catalog rman

    Hello world

    Help, please.

    I use this query to view the backup history.

    I'm doing the level 0 incremental backup each weekend and extra staff 1 day of week.

    SELECT db_name, status, to_char (start_time, 'HH24 JJ/MM Dy'), to_char (end_time, 'HH24 JJ/MM Dy').

    time_taken_display as backup_time

    OF rman.rc_rman_backup_job_details

    WHERE db_name IN ('PROD', 'TEST')

    AND input_type DB ' INCR '

    ORDER BY ASC start_time;

    Because INPUT_TYPE column does not distinction level 0 and backups at level 1, how can know what kind of backups have been executed?

    Thank you

    Hello

    You need to join rc_backup_set_details for the incremental_level related to the backup.

    RC_BACKUP_SET_DETAILS

    Kind regards

    --

    Bertrand

Maybe you are looking for