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

Tags: Database

Similar Questions

  • 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.

  • 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

  • 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-06004: ORACLE recovery catalog database error: ORA-03113: end - of -

    Hello

    I experience backup scripts. because once done, she will move to pod pre box.

    Database runs in mode archvelog
    I have lgged in the dbserver himself.

    the shell scripts is:
    #! / usr/bin/sh
    source. / game - env # this file will have ID password for catalogue and the target sources
    echo executing command: database Backup
    ECHO
    RMAN TARGET $dbuser / $dbpwd$ rmandb CATALOG $rmanuser/$rmanpwd@$rmandb < < eof
    Run {}
    stop immediately;
    start-up;
    }
    expressions of folklore
    output


    When I run, I get the following error

    connected to target database: HERMESQA (DBID = 3819666523)
    connected to the recovery catalog database

    RMAN > 2 > 3 > 4 > 5 >
    database closed
    dismounted database
    Instance Oracle to close

    connected to the database target (not started)
    Oracle instance started
    mounted database
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the boot command at 11/06/2009 11:27:54
    RMAN-06004: the recovery catalog database ORACLE error: ORA-03113: end of file on communication channel

    could you suggest where I have error.

    Thank you
    Benjamin Gopal

    Do not back up the database using the same catalog of recovery recovery catalog of accommodation. You could just try it back up without a recovery catalog and to ensure that this database has an automatic backup of controlfile, for example.

  • 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

  • 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.

  • 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.

  • DataGuard and RMAN across Oracle versions

    I was curious to know what restrictions we cross versions of Oracle using RMAN and DataGuard.  That is to say, can use DataGuard to ship newspapers a 11.2 a standby 12.1 primary?  We have to restore a database 11.2 12.1?

    Support for the mixed Version, for a Data Guard physical standby is generally NOT supported.

    Physical standby need primary and standby should be in the same version

    You can restore database on 12.1 11.2 House, but must open the database with the option 'open resetlogs upgrade' as binary and db are in different version. We perform db upgrade after the opening of database

  • 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.

  • 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

  • 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

  • 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

Maybe you are looking for