Backup Oracle 9 with CommVault Galaxy & RMAN

We have recently upgraded our database from 8.1.7 to 9.2.0.4 and also installed a new backup system CommVault Galaxy. We have installed the filesystem and oracle agents, and CommVault talks happily to our Oracle instance (able to view tablespaces etc). But it will not backup because it says:
"m_rmanProcess->Failed(). Please, check RMAN log file for details"
Do we have to configure RMAN or will CommVault sort itself out? How do we get them talking so we can actually backup?
Excuse my ignorance as I am only recently having to look after Oracle and I am not a DBA!! Hopefully someone can shed some light on this for me! Thanks in advance!

Do we have to configure RMAN or will CommVault sort itself out?It is the question you have to ask the vendor or documentation related to CommVault.
W.r.to oracle, RMAN needs to be manually configured.
So i assume , your backup tool is using some API to talk to oracle and is looking for RMAN.
Please look into CommVault docs.

Similar Messages

  • How to backup Oracle Database Single Instance using RMAN

    Folks,
    Hello. I am using Oracle Database Server 11gR1 with Operating System Oracle Linux 5.10.
    I understand how to backup database instance in SQL Server with Windows. But don't really understand how to backup database instance in Oracle with Linux.
    I have done Cold backup and Hot backup for the database instance HRCS90 but both get the same error message.
    Cold backup is below:
    SQL> startup
    ORACLE instance started.
    Total System Global Area  538677248 bytes
    Fixed Size                  2146024 bytes
    Variable Size             528482584 bytes
    Database Buffers            4194304 bytes
    Redo Buffers                3854336 bytes
    Database mounted.
    Database opened.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    RMAN> backup database;
    Starting backup at 25-NOV-13
    using target database control file instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 11/25/2013 14:26:52
    RMAN-06171: not connected to target database
    RMAN> backup HRCS90
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "archivelog, auxiliary, as, backup, backupset, blocks, channel, check, copy, copies, controlfilecopy, cumulative, current, database, datafile, datafilecopy, device, diskratio, db_recovery_file_dest, db_file_name_convert, duration, filesperset, for, format, from, full, force, file, incremental, keep, (, maxsetsize, nochecksum, noexclude, nokeep, not, proxy, pool, reuse, recovery, section, skip, spfile, skip readonly, setsize, tablespace, tag, to, validate"
    RMAN-01008: the bad identifier was: HRCS90
    RMAN-01007: at line 1 column 8 file: standard input
    RMAN> backup database HRCS90
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "archivelog, auxiliary, backup, backupset, channel, copy, controlfilecopy, current, database, datafile, datafilecopy, delete, diskratio, db_recovery_file_dest, filesperset, format, from, force, file, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, plus, reuse, recovery, section, ;, skip, spfile, skip readonly, setsize, tablespace, tag, to"
    RMAN-01008: the bad identifier was: HRCS90
    RMAN-01007: at line 1 column 17 file: standard input
    While the database instance HRCS90 is startup, I do hot backup using the same commands and get the same error message with above cold backup.
    My question is:
    Can any folk tell me the specific steps (command by command) to backup a single database instance in Oracle using RMAN ?
    Thanks.

    Folks,
    Hello. Thanks a lot for replying. My database instance named HRCS90 is going to be backed up. My backup directory is /backup_Database_Instance_HRCS90.
    If database in open state, we must back up in archive log. If database in mount state but not open, we can back up in noarchive log.
    I have tried to back up HRCS90 in archive and noarchive log when database in mount state but not open as below:
    SQL>startup mount;
    SQL>exit
    [user@linux bin]$./rman
    RMAN>connect target;
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/backup_Database_Instance_HRCS90/full_%u_%s_%p';
    new RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/backup_Database_Instance_HRCS90/full_%u_%s_%p';
    new RMAN configuration parameters are successfully stored
    released channel: ORA_DISK_1
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 360 DAYS;
    new RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 360 DAYS;
    new RMAN configuration parameters are successfully stored
    RMAN> backup as backupset database plus archivelog;
    Starting backup at 01-DEC-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=44 device type=DISK
    specification does not match any archived log in the recovery catalog
    backup cancelled because all files were skipped
    Finished backup at 01-DEC-13
    Starting backup at 01-DEC-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=/u01/oradata/HRCS90/system01.dbf
    input datafile file number=00090 name=/u01/oradata/HRCS90/psimage.dbf
    input datafile file number=00060 name=/u01/oradata/HRCS90/gpapp.dbf
    input datafile file number=00119 name=/u01/oradata/HRCS90/tlwork.dbf
    input datafile file number=00102 name=/u01/oradata/HRCS90/pttlrg.dbf
    input datafile file number=00054 name=/u01/oradata/HRCS90/faapp.dbf
    input datafile file number=00110 name=/u01/oradata/HRCS90/saapp.dbf
    input datafile file number=00101 name=/u01/oradata/HRCS90/pttbl.dbf
    input datafile file number=00002 name=/u01/oradata/HRCS90/sysaux01.dbf
    input datafile file number=00106 name=/u01/oradata/HRCS90/py0lrg.dbf
    input datafile file number=00004 name=/u01/oradata/HRCS90/psdefault.dbf
    input datafile file number=00117 name=/u01/oradata/HRCS90/tlapp.dbf
    input datafile file number=00007 name=/u01/oradata/HRCS90/adapp.dbf
    input datafile file number=00082 name=/u01/oradata/HRCS90/paapp.dbf
    input datafile file number=00074 name=/u01/oradata/HRCS90/hrsapp.dbf
    input datafile file number=00092 name=/u01/oradata/HRCS90/ptamsg.dbf
    input datafile file number=00056 name=/u01/oradata/HRCS90/fgapp.dbf
    input datafile file number=00114 name=/u01/oradata/HRCS90/stapp.dbf
    input datafile file number=00005 name=/u01/oradata/HRCS90/aaapp.dbf
    input datafile file number=00118 name=/u01/oradata/HRCS90/tllarge.dbf
    input datafile file number=00009 name=/u01/oradata/HRCS90/avapp.dbf
    input datafile file number=00065 name=/u01/oradata/HRCS90/hrapp2.dbf
    input datafile file number=00078 name=/u01/oradata/HRCS90/hrwork.dbf
    input datafile file number=00116 name=/u01/oradata/HRCS90/stwork.dbf
    input datafile file number=00077 name=/u01/oradata/HRCS90/hrswork.dbf
    input datafile file number=00115 name=/u01/oradata/HRCS90/stlarge.dbf
    input datafile file number=00049 name=/u01/oradata/HRCS90/epapp.dbf
    input datafile file number=00098 name=/u01/oradata/HRCS90/ptprc.dbf
    input datafile file number=00037 name=/u01/oradata/HRCS90/eoewapp.dbf
    input datafile file number=00032 name=/u01/oradata/HRCS90/eoecapp.dbf
    input datafile file number=00086 name=/u01/oradata/HRCS90/piapp.dbf
    input datafile file number=00099 name=/u01/oradata/HRCS90/ptprjwk.dbf
    input datafile file number=00019 name=/u01/oradata/HRCS90/cularge.dbf
    input datafile file number=00035 name=/u01/oradata/HRCS90/eoeiapp.dbf
    input datafile file number=00045 name=/u01/oradata/HRCS90/eoppapp.dbf
    input datafile file number=00076 name=/u01/oradata/HRCS90/hrslarge.dbf
    input datafile file number=00044 name=/u01/oradata/HRCS90/eoltapp.dbf
    input datafile file number=00094 name=/u01/oradata/HRCS90/ptappe.dbf
    input datafile file number=00050 name=/u01/oradata/HRCS90/eplarge.dbf
    input datafile file number=00084 name=/u01/oradata/HRCS90/pcapp.dbf
    input datafile file number=00111 name=/u01/oradata/HRCS90/sacapp.dbf
    input datafile file number=00100 name=/u01/oradata/HRCS90/ptrpts.dbf
    input datafile file number=00023 name=/u01/oradata/HRCS90/eobfapp.dbf
    input datafile file number=00096 name=/u01/oradata/HRCS90/ptcmstar.dbf
    input datafile file number=00108 name=/u01/oradata/HRCS90/pylarge.dbf
    input datafile file number=00016 name=/u01/oradata/HRCS90/cularg1.dbf
    input datafile file number=00018 name=/u01/oradata/HRCS90/cularg3.dbf
    input datafile file number=00025 name=/u01/oradata/HRCS90/eocmapp.dbf
    input datafile file number=00027 name=/u01/oradata/HRCS90/eocmwrk.dbf
    input datafile file number=00029 name=/u01/oradata/HRCS90/eoculrg.dbf
    input datafile file number=00033 name=/u01/oradata/HRCS90/eoeclrg.dbf
    input datafile file number=00036 name=/u01/oradata/HRCS90/eoeilrg.dbf
    input datafile file number=00039 name=/u01/oradata/HRCS90/eoewwrk.dbf
    input datafile file number=00041 name=/u01/oradata/HRCS90/eoiulrg.dbf
    input datafile file number=00046 name=/u01/oradata/HRCS90/eopplrg.dbf
    input datafile file number=00048 name=/u01/oradata/HRCS90/eotplrg.dbf
    input datafile file number=00053 name=/u01/oradata/HRCS90/erwork.dbf
    input datafile file number=00061 name=/u01/oradata/HRCS90/gpdeapp.dbf
    input datafile file number=00072 name=/u01/oradata/HRCS90/hrlarg1.dbf
    input datafile file number=00079 name=/u01/oradata/HRCS90/htapp.dbf
    input datafile file number=00087 name=/u01/oradata/HRCS90/pilarge.dbf
    input datafile file number=00120 name=/u01/oradata/HRCS90/waapp.dbf
    channel ORA_DISK_1: starting piece 1 at 01-DEC-13
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 12/01/2013 17:52:45
    ORA-19504: failed to create file "/backup_Database_Instance_HRCS90/full_0boqei2c_11_1"
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 13: Permission denied
    RMAN>
    RMAN>
    RMAN>
    RMAN>
    RMAN> backup as backupset database;
    Starting backup at 01-DEC-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=/u01/oradata/HRCS90/system01.dbf
    input datafile file number=00090 name=/u01/oradata/HRCS90/psimage.dbf
    input datafile file number=00060 name=/u01/oradata/HRCS90/gpapp.dbf
    input datafile file number=00119 name=/u01/oradata/HRCS90/tlwork.dbf
    input datafile file number=00102 name=/u01/oradata/HRCS90/pttlrg.dbf
    input datafile file number=00054 name=/u01/oradata/HRCS90/faapp.dbf
    input datafile file number=00110 name=/u01/oradata/HRCS90/saapp.dbf
    input datafile file number=00101 name=/u01/oradata/HRCS90/pttbl.dbf
    input datafile file number=00002 name=/u01/oradata/HRCS90/sysaux01.dbf
    input datafile file number=00106 name=/u01/oradata/HRCS90/py0lrg.dbf
    input datafile file number=00004 name=/u01/oradata/HRCS90/psdefault.dbf
    input datafile file number=00117 name=/u01/oradata/HRCS90/tlapp.dbf
    input datafile file number=00007 name=/u01/oradata/HRCS90/adapp.dbf
    input datafile file number=00082 name=/u01/oradata/HRCS90/paapp.dbf
    input datafile file number=00074 name=/u01/oradata/HRCS90/hrsapp.dbf
    input datafile file number=00092 name=/u01/oradata/HRCS90/ptamsg.dbf
    input datafile file number=00056 name=/u01/oradata/HRCS90/fgapp.dbf
    input datafile file number=00114 name=/u01/oradata/HRCS90/stapp.dbf
    input datafile file number=00005 name=/u01/oradata/HRCS90/aaapp.dbf
    input datafile file number=00118 name=/u01/oradata/HRCS90/tllarge.dbf
    input datafile file number=00009 name=/u01/oradata/HRCS90/avapp.dbf
    input datafile file number=00065 name=/u01/oradata/HRCS90/hrapp2.dbf
    input datafile file number=00078 name=/u01/oradata/HRCS90/hrwork.dbf
    input datafile file number=00116 name=/u01/oradata/HRCS90/stwork.dbf
    input datafile file number=00077 name=/u01/oradata/HRCS90/hrswork.dbf
    input datafile file number=00115 name=/u01/oradata/HRCS90/stlarge.dbf
    input datafile file number=00049 name=/u01/oradata/HRCS90/epapp.dbf
    input datafile file number=00098 name=/u01/oradata/HRCS90/ptprc.dbf
    input datafile file number=00037 name=/u01/oradata/HRCS90/eoewapp.dbf
    input datafile file number=00032 name=/u01/oradata/HRCS90/eoecapp.dbf
    input datafile file number=00086 name=/u01/oradata/HRCS90/piapp.dbf
    input datafile file number=00099 name=/u01/oradata/HRCS90/ptprjwk.dbf
    input datafile file number=00019 name=/u01/oradata/HRCS90/cularge.dbf
    input datafile file number=00035 name=/u01/oradata/HRCS90/eoeiapp.dbf
    input datafile file number=00045 name=/u01/oradata/HRCS90/eoppapp.dbf
    input datafile file number=00076 name=/u01/oradata/HRCS90/hrslarge.dbf
    input datafile file number=00044 name=/u01/oradata/HRCS90/eoltapp.dbf
    input datafile file number=00094 name=/u01/oradata/HRCS90/ptappe.dbf
    input datafile file number=00050 name=/u01/oradata/HRCS90/eplarge.dbf
    input datafile file number=00084 name=/u01/oradata/HRCS90/pcapp.dbf
    input datafile file number=00111 name=/u01/oradata/HRCS90/sacapp.dbf
    input datafile file number=00100 name=/u01/oradata/HRCS90/ptrpts.dbf
    input datafile file number=00023 name=/u01/oradata/HRCS90/eobfapp.dbf
    input datafile file number=00096 name=/u01/oradata/HRCS90/ptcmstar.dbf
    input datafile file number=00108 name=/u01/oradata/HRCS90/pylarge.dbf
    input datafile file number=00016 name=/u01/oradata/HRCS90/cularg1.dbf
    input datafile file number=00018 name=/u01/oradata/HRCS90/cularg3.dbf
    input datafile file number=00025 name=/u01/oradata/HRCS90/eocmapp.dbf
    input datafile file number=00027 name=/u01/oradata/HRCS90/eocmwrk.dbf
    input datafile file number=00029 name=/u01/oradata/HRCS90/eoculrg.dbf
    input datafile file number=00033 name=/u01/oradata/HRCS90/eoeclrg.dbf
    input datafile file number=00036 name=/u01/oradata/HRCS90/eoeilrg.dbf
    input datafile file number=00039 name=/u01/oradata/HRCS90/eoewwrk.dbf
    input datafile file number=00041 name=/u01/oradata/HRCS90/eoiulrg.dbf
    input datafile file number=00046 name=/u01/oradata/HRCS90/eopplrg.dbf
    input datafile file number=00048 name=/u01/oradata/HRCS90/eotplrg.dbf
    input datafile file number=00053 name=/u01/oradata/HRCS90/erwork.dbf
    input datafile file number=00061 name=/u01/oradata/HRCS90/gpdeapp.dbf
    input datafile file number=00072 name=/u01/oradata/HRCS90/hrlarg1.dbf
    input datafile file number=00079 name=/u01/oradata/HRCS90/htapp.dbf
    input datafile file number=00087 name=/u01/oradata/HRCS90/pilarge.dbf
    input datafile file number=00120 name=/u01/oradata/HRCS90/waapp.dbf
    channel ORA_DISK_1: starting piece 1 at 01-DEC-13
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/01/2013 17:56:51
    ORA-19504: failed to create file "/backup_Database_Instance_HRCS90/full_0coqeia5_12_1"
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 13: Permission denied
    As we see the above last 2 commands, either archive or noarchive, I get the same error:
    Archive: ORA-19504: "failed to create file /backup_Database_Instance_HRCS90/full_0boqei2c_11_1"
    Noarchive: ORA-19504: "failed to create file /backup_Database_Instance_HRCS90/full_0coqeia5_12_1" 
    My question is:
    What is the file "full_0boqei2c_11_1" or "full_0coqeia5_12_1" ?  How to solve the above error ?
    Thanks.

  • Rman with commvault mml: database crash while delete obsolete

    Hello!
    I have a problem concerning RMAN, delete obsolete and CommVault media management library: Every night at 23:00 we run a RMAN "Backup" to delete the obsolete backup files from tape. Since the update to CommVault agent 8 (from version 7) the database crashes while the delete obsolete command. The normal backup (incremental 0/1) works without problem.
    After restarting the database i tried the delete obsolete via shell -> same result: CRASH.
    The CommVault support says that there is an Oracle bug with different MML's, that causes this behaviour - but i can't find anything at Metalink.
    This is the output of RMAN (tell me which other logs can be helpful):
    RMAN-Sperr-Policy wird f³r den Befehl angewendet
    RMAN-Sperr-Policy ist auf ein Recovery-Fenster von 0 Tagen festgelegt
    Die folgenden veralteten Backups und Kopien werden gel÷scht:
    Typ Schl³ssel Abschlusszeit Dateiname/Handle
    Backup Set 7 01.09.10
    Backup Piece 12 01.09.10 c-190884945-20100901-01
    Backup Set 9 01.09.10
    Backup Piece 17 01.09.10 c-190884945-20100901-02
    M÷chten Sie die obigen Objekte wirklich l÷schen (geben Sie YES oder NO ein)? yes
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00601: fatal error in recovery manager
    RMAN-03004: Abbruchfehler bei der Ausf³hrung des Befehls
    ORA-12514: TNS: Listener kann in Connect-Deskriptor angegebenen Service aktuell nicht aufl÷sen -> listener can not resolve service name
    RMAN-03009: Fehler bei delete Befehl in ORA_MAINT_SBT_TAPE_1 Kanal auf 09/02/2010 08:57:37 -> error at delete command
    ORA-03135: connection lost contact
    Recovery Manager nicht kompatibel mit TARGET Datenbank: RMAN 14155912.14155908.14312748.1 bis 1651797107.0.27143.0 erforderlich -> recovery not compatible with TARGET database
    Best regards,
    Christian

    Hi,
    show parameter plsq
    plsql_code_type           string     INTERPRETED
    plsql_compiler_flags          string     INTERPRETED, NON_DEBUG
    That database is in interpreted mode.
    Check also the pacakages:
    select OWNER, OBJECT_NAME , PARAM_NAME ||'='||PARAM_VALUE param from DBA_STORED_SETTINGS where OBJECT_NAME in ( 'DBMS_RCVCAT','DBMS_RCVMAN' )and param_name = 'plsql_code_type'
    OWNER               OBJECT_NAME
    PARAM
    SYS               DBMS_RCVMAN plsql_code_type=INTERPRETED
    SYS               DBMS_RCVMAN plsql_code_type=INTERPRETED
    If it is native you have an issue!
    François,

  • Hot Backups - Oracle 9i, 10g and 11g

    Are all hot backups run outside of RMAN as an OS file copy? If so, isn't this a very risky exercise.
    I understand that RMAN will check for corruption where as hot backups won't. RMAN can also track backups in a recovery catalog.
    If using a hot backup, it seems like corrupt data could be backed up with the good data.
    What exactly are the advantages of using a hot backup. It is understood that the databases can be up during a hot backup, but can't they also be up with an incremental RMAN backup?

    I think you need to read the documentation again. Check on tahiti.oracle.com
    A cold backup is when the database is shutdown (can be done by file copy or rman)
    A hot backup is when the database is running (can be done by file copy or rman)
    RMAN has the advantages of backing up at block level, and going directly to tape, and compression, and incremental backup, and block checking, and backup from ASM, and catalog ......
    File copy has the advantage of being logically simple (e.g you can see exactly what is happening when you copy a file).

  • Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?

    We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database.
    I have seen the documentation on migrating non ASM to an ASM server but the methods all use RMAN. Is it possible to migrate to an ASM database without using RMAN? Would datapump import/export work if I created a new database on the new server with all the same tablespaces? Or, do I have to bite the bullet, install RMAN on the old server and do the backup?
    Thanks.

    If you're not using RMAN that doesn't mean you can't use it to perform a single backup, rman is contained in every oracle RDBMS installation version 10G or higher.
    this is only a sample of how to do it
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '<file_system_path>/%U.DBF';
    --first we allocate the channel default channel.
    RMAN>RUN
    ALLOCATE CHANNEL DEFAULTCHANNEL TYPE DISK;
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    BACKUP DATABASE;
    SHUTDOWN
    }then once you have it, you can do what you want.
    It should also be possible to manually restore the database from the original datafiles but it's better to follow the solution involving RMAN.
    Bye Alessandro

  • ORA:01013 with Duplicate Database - RMAN

    Hi,
    I havea demo database on server1 and am creating a clone database on server2 with RMAN duplicate command. I have the catalog on server1 itself. I created the backups of the database and executed RMAN command from server2 with
    server1 in open status and server2 in nomount state.
    the command i ran was:
    duplicate target database to clonedb
    until logseq 338 thread 1
    pfile=/u01/app/oracle/product/9.2.0.1.0/dbs/initclonedb.ora
    logfile
    '/u01/app/oracle/oradata/clonedb/redo01.log' size 1m,
    '/u01/app/oracle/oradata/clonedb/redo02.log' size 1m;
    Please let me know how to overcome this error..
    Thanks,
    Raj
    This is the error i got along with the log it created...
    Starting Duplicate Db at 28-OCT-04
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=14 devtype=DISK
    printing stored script: Memory Script
    set until scn 130734;
    set newname for datafile 1 to
    "/u02/oradata/clonedb/system01.dbf";
    set newname for datafile 2 to
    "/u03/oradata/clonedb/undotbs01.dbf";
    set newname for datafile 3 to
    "/u02/oradata/clonedb/testtbs_01.dbf";
    set newname for datafile 4 to
    "/u02/oradata/clonedb/system02.dbf";
    set newname for datafile 5 to
    "/u02/oradata/clonedb/rmantbs_01.dbf";
    restore
    check readonly
    clone database
    executing script: Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 28-OCT-04
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backupset restore channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set restoring datafile 00001 to /u02/oradata/clonedb/system01.dbf restoring datafile 00002 to /u03/oradata/clonedb/undotbs01.dbf
    restoring datafile 00003 to /u02/oradata/clonedb/testtbs_01.dbf
    restoring datafile 00004 to /u02/oradata/clonedb/system02.dbf restoring datafile 00005 to /u02/oradata/clonedb/rmantbs_01.dbf
    channel ORA_AUX_DISK_1: restored backup piece 1 piece handle=/u05/backup/demodb/full/DEMODB_20041027_05g3jeeq_1_1 tag=FULL params=NULL channel ORA_AUX_DISK_1: restore complete Finished restore at 28-OCT-04 sql statement: CREATE CONTROLFILE REUSE SET DATABASE "clonedb" RESETLOGS ARCHIVELOG
    MAXLOGFILES 5
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 680
    LOGFILE
    GROUP 1 '/u01/app/oracle/oradata/clonedb/redo01.log' SIZE 1048576 ,
    GROUP 2 '/u01/app/oracle/oradata/clonedb/redo02.log' SIZE 1048576
    DATAFILE
    '/u02/oradata/clonedb/system01.dbf'
    CHARACTER SET WE8ISO8859P1
    printing stored script: Memory Script
    switch clone datafile all;
    executing script: Memory Script
    datafile 2 switched to datafile copy
    input datafilecopy recid=1 stamp=540710832 filename=/u03/oradata/clonedb/undotbs01.dbf
    datafile 3 switched to datafile copy
    input datafilecopy recid=2 stamp=540710832 filename=/u02/oradata/clonedb/testtbs_01.dbf
    datafile 4 switched to datafile copy
    input datafilecopy recid=3 stamp=540710832 filename=/u02/oradata/clonedb/system02.dbf
    datafile 5 switched to datafile copy
    input datafilecopy recid=4 stamp=540710832 filename=/u02/oradata/clonedb/rmantbs_01.dbf
    printing stored script: Memory Script
    set until scn 130734;
    recover
    clone database
    delete archivelog
    executing script: Memory Script
    executing command: SET until clause
    Starting recover at 28-OCT-04
    using channel ORA_AUX_DISK_1
    starting media recovery
    channel ORA_AUX_DISK_1: starting archive log restore to default destination channel ORA_AUX_DISK_1: restoring archive log archive log thread=1 sequence=337 channel ORA_AUX_DISK_1: restored backup piece 1 piece handle=/u05/backup/demodb/arch/arc_DEMODB_20041027_06g3jef2_1_1 tag=TAG20041027T134050 params=NULL channel ORA_AUX_DISK_1: restore complete archive log filename=/u02/oradata/clonedb/arch/1_337.arc thread=1 sequence=337 channel clone_default: deleting archive log(s) archive log filename=/u02/oradata/clonedb/arch/1_337.arc recid=1 stamp=540710834 media recovery complete Finished recover at 28-OCT-04
    printing stored script: Memory Script
    shutdown clone;
    startup clone nomount pfile= '/u01/app/oracle/product/9.2.0.1.0/dbs/initclonedb.ora';
    executing script: Memory Script
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/28/2004 06:28:26
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01013: user requested cancel of current operation
    Recovery Manager complete.

    HI,
    # STBY:
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  242208768 bytes
    Fixed Size            2227176 bytes
    Variable Size          184550424 bytes
    Database Buffers       50331648 bytes
    Redo Buffers            5099520 bytes
    # PRIMARY:
    RMAN> CONNECT TARGET sys/oracle@JOHN;
    connected to target database: JOHN (DBID=1575580406)
    RMAN> CONNECT AUXILIARY sys/oracle@JOHN_DB2;
    Until this you did correct. now just in a run block, like
    eg
    run
    allocate channel ....
    allocate channel...
    duplicate target database for standby from active database;

  • System refresh with Commvault

    Hallo,
    we want to perform a SAP refresh, e.g. restore instance ABC from host1 to instance DEF on host2.
    The backup was taken using Commvault software and the backint interface.
    Looking at the Commvault documentation there seems to be a procedure in place for performing the above with Oracle only (not using backint).
    However, the documentation does not mention anything for SAP (backint). All what's covered is the restore to the same SID on different hosts.
    For other backup tools (eg. Networker, Dataprotector) I only had to execute the following command to restore:
    brrestore -d util_file -b behhulnv.anf -m all -c force -u /
    However, with Commvault this commands throws the following error:
    Success in getting Job id=837 Token=<837:2:1>
    Success in init with JM
    getJobListByInstanceId=34 retCode=1
    Cannot get the list of Jobs
    Cannot figure out the job type legacy or Snap?
    Any ideas?
    Thanks and regards,
    Thomas.

    Hi Thomas,
    Very sorry to bother you again, but I am having problems with the refresh.
    I have created the initPIQ.utl file which has:
    numstreams
    4
    CvInstanceName
    Instance001
    CvClientName
    sap-q-pi01-l
    srcCrossClient
    sap-p-pi01-l
    srccrossdbname
    PIP
    So basically my test system is PIQ and the Production is PIP
    I have the line :
    util_par_file = /oracle/PIQ/11203/dbs/initPIQ.utl      in the initPIQ.sap file
    I then try to restore in commvault by right clicking the production client:
    But I am getting the error in the log:
    3498 4beb8720 01/29 10:42:26 460603 ::ExecuteBrRestore() - getInstanceId for InstanceName=[PIP] destClientId=[288] AppType=61 Failed
    3498 4beb8720 01/29 10:42:26 460603 ::ExecuteBrRestore() - Instance=[PIP] - May not have been configured.
    Is there anything on the commvault that I may have overlooked??
    Thanks again
    Andy

  • How to backup oracle RAC filesystem

    Hello,
    May anyone in this community might help to answer on my inquiry on how to backup oracle RAC filesystem. There are many backup features available out there i.e: RMAN, hotbackup etc but the way the backup is working is RMAN will backup and stored the db file in the filesystem. I presume the filesystem also need to be backed up in order to avoid the filesystem corrupted etc
    Regards

    Hi,
    Always welcome ..
    when you want to take backup of all the database components of RAC, that's why i advised you to include the all commands in your backup strategy, so that in any case your any components doesn't work , you can restore the particular one .
    One thing you can do , you are running your RAC environment on Vsphere , in that case , create a backup plan with the client and your IT team to take backup of whole environment by creating snapshot of Vsphere along with backup plan mentioned by me in above reply  , so in worst scenario your whole environment can be restored .
    I have seen that if RAC environment is running on VMware , then its best to take snapshot of whole machine which should be defined in backup policy apart from normal backup of database.
    Thanks
    Shivendra Narain Nirala

  • Oracle Clustre, Oracle Cluster with RAC and Oracle 10g

    Is there a difference between Oracle Cluster and Oracle Cluster with RAC? Please explain. Do existing database codes run unmodified in Cluster or Cluster with RAC environment? What needs to be modified to make existing SQL codes RAC-aware. How to achieve 'all automatic' in case of failure and resubmission of Queries from failed instance to a running instance?
    In 10g environment, do we need to consider licensing of RAC as a separate product? What are additional features one derives in 10g that is not in Cluster +RAC?
    Your comments and pointers to comparison study and pictorial clarification will be very helpful.

    Oracle cluster like failsafe before or Veritas Cluster or other vendor's cluster is meant for HA (high availability) purpose. Which 2 nodes or more can see a shared disk with 1 active node. Whenever this active node failed through heartbeat other machine will know and will take the database over from there.
    Oracle RAC is more for HA and load balance. In Oracle RAC 2 or more nodes are accessing the database at the same time so it spread load across all these nodes.
    I believe Oracle 10g RAC still need seperate license for it. But you need to call Oracle or check the production document to verify it.
    Oracle 10g besides improvement in RAC. It's main improvement is on the build in management of the database itself. It can monitored and selftune itself to much furthur level then before and give DBA much more information to determine the cause of the problem as well. Plus improvement on lots of utility as well like RMAN , data pump etc... I don't want to get into too much detail on this you can check on their 10g new features for more detail view.
    Hope this help. :)

  • Apply Patches on Oracle Database with Logical Standby Database

    Here I am:
    I got a primary database with a logical standby database running Oracle 11g. I got two client applications, one is the production site pointing to the primary one, another one is just a backup site pointing to the logical one.Things will only be written into the primary database every mid night and client applications can only query the database but not add, update nor delete.And now, I want to apply the latest patch on both of my databases. I am also the DNS administrator, I can make the name server pointing to the backup site instead of the production one.I want to firstly apply the patch on the logical one, and then the physical one.
    I found some reference which explains how to apply patches by adopting "Rolling Upgrade Method". however, I want to avoid doing any "switch over" mentioned in the reference because I can make use of name server. Can I just apply patches as the following way?
    1)Stop SQL apply
    2)Apply patches on logical standby database
    3)let the name server point to the backup site
    4)Apply patches on the primary database
    5)Start SQL apply
    6)Let the name server point back to the production site
    Thanks in advance.

    Pl follow the steps in MOS Doc 437276.1 ( Upgrading Oracle Database with a Logical Standby Database In Place )
    HTH
    Srini

  • Online backup getting failed with error BR0278E - Invalid Argument

    Hi All,
    Online backup in Production system is getting failed when taken using DB13.  Last week the SAP Production Server was migrated to SAN and it was up & running fine.
    SAP System - ECC 6
    OS                - AIX 5.3
    Database      - Oracle 10g
    Even the Archive log backup has been successful, but Online backup is failing.  Following is the error log:
    BR0280I BRBACKUP time stamp: 2009-09-10 12.00.46
    BR0057I Backup of database: RTP
    BR0058I BRBACKUP action ID: bebkzprw
    BR0059I BRBACKUP function ID: ant
    BR0110I Backup mode: ALL
    BR0077I Database file for backup: /oracle/RTP/sapbackup/cntrlRTP.dbf
    BR0061I 41 files found for backup, total size 97416.297 MB
    BR0143I Backup type: online
    BR0112I Files will not be compressed
    BR0130I Backup device type: tape
    BR0102I Following backup device will be used: /dev/rmt3.1
    BR0103I Following backup volume will be used: RTPB01
    BR0289I BRARCHIVE will be started at the end of processing
    BR0134I Unattended mode with 'force' active - no operator confirmation allowed
    BR0208I Volume with name RTPB01 required in device /dev/rmt3.1
    BR0280I BRBACKUP time stamp: 2009-09-10 12.00.46
    BR0226I Rewinding tape volume in device /dev/rmt3 ...
    BR0351I Restoring /oracle/RTP/sapbackup/.tape.hdr0
    BR0355I from /dev/rmt3.1 ...
    BR0241I Checking label on volume in device /dev/rmt3.1
    BR0242I Scratch volume in device /dev/rmt3.1 will be renamed to RTPB01
    BR0280I BRBACKUP time stamp: 2009-09-10 12.00.46
    BR0226I Rewinding tape volume in device /dev/rmt3 ...
    BR0202I Saving /oracle/RTP/sapbackup/.tape.hdr0
    BR0203I to /dev/rmt3.1 ...
    We have checked using different tapes, restarted SAP, etc but could not resolve it.
    Please suggest further.
    Thanks
    Vamsi

    Hi Vamsi
    Please go through below link
    Re: onLine backup fails with error BR0278E
    There is similar problem with the exact error you are facing for online backup and its solution is given in above link.
    Let us know if this information was useful to you.
    with regards,
    Parin Hariyani

  • Have any GUI tools to backup oracle database(s) ?

    Hi,
    I want to know is any oracle's tool or third party tools to backuping oracle database?
    Thank you!
    Francis SZE

    Devotee wrote:
    Hi,
    I want to know is any oracle's tool or third party tools to backuping oracle database?
    Thank you!
    Francis SZE
    Use RMAN through enterprise manager
    Cheers

  • Change the SYS & SYSTEM Oracle passwords with BRTOOLS, any concerns ?

    Hello, I would like to change both the SYS and SYSTEM Oracle passwords with BRTOOLS :
    (1) Can I use BRTOOLS to change them, or, I have to change them through SQLPlus ?
    (2) Any concerns, will this password change affect my SAP normal operations ?
    (3) Do I need to re-start the whole SAP UNIX system when I complete the password changing ?
    (4) Or changing these 2 passwords is totally an Oracle RDBMS issue, it will not have any effect on SAP ?

    But I failed. I was going to change the password of SYSTEM, but why SAP asked me to enter the password of SAPDEV ?
    Why ? OK, then I entered the SAPDEV password (it is the same as SYSTEM's old password).
    Then, I called SQLPlus and entered login name : SYSTEM, but why its correct password was still the old one, the new one failed. Why ?
    I just wanted to change the password of SYSTEM, why it was related to SAPDEV ?
    Here is the screen message :
    BR*Tools main menu
    1 = Instance management
    2 - Space management
    3 - Segment management
    4 - Backup and database copy
    5 - Restore and recovery
    6 - Check and verification
    7 - Database statistics
    8 - Additional functions
    9 - Exit program
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    8
    BR0280I BRTOOLS time stamp: 2010-01-15 10.22.46
    BR0663I Your choice: '8'
    BR0280I BRTOOLS time stamp: 2010-01-15 10.22.46
    BR0656I Choice menu 2 - please make a selection
    Additional BR*Tools functions
    1 = Show profiles and logs
    2 - Clean up DBA logs and tables
    3 - Adapt NEXT extents
    4 - Change password of database user
    5 - Create/change synonyms for DBA tables
    6 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    4
    BR0280I BRTOOLS time stamp: 2010-01-15 10.23.14
    BR0663I Your choice: '4'
    BR0280I BRTOOLS time stamp: 2010-01-15 10.23.14
    BR0657I Input menu 59 - please check/enter input values
    BRCONNECT options for changing password of database user
    1 - BRCONNECT profile (profile) ............... [initDEV.sap]
    2 - Database user/password (user) ............. [/]
    3 ~ Database owner to change password (owner) . []
    4 - Message language (language) ............... [E]
    5 - BRCONNECT command line (command) .......... [-p initDEV.sap -l E -f chpass]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    2
    BR0280I BRTOOLS time stamp: 2010-01-15 10.28.56
    BR0663I Your choice: '2'
    BR0280I BRTOOLS time stamp: 2010-01-15 10.28.56
    BR0681I Enter string value for "user" [/]:
    SYSTEM
    BR0280I BRTOOLS time stamp: 2010-01-15 10.29.08
    BR0683I New value for "user": 'SYSTEM'
    BR0263I Enter password for database user 'SYSTEM' (maximum 8 characters):
    BR0280I BRTOOLS time stamp: 2010-01-15 10.29.32
    BR0657I Input menu 59 - please check/enter input values
    BRCONNECT options for changing password of database user
    1 - BRCONNECT profile (profile) ............... [initDEV.sap]
    2 - Database user/password (user) ............. [SYSTEM/*******]
    3 ~ Database owner to change password (owner) . []
    4 - Message language (language) ............... [E]
    5 - BRCONNECT command line (command) .......... [-p initDEV.sap -l E -f chpass]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRTOOLS time stamp: 2010-01-15 10.29.41
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0291I BRCONNECT will be started with options '-p initDEV.sap -l E -f chpass'
    BR0280I BRTOOLS time stamp: 2010-01-15 10.29.41
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRTOOLS time stamp: 2010-01-15 10.29.49
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0801I BRCONNECT 6.40 (39)
    BR0280I BRCONNECT time stamp: 2010-01-15 10.29.52
    BR0263I Enter password for database user 'SAPDEV' (maximum 8 characters):
    BR0280I BRCONNECT time stamp: 2010-01-15 10.34.58
    BR0263I Reenter password for database user 'SAPDEV' (maximum 8 characters):
    BR0280I BRCONNECT time stamp: 2010-01-15 10.35.57
    BR0482W The passwords entered must be identical
    BR0280I BRCONNECT time stamp: 2010-01-15 10.35.57
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRCONNECT:
    c
    BR0280I BRCONNECT time stamp: 2010-01-15 10.36.31
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRCONNECT time stamp: 2010-01-15 10.36.31
    BR0263I Enter password for database user 'SAPDEV' (maximum 8 characters):
    BR0280I BRCONNECT time stamp: 2010-01-15 10.37.03
    BR0263I Reenter password for database user 'SAPDEV' (maximum 8 characters):
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.08
    BR0482W The passwords entered must be identical
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.08
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRCONNECT:
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.11
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRCONNECT:
    c
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.14
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.14
    BR0263I Enter password for database user 'SAPDEV' (maximum 8 characters):
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.16
    BR0263I Reenter password for database user 'SAPDEV' (maximum 8 characters):
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.18
    BR0829I Password changed successfully in database for user SAPDEV
    BR0830I Password changed successfully in table OPS$DEVADM.SAPUSER for user SAPDEV
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.18
    BR0803I BRCONNECT completed successfully with warnings
    BR0292I Execution of BRCONNECT finished with return code 1
    BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action
    BR0280I BRTOOLS time stamp: 2010-01-15 10.38.18
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRTOOLS time stamp: 2010-01-15 10.38.44
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRTOOLS time stamp: 2010-01-15 10.38.44
    BR0656I Choice menu 2 - please make a selection
    Additional BR*Tools functions
    1 = Show profiles and logs
    2 - Clean up DBA logs and tables
    3 - Adapt NEXT extents
    4 + Change password of database user
    5 - Create/change synonyms for DBA tables
    6 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:

  • Any Simplifiede Script to Backup Oracle XE Database

    I need a script to backup XE Database
    i.e that script should put all the resultant backup filse at a specified location
    Similarly Restore script which should restore from those files.

    Devotee wrote:
    Hi,
    I want to know is any oracle's tool or third party tools to backuping oracle database?
    Thank you!
    Francis SZE
    Use RMAN through enterprise manager
    Cheers

  • Backup Oracle Database On 24x7 System

    Dear Kamran
    First sorry my English.
    I am a beginner of oracle 10g and have a problem please help (Consult) me. If you are accept it
    My problem is a :
    Two oracle server with RAC (Clustering) and one external oracle server (BACKUP ORACLE SERVER) on the this network without RAC (Clustering) on the RHEL 4.7
    How to synchronize third oracle server’s database with RAC oracle servers. Becouse of if RAC Oracle servers down or technical corruption change corrupted server.
    Or other flexible solution tell me (how to do it)

    you can make the third oracle server as a physical standby database to RAC setup. for more information, read oracle doc "Dataguard basics and administration" from http://tahiti.oracle.com
    as other option, you can schedule a refresh job from RAC setup to third database server.

Maybe you are looking for