RMAN SBT_TAPE error

When I am trying to delete obsolete backups I get this error.

....
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03009: failure to allocate command on ch1 channel at 08/11/2007 15:21:08
ORA-19554: error device allocation, type of device: SBT_TAPE device name:
ORA-27211: unable to load the media management library
...

need help!

Thank you

You can do it

 configure device type 'SBT_TAPE' clear 

SS

Tags: Database

Similar Questions

  • RMAN SBT_TAPE BACKUP FAILURE

    Hi all

    I met the following error when backing up the database. The device type is SBT_TAPE. We have replaced the tape media but still error persist.see journal of the errors below:

    RMAN-03009: failure of the backup command on channel t2 to 2015/12/29 07:10:49

    (ORA-19509: impossible de supprimer le fichier sequeIntial, gérer = «diqq0t84_1_1», parms="ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)".

    ORA-27027: sbtremove2 returned error

    ORA-19511: error received from layer media manager, error text:

    ANS1355E Session (RC55) rejected: off server

    ORA-27191: sbtinfo2 returned the error

    Additional information: 3276

    ORA-19511: error received from layer media manager, error text:

    ORACLE recovery catalog database error: ORA-03113: end of file on communication channel

    Process ID: 13762638

    Session ID: 166 serial number: 18103

    Any ideas.

    Thank you.

    Hello

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-06004: the recovery catalog database ORACLE error: ORA-03113: end of file on communication channel

    Process ID: 7667754

    Session ID: 166 serial number: 18303

    ORACLE recovery catalog database error: ORA-03114: not connected to ORACLE

    Common causes of the error ORA-03114 include:

    • Process of Web server or headset does not work
    • Missing entry in the tnsnames.ora.
    • Network problems.
    • Problems with connection pooling (shared servers, MTS).

    Kind regards

    Katia V.

  • RMAN-20260 error trying to delete a backup piece

    Hello

    In my company, we use Oracle 10 g, managed by RMAN and integrated with TSM backup.
    In order to remove old backup files, there is a removal script to do this.

    Basically this script:

    connect to the RMAN catalog
    allocate channel for maintenance device 'sbt_tape '.
    Change Remove backuppiece < names of files of more than 35 days rc_backup_piece >;

    When this command is executed, this error is generated:

    RMAN-03002: failure of the command to delete at 18/01/2010 17:14
    RMAN-06004: error ORACLE recovery catalog database: RMAN-20260: element not found in the Recovery Catalog backup
    RMAN-06092: error while up the backup piece

    Any ideas?

    Thanks in advance.
    Iron

    Hi iron,

    What I've noticed is that in the file log of alerts is an ALTER DATABASE OPEN RESETLOGS on 2 January 10.

    Any idea who executed the order resetlogs on January 2, 2010?

    It does not create a new entry in the rc_database table?

    No, someone part actively this database in the catalog.

    Can give you any suggestions what to do now?

    Well, you have a 35-day retention strategy, which means that you can purge all data catalogue the XPTO DBID 4085004961 database in less than a week.
    Wait until February 8, then run the following sql against the catalog.

    Select ' EXEC DBMS_RCVCAT. UNREGISTERDATABASE('||) DB_KEY | «, » || DBID |') ;'|| ' '|| resetlogs_time
    of rc_database
    WHERE name = "& db_name.
    ;

    Use the output to unregister database with DBID 4085004961 only.

    Kind regards

    Tycho

  • RMAN backup error

    Hello

    I get an error when you try to run an Oracle database backup using a windows batch file that calls a settings file to execute RMAN commands. This is handled by the windows scheduler.

    It's been in place for several months and worked fine until today.

    Oracle Version - 11G 11.2.0.2.0

    OS - Windows server 2008 R2

    * Note *-I have changed for security reasons password and company information.

    Here are the contents of the batch file:

    echo: [email protected] > > \\CCCODS09\c$\Support\DB_Backup\Max.log

    echo to: [email protected] > > \\CCCODS09\c$\Support\DB_Backup\Max.log

    Echo subject: Max Backup log > > \\CCCODS09\c$\Support\DB_Backup\Max.log

    RMAN @\\CCCODS09\c$\Support\DB_Backup\Max.txt > > \\CCCODS09\c$\Support\DB_Backup\Max.log

    copy \\CCCODS09\c$\Support\DB_Backup\Max.log \\ccvmds51\c$\inetpub\mailroot\Pickup\email.txt

    del \\CCCODS09\c$\Support\DB_Backup\Max.log

    Here is the content of the Max.txt settings file:

    connect sys/password@maxof target;

    Run {}

    backup as compressed backupset actual additional database tag 0 = = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-DATAFILE-%U.BKP';

    backup as compressed backupset archivelog all delete tag all input = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-LOGFILE-%U.BKP';

    backup as compressed backupset current controlfile tag = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-CONTROLFILE-%U.BKP";

    }

    "exit";

    And here is the log file:

    Recovery Manager: release 11.2.0.2.0 - Production on Mon Nov 17 05:30 2014

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

    RMAN > Connect target *.

    2 > run {}

    3>           = backup as compressed backupset actual additional database tag 0 = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-DATAFILE-%U.BKP';

    4>           backup as compressed backupset archivelog all delete tag all input = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-LOGFILE-%U.BKP';

    5>           as a compressed backupset backup current controlfile tag = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-CONTROLFILE-%U.BKP ';

    {6 >}

    7 > exit;

    connected to target database: MAX (DBID = 1234567890)

    From backup 17 November 14

    DBGSQL: TARGET > select nvl (max (al.recid), '0'), nvl (max (al.recid), 0) in : txtparmvalue,: parmvalue of al v$ archived_log where in al.status ('X', 'A') and al.is_recovery_dest_file = 'YES' and al.creator = "RMAN"

    DBGSQL: SQLCODE = 1008

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-03002: failure of the backup at 17/11/2014 05:30:16 command

    RMAN-03014: implicit recovery catalog Resync failed

    ORA-01008: not all variables

    Complete recovery manager.

    If you need more information please let me know.

    Any help to fix this would be appreciated.

    Thank you

    Hello

    This is considered to be a bug for 11.2.0.2 version.

    Please see this document of MOS

    ORA-01008: RMAN backup does not work with assorted errors 11.2.0.2 If cursor sharing is turned on (Doc ID 1472116.1)

    Kind regards

    Shivananda

  • RMAN-00558: error occurred during parsing of order entry

    Hello

    the 12 c on Win 2008

    as the documentation says:

    @ (at sign)

    Example 2-2 by running a command in RMAN file

    This example shows how you can run a batch file and the RMAN prompt in a command PERFORMANCE. Entries by the user text appears in bold.

    RMAN > @backup_db.rman

    I do like this to run a script to back up:

    RMAN > @C:\scripts\RMAN\al_backup_full_cdb.rman LOG = C:\scripts\logs\al_backup_full_log

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-00558: error occurred during parsing of order entry

    RMAN-01009: syntax error: found 'log': expected an a: 'double-quoted-string, identifier, integer, single-quoted-string '.

    RMAN-01007: line 1 column 1 file: entry standard

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-00558: error occurred during parsing of order entry

    RMAN-01009: syntax error: found '@': expected an a: 'double-quoted-string, identifier, integer, single-quoted-string '.

    RMAN-01007: column 1 row 0 file: entry standard

    Thank you.

    user10274093 wrote:

    Yes thank you. Like this:

    @C:\scripts\RMAN\al_backup_full_cdb.rman

    But how to have a log file?

    You cannot use the log = clause * Interior * rman, you can use it at the shell prompt * outside * rman.

  • RMAN throwing errors during backup Tablespace - RMAN-06004 and RMAN-06019

    Hi all.


    Please, help me difficulty trail of the error message I get when trying to backup to a tablespace that is newly added in the database. I'm with RMAN as a method of recovery.

    Tablespace name: test
    Version of DB: Oracle 10g R1.
    OS: Red Hat Linux 5




    RMAN > outline report;

    Report of the database schema

    List of permanent data files
    ===========================
    Size (MB) Tablespace RB segs Datafile file name
    ---- -------- -------------------- ------- ------------------------
    1 490 SYSTEM YES /u01/app/oracle/oradata/qrcl/system01.dbf
    2 25 UNDOTBS1 /u01/app/oracle/oradata/qrcl/undotbs01.dbf YES
    SYSAUX 3 270 NO /u01/app/oracle/oradata/qrcl/sysaux01.dbf
    4 23 USERS NO /u01/app/oracle/oradata/qrcl/users01.dbf
    5 40 TEST NO /u01/app/test01.dbf

    List of temporary files
    =======================
    File Size (MB) (MB) Maxsize Tempfile Tablespace name
    ---- -------- -------------------- ----------- --------------------
    1 20 TEMP /u01/app/oracle/oradata/qrcl/temp01.dbf 32767

    RMAN >





    RMAN > backup tablespace 'test '.

    From 22 August 12 backup
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to 22/08/2012 11:57:13
    RMAN-06004: error ORACLE recovery catalog database: RMAN-20202: tablespace not found in the recovery catalog
    RMAN-06019: could not translate tablespace name 'test '.

    RMAN > restore tablespace test;

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'test': expected an a: 'double-quoted-string, identifier, single-quoted-string '.
    RMAN-01007: in the file column 20 line 1: entry standard



    I tried to update the catalog server but still no luck:

    RMAN > RESYNC CATALOG;

    from full resynchronization of the recovery catalog
    full complete Resync


    Please help.




    Thank you
    Prashant Dixit

    Prashant;

    I took the time to demonstrate using a tablespace that was NOT a reserved word in the hope that you would see how bad idea using a reserved word is.

    A tablespace is a logical structure and it can be almost any other name.

    Why create this problem yourself when there are simple alternatives?

    Time is the most precious thing in my life and I don't know that it's in yours also.

    Please consider using another name of the tablespace.

    ALTER TABLESPACE TEST RENAME OTEST;

    There is no sense, make things more complex, then they already are.

    If this is really not an option then:

    RMAN> backup tablespace "TEST";
    
    Starting backup at 22-AUG-12
    starting full resync of recovery catalog
    full resync complete
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=88 device type=DISK
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00008 name=/u01/oradata/RECOVER2/test05.dbf
    channel ORA_DISK_1: starting piece 1 at 22-AUG-12
    channel ORA_DISK_1: finished piece 1 at 22-AUG-12
    piece handle=/u01/app/oracle/flash_recovery_area/RECOVER2/backupset/2012_08_22/o1_mf_nnndf_TAG20120822T152734_83bj5pt3_.bkp tag=TAG20120822T152734 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 22-AUG-12
    
    Starting Control File and SPFILE Autobackup at 22-AUG-12
    piece handle=/u01/app/oracle/flash_recovery_area/RECOVER2/autobackup/2012_08_22/o1_mf_s_791998056_83bj5rpq_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 22-AUG-12
    

    Best regards

    mseberg

    Published by: mseberg on August 22, 2012 15:27

  • backup RMAN-06059 error

    Hello

    I get this error when running the backup. The o1_mf_1_74429_7kwmykb0_.arc file exists in the backend and relief. What is the problem?

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to 27/01/2012 15:07:07
    RMAN-06059: journal archived expected not found, lost of archived newspaper compromised recoverability
    ORA-19625: error identification of file /orafra/PRODSTB/archivelog/2012_01_24/o1_mf_1_74429_7kwmykb0_.arc
    ORA-27037: unable to get file status
    Linux-x86_64 error: 2: no such file or directory
    Additional information: 3

    Looks like your rman session is confused as to what he does then. I suggest to read this doc:

    http://docs.Oracle.com/CD/B28359_01/server.111/b28294/RMAN.htm#BAJEDHFB

    RMAN catalog use DB_UNIQUE_NAME with to differentiate DR envs, but I don't know how your env is set up, so, I guess right here. Aren't you offer a lot to solve this, but I think you probably have everything you need to understand this. Read about it, read the guides RMAN and DG.

    We have access to your data, so if you want to help you will need to allow us to see what you're doing.

    Good luck, you can do it completely.

  • RMAN-06004: error recovery catalog database ORACLE

    Hi all

    I'm new to the RMAN module, please help me solve the error below.
    Recovery Manager: Release 9.2.0.6.0 - Production
    
    Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.
    
    connected to target database: DB96 (DBID=2450380394)
    connected to recovery catalog database
    
    RMAN> CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '\\10.101.22.80\Backup\Rman\Prologs\DB96/DB96_FULL_%T_%U.rman' MAXPIECESIZE 4 G; 
    2> CONFIGURE CONTROLFILE AUTOBACKUP ON; 
    3> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '\\10.101.22.80\Backup\Rman\Prologs\DB96/DB96_ctlfile_%F'; 
    4> CONFIGURE RETENTION POLICY TO REDUNDANCY 1; 
    5> shutdown immediate; 
    6> startup mount; 
    7> backup database; 
    8> CROSSCHECK BACKUP; 
    9> DELETE NOPROMPT OBSOLETE; 
    10> alter database open; 
    11> list backup summary; 
    12> exit;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of configure command at 06/20/2011 11:31:55
    RMAN-06004: ORACLE error from recovery catalog database:
     
    RMAN-20001: target database not found in recovery catalog
    Recovery Manager complete.
    Please do the neeful.

    Kind regards
    Jame

    Jame,

    connect to retrieve catalog owner user (RMAN) using SQLPLUS on the catalog database and run the following query.

    SQL> select * from rc_database;
    

    Another thing is, check, if your catalog is accidentally created in the target database or you sure sound in a separate database (possibly on a separate server).

    Thank you
    RANA

    Published by: RANA June 20, 2011 17:08

    Published by: RANA June 20, 2011 17:41

  • RMAN restore error - recovery of media asking unknown journal: thread 1 seq 7

    IM using RMAN to copy a database to another server. The new server is IDENTICAL to the former. By identical I mean she has the same break the name, ip address, operating system, directory structure and the Oracle version.

    The new server has already created instance, (same name as the old server example, paths etc.)

    The backup files have been restored manually on the new server, the same places that they were on the old. (RMAN makes a backup controlfile automatic and also the archivelogs on the old server).

    Ive restored the control file to the new server from the elements of RMAN backup.

    Ive cataloged items of RMAN backup on the new server.

    I know that the last available in the backup of the archivelogs sequence running on the new server:

    backup from the list of the archivelog all;

    List of backup sets
    ===================

    Time of accomplishment time BS key size Device Type
    ------- ---------- ----------- ------------ ---------------
    14,43 5 M DISK 00:00:03 11 MAY 11
    BP key: 9 situation: AVAILABLE Tablet: NO Tag: TAG20110511T163502
    Part name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\
    011_05_11\O1_MF_ANNNN_TAG20110511T163502_6WOC5833_. BKP

    List of newspapers archived on backup the value 5
    The next time that THRD Seq YVERT low low time next YVERT
    ---- ------- ---------- --------- ---------- ---------
    1 2 550217 10 MAY 11 556559 11 MAY 11
    1 3 556559 11 MAY 11 559776 11 MAY 11
    1 4 559776 11 MAY 11 560093 11 MAY 11
    1 5 560093 11 MAY 11 560794 11 MAY 11

    Time of accomplishment time BS key size Device Type
    ------- ---------- ----------- ------------ ---------------
    RECORD OF 15.50 K 7 00:00:01 11 MAY 11
    BP key: 10 location: AVAILABLE Tablet: NO Tag: TAG20110511T163653
    Part name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\
    011_05_11\O1_MF_ANNNN_TAG20110511T163653_6WOC8PMP_. BKP

    List of newspapers archived in backup set 7
    The next time that THRD Seq YVERT low low time next YVERT
    ---- ------- ---------- --------- ---------- ---------
    1 6 560794 11 MAY 11 560851 11 MAY 11


    So far its all perfectly fine.

    Now I want to restore the data files and recover. So I ran:

    RMAN run {restore database; recover database; alter database open resetlogs ;}}

    This gave me the result below is going very well, but I get a final error, I think that the error is because its search for an archive log that is not in the backup set, but it should be. However, I think 560851 SNA is for a journal that had not yet been created on the old server when the backup was run?

    I address, how to fix the error? Its interesting to note the journal, "archive log filename=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\ARCHIVELOG".
    \2011_05_11\O1_MF_1_6_6WOK1X4W_. ARCH-recid = 10 = 750881741 "stamp is not on the old server or which explains why this isn't in the backup set.

    I can do an alter database open reset connects but Id prefer to know why its failure.


    Any help would be appreciated.

    ........................................................


    RMAN > run {restore database, recover databases; alter database open resetlogs ;}}

    From restoration to 11 May 11
    using channel ORA_DISK_1

    channel ORA_DISK_1: from datafile backupset restoration
    channel ORA_DISK_1: specifying datafile (s) to restore from backup set
    restoring datafile 00001 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\SYSTEM01. DBF
    restoring datafile 00002 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\UNDOTBS01. DBF
    restoring datafile 00003 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\SYSAUX01. DBF
    restoring datafile 00004 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\USERS01. DBF
    channel ORA_DISK_1: backup C:\ORACLE\PRODUCT\10.2.0\FLASH_REC piece reading
    OVERY_AREA\SAT\BACKUPSET\2011_05_11\O1_MF_NNNDF_TAG20110511T163507_6WOC5CM7_. BKP

    channel ORA_DISK_1: restored the backup part 1
    room handle=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\2011_05_
    11\O1_MF_NNNDF_TAG20110511T163507_6WOC5CM7_. Tag BKP = TAG20110511T163507
    channel ORA_DISK_1: restore complete, duration: 00:00:55
    Restoration finished in 11 May 11


    From back to 11 May 11
    using channel ORA_DISK_1

    starting media recovery

    channel ORA_DISK_1: from the archives to default destination log restore
    channel ORA_DISK_1: restore the newspaper archive
    archive log thread = 1 sequence = 6
    channel ORA_DISK_1: backup C:\ORACLE\PRODUCT\10.2.0\FLASH_REC piece reading
    OVERY_AREA\SAT\BACKUPSET\2011_05_11\O1_MF_ANNNN_TAG20110511T163653_6WOC8PMP_. BKP

    channel ORA_DISK_1: restored the backup part 1
    room handle=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\2011_05_
    11\O1_MF_ANNNN_TAG20110511T163653_6WOC8PMP_. Tag BKP = TAG20110511T163653
    channel ORA_DISK_1: restore complete, duration: 00:00:01
    archive log filename=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\ARCHIVELOG
    \2011_05_11\O1_MF_1_6_6WOK1X4W_. Wire ARC = 1 sequence = 6
    default channel: delete records or newspapers
    archive log filename=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\ARCHIVELOG
    \2011_05_11\O1_MF_1_6_6WOK1X4W_. ARCH-recid = stamp 10 = 750881741
    Cannot find the log archiving
    archive log thread = 1 sequence = 7
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command recover at 11/05/2011 18:15:42
    RMAN-06054: recovery of media asking unknown journal: thread 1 seq 7 lowscn 560851

    RMAN >

    Published by: user12173666 on May 11, 2011 10:28

    He asked all of the available archives, whenever you give the database recovery, he keeps searching for the next archives, actually these archives are not yet generated, then you can ignore.

    Now just connect to SQL and give

    SQL > alter database open resetlogs;

    It should work.

  • RMAN recovery error? Why is it so?  s ' Please help :)

    Hi guys,.

    First of all, 1 million of thanks and gratitude to those who are willing to spend time reading my thread and using all the less out / give suggestions.

    I am very very very new for backup and restore, so I really hope that you guys will give me with your utmost patience and tolerance, if I by no risk stupid or dumb questions or if there is very direct terms that I don't apprehand...

    --------------------------------

    Current configuration.

    I have 2 database each on a different server, but the configuration of file directories are the same for both (prod, 1 stage 1)

    (1) on the prod, I do a daily backup of 03:00.
    (2) my full backup includes controlfile autobackup and archivelogs.
    (3) after that, I'll do a RSYNC to send all items to backup to the staging server.
    (3) on stage, I will / want to apply the daily backup of prod on it. I don't mind not seen the last DB (changes after 03:00 not recorded)
    (4) I don't use rman catalog. If all the backup information store in the control file.



    I made a backup in the RMAN LIST on production and saw all the backup information including these...

    Part name: /u02/rmanbkp/STARHUB_lskv1oi0_1_1.rmanbk

    List of newspapers archived in defined backup 5819
    The next time that THRD Seq YVERT low low time next YVERT
    ---- ------- ---------- --------- ---------- ---------
    1 8910 2440140540 22 NOVEMBER 09 2440223507 22 NOVEMBER 09
    1 8911 2440223507 22 NOVEMBER 09 2440363724 22 NOVEMBER 09
    1 8912 2440363724 22 NOVEMBER 09 2440508680 22 NOVEMBER 09


    Overhere, we are sure that the < b > archivelogs are backed up < /b > and I don't want to apply these archivelog when I restore the database.

    < b > please NOTE THAT the backup is on/U02/rmanbkp / < /b >

    -------------------------------------------------

    Now more to STAGE, where I restore / recover (please see the BOLD characters)

    < i >
    RMAN > restore controlfile autobackup.

    From restoration to 23 November 09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 157 devtype = DISK

    channel ORA_DISK_1: looking for autobackup day: 20091123
    channel ORA_DISK_1: autobackup found: / u02/rmanbkp/c-690163925-20091123-00
    channel ORA_DISK_1: restore full automatic backup of control file
    output filename=/u03/oradata/starhub/control02.ctl
    output filename=/u01/oradata/starhub/control01.ctl
    Restoration finished November 23 09


    RMAN > change the editing of the database;

    mounted database
    output channel: ORA_DISK_1

    RMAN > restore database;

    From restoration to 23 November 09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 157 devtype = DISK

    channel ORA_DISK_1: from datafile backupset restoration
    channel ORA_DISK_1: specifying datafile (s) to restore from backup set
    restoring datafile 00003 to /u03/oradata/starhub/sysaux01.dbf
    restoring datafile to /u03/oradata/starhub/starhub02.dbf 00006
    restoring datafile 00009 to /u03/oradata/starhub/starhub05.dbf
    channel ORA_DISK_1: backup /u02/rmanbkp/STARHUB_m7kv1ols_1_1.rmanbk piece reading
    channel ORA_DISK_1: restored the backup part 1
    piece handle=/u02/rmanbkp/STARHUB_m7kv1ols_1_1.rmanbk tag = TAG20091123T030220
    channel ORA_DISK_1: restore complete, duration: 00:02:26
    channel ORA_DISK_1: from datafile backupset restoration
    channel ORA_DISK_1: specifying datafile (s) to restore from backup set
    restoring datafile 00001 to /u03/oradata/starhub/system01.dbf
    restoring datafile 00002 to /u03/oradata/starhub/undotbs1.dbf
    restoring datafile 00007 to /u03/oradata/starhub/starhub03.dbf
    channel ORA_DISK_1: backup /u02/rmanbkp/STARHUB_m8kv1opp_1_1.rmanbk piece reading
    channel ORA_DISK_1: restored the backup part 1
    piece handle=/u02/rmanbkp/STARHUB_m8kv1opp_1_1.rmanbk tag = TAG20091123T030220
    channel ORA_DISK_1: restore complete, duration: 00:02:26
    channel ORA_DISK_1: from datafile backupset restoration
    channel ORA_DISK_1: specifying datafile (s) to restore from backup set
    restoring datafile 00004 in /u03/oradata/starhub/tbs1.dbf
    restoring datafile 00005 to /u03/oradata/starhub/starhub01.dbf
    restoring datafile 00008 to /u03/oradata/starhub/starhub04.dbf
    channel ORA_DISK_1: backup /u02/rmanbkp/STARHUB_m9kv1ov0_1_1.rmanbk piece reading
    channel ORA_DISK_1: restored the backup part 1
    piece handle=/u02/rmanbkp/STARHUB_m9kv1ov0_1_1.rmanbk tag = TAG20091123T030220
    channel ORA_DISK_1: restore complete, duration: 00:02:15
    Restoration finished November 23 09


    RMAN > restore database;

    From pick up to 23 November 09
    using channel ORA_DISK_1

    starting media recovery

    < b >
    Archive journal 1 sequence 8935 thread is already on the disk that the file /u01/oradata/starhub/arch/log1_8935_656935637.arc--repertoire of the OPINION it IS READING /U01/
    archive log thread = 1 sequence = 8935 filename=/u01/oradata/starhub/arch/log1_8935_656935637.arc
    Archive newspaper filename=/u01/oradata/starhub/arch/log1_8936_656935637.arc thread = 1 sequence = 8936
    Archive newspaper filename=/u01/oradata/starhub/arch/log1_8937_656935637.arc thread = 1 sequence = 8937
    archive log thread = 1 sequence = 8938 filename=/u01/oradata/starhub/arch/log1_8938_656935637.arc
    archive log thread = 1 sequence = 8939 filename=/u01/oradata/starhub/arch/log1_8939_656935637.arc
    archive log thread = 1 sequence = 8940 filename=/u01/oradata/starhub/arch/log1_8940_656935637.arc
    Archive newspaper filename=/u01/oradata/starhub/arch/log1_8941_656935637.arc thread = 1 sequence = 8941
    archive log thread = 1 sequence = 8942 filename=/u01/oradata/starhub/arch/log1_8942_656935637.arc
    archive log filename=/u01/oradata/starhub/arch/log1_8943_656935637.arc = 1 sequence = 8943 thread
    Archive newspaper filename=/u01/oradata/starhub/arch/log1_8944_656935637.arc thread = 1 sequence = 8944
    Archive newspaper filename=/u01/oradata/starhub/arch/log1_8945_656935637.arc thread = 1 sequence = 8945
    archive log thread = 1 sequence = 8946 filename=/u01/oradata/starhub/arch/log1_8946_656935637.arc
    Archive newspaper filename=/u01/oradata/starhub/arch/log1_8947_656935637.arc thread = 1 sequence = 8947
    Archive newspaper filename=/u01/oradata/starhub/arch/log1_8948_656935637.arc thread = 1 sequence = 8948
    archive log thread = 1 sequence = 8949 filename=/u01/oradata/starhub/arch/log1_8948_656935637.arc
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command recover at 23/11/2009 15:36:21
    RMAN-11003: failure in parsing / execution of the SQL statement: alter database recover logfile ' / u01/oradata/starhub/arch/log1_8948_656935637.arc'
    ORA-00310: archived log contains sequence 8948; 8949 sequence required
    ORA-00334: archived log: ' / u01/oradata/starhub/arch/log1_8948_656935637.arc'
    < /b >
    < /i >

    ------------------------------------------------------

    My questions are

    T1) I restore the database (I see that these backup item is read from the rmanbkp/u02/and these data, the files are restored).
    Now, I want to recover the database, so I think I must apply these archivelogs backup for recovery.

    However, if you notice, RMAN is reading about (deprecated) /U01/ < /b > on the < b > archivelogs instead of the archivelogs saved in < b >/U02/rmanbkp. < /b >

    Why so much? Is this the correct behavior? How can I make RMAN uses these elements to backup archivelog on/U02/rmanbkp



    Q2) that I encounter this error ORA-00310: and I get autour. It is saying that I need to use a BACK up to WHAT if I don't want this error.

    However, I believe that information of hold of FILE OF CONTROL over where and how long does RETRIEVE UNTIL, isn't? (and since I'm on the CONTROL FILE of the recovery, why I always see this error?



    Your kind advice/help would be really appreciated.

    Best regards
    Noob

    Hey Noob,

    A1) because the controlfile comes from the production server where the archived redologs are available in
    / U01/oradata/StarHub/Arch, you must run an overlap on the stage for the controlfile node is updated.

    change archivelog than any overlap;


    remove expired archivelog all;

    To move forward with recovery of database until...;

    A2)
    You must specify a point in time, scn, or logsequence if you want to recover to a point in the past (which is what you want to do).
    If you get it back until the clause, rman performs a recovery complete (up to the last committed transaction) to do this, you need the redologs online that are not backed up by rman.

    Kind regards

    Tycho

  • 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

  • RMAN backup error; already saved 1 time, backup finished with errors

    Hi DBAs,

    I get error below after each backup to the production DB (Oracle 10.2.0.5)

    skip the log file archive + DATA_FRA/zeus/archivelog/2014_06_23/thread_1_seq_25321.3279.850962321; already saved 1 time

    skip the log file archive + DATA_FRA/zeus/archivelog/2014_06_23/thread_1_seq_25322.3265.850962439; already saved 1 time

    skip the log file archive + DATA_FRA/zeus/archivelog/2014_06_23/thread_1_seq_25323.3194.850963433; already saved 1 time

    skip the log file archive + DATA_FRA/zeus/archivelog/2014_06_23/thread_1_seq_25324.3206.850963501; already saved 1 time

    ...

    ..

    ..

    .

    Complete recovery manager.

    List of backup completed successfully

    = Thu Jun 26 07:38:33 IST completed 2014 list backups - complete set =.

    = Finished Thu Jun 26 07:38:33 IST 2014 =.

    Backup completed with errors

    A way to avoid this error daily and a way to remove the already saved up to archive newspapers 1 time?

    Kind regards

    Ritu

    This is not an error but an informational message.  The error comes from RMAN or one of your scripts?

    Are there other RMAN - or ORA-errors in your log file?

    Check your backup optimization, which can be turned on in which case it will not backup the archivelog again.

    You can use one of the two commands to remove the archivelogs that have been backed up.

    backup archivelog all not backed up delete input;
    delete archivelog all backed up 1 times to device type sbt;
    
  • RMAN CONNECTION ERROR

    Dear Sir

    When connecting to the database through rman, I wrote the command as

    cmd > RMAN

    RMAN > RMAN TARGET = JANA
    HERE JANA is the name of the host

    password target for RMAN:

    The version of oracle is 9.2.0.1.0.After set sys password it gives me error like TNS PROTOCOL ADAPTER.

    Also in oracle 9i, at the SVRMGRL connection in the cmd prompt it gives me errror not a svrmgrl recognized

    Can I know what is perhaps the reason why it?
    What is the password I should put to start my RMAN BACKUP. Y at - it an Oracle package provided to configure RMAN?

    Appreciate your help on the above?

    Concerning
    Manoj Thakur

    [email protected] wrote:
    Dear Sir

    When connecting to the database through rman, I wrote the command as

    cmd > RMAN

    RMAN > RMAN TARGET = JANA
    HERE JANA is the name of the host

    password target for RMAN:

    The version of oracle is 9.2.0.1.0.After set sys password it gives me error like TNS PROTOCOL ADAPTER.

    Also in oracle 9i, at the SVRMGRL connection in the cmd prompt it gives me errror not a svrmgrl recognized

    Can I know what is perhaps the reason why it?
    What is the password I should put to start my RMAN BACKUP. Y at - it an Oracle package provided to configure RMAN?

    Appreciate your help on the above?

    Concerning
    Manoj Thakur

    You don't need to specify a password when connecting to RMAN
    Simply set the environment variable correctly and start rman as well

    set ORACLE_SID=JANA
    rman target / 
    
  • RMAN duplicate error

    Hello

    I'm going to install stand alone by database of the active rac database (4 nodes) when I run the command duplicate, I saw this question

    Enter a number of file datafile = name=+ASM_ORADATA/oracle/datafile/users02.dbf 00019

    tag name=+DATA/oracledrs/datafile/undotbs03.dbf output file = TAG20150301T190456

    channel prmy3: datafile copy complete, duration: 02:27:02

    channel prmy3: from data file copy

    Enter a number of file datafile = name=+ASM_ORADATA/oracle/datafile/users01.dbf 00018

    tag name=+DATA/oracledrs/datafile/sysaux01.dbf output file = TAG20150301T190456

    channel prmy2: datafile copy complete, duration: 02:46:49

    channel prmy2: from data file copy

    Enter a number of file datafile = name=+ASM_ORADATA/oracle/datafile/users04.dbf 00021

    tag name=+DATA/oracledrs/datafile/feed01.dbf output file = TAG20150301T190456

    channel prmy1: datafile copy complete, duration: 03:05:54

    channel prmy1: from data file copy

    Enter a number of file datafile = name=+ASM_ORADATA/oracle/datafile/users05.dbf 00022

    tag name=+DATA/oracledrs/datafile/users02.dbf output file = TAG20150301T190456

    channel prmy4: datafile copy complete, duration: 02:15:53

    channel prmy4: from data file copy

    As see you different output file in the input file. I don't know why?

    can one of the tips I like to this topic...

    Check the DB_CREATE_FILE_DEST parameter side of the day before, you may have set to the + DATA, so all the files side Eve will be restored on this disk group.

    SQL > show parameter db_create_file_dest

    If you have also defined parameter db_file_name_convert Eve with DB_CREATE_FILE_DEST then DB_CREATE_FILE_DEST parameter settings setting up prevailing.

    MetaLink Note 1408666.1

  • Restoration of RMAN with SBT_TAPE Symantec Netbackup

    Hey, people! We have batch files to run backup who send a full and differential backups of a database. It works as below:

    RUN {}

    ALLOCATE CHANNEL ch00

    TYPE 'SBT_TAPE ';

    SEND "NB_ORA_CLIENT = corp08, NB_ORA_SID = GEDD, NB_ORA_POLICY = WINDOWS-ORACLE-FULL, NB_ORA_SERV = corp05, NB_ORA_SCHED = per default-Application-Backup";

    BACKUP

    ADDITIONAL = 0

    FORMAT "% d_ % T_ t % db_full_.

    TAG 'GIA-db-full ".

    DATABASE;

    OUTPUT CHANNEL ch00;

    # Archived backup logs

    SQL 'alter system archive log current';

    ALLOCATE CHANNEL ch00

    TYPE 'SBT_TAPE ';

    SEND "NB_ORA_CLIENT = corp08, NB_ORA_SID = GEDD, NB_ORA_POLICY = WINDOWS-ORACLE-FULL, NB_ORA_SERV = corp05, NB_ORA_SCHED = per default-Application-Backup";

    BACKUP

    FORMAT "% d_ % T_ t % arch_full_.

    TAG 'GIA-arch-full ".

    ARCHIVELOG

    ALL THE

    REMOVE ALL THE ENTRIES;

    OUTPUT CHANNEL ch00;

    # Backup control files

    ALLOCATE CHANNEL ch00

    TYPE 'SBT_TAPE ';

    SEND "NB_ORA_CLIENT = corp08, NB_ORA_SID = GEDD, NB_ORA_POLICY = WINDOWS-ORACLE-FULL, NB_ORA_SERV = corp05, NB_ORA_SCHED = per default-Application-Backup";

    BACKUP

    FORMAT "% d_ % T_ t % ctrl_full_.

    TAG 'GEDD-ctrl-full ".

    CURRENT CONTROLFILE;

    OUTPUT CHANNEL ch00;

    ALLOCATE CHANNEL ch00

    TYPE 'SBT_TAPE ';

    OVERLAP ARCHIVELOG ALL;

    OUTPUT CHANNEL ch00;

    }

    We use Symantec Netbackup software to support us on leave, the backup files to SBT_TAPE.

    The incident occurs when I try to restore a tablespace, for example.

    When I run a restore below procedure:

    RMAN > RUN {

    ALLOCATE CHANNEL ch00 TYPE SBT_TAPE SEND 'NB_ORA_CLIENT = corp08';

    recover the tablespace "T_CCEL_DAT_01", "T_CCEL_IND_01" until "to_date ('2014-06-23 08:00 ',' ' YYYY-MM-DD HH24:MI:SS)" auxiliary destination "D:\". » ;

    }

    The procedure allocates a ch00 channel, which triggers the work, find a revovery catalog but the Holy following error at the end:

    channel alocado: ch00

    channel ch00: SID = 66 = SBT_TAPE device type

    channel ch00: Veritas NetBackup for Oracle - version 7.6 (20131113)

    Iniciando recover em 24/07/14

    RMAN-05026: ADVERTENCIA: implies - is o conjunto tablespaces has seguir is applied a um ponto specific no tempo

    Espera - is a list of tablespaces have segmentos CANCEL

    SYSTEM tablespace

    Tablespace UNDOTBS1

    Preencher uma instance automatica, com SID = 'sfgw'

    inicializacao para instance automatica free time:

    db_name = ORACLE02

    db_unique_name = sfgw_tspitr_ORACLE02

    compatible = 11.2.0.0.0

    DB_BLOCK_SIZE = 8192

    DB_FILES = 500

    SGA_TARGET = 280M

    process = 50

    db_create_file_dest = D:------.

    Log_archive_dest_1 =' location = d.: \'

    Auxiliary parameter file #No used

    inicializando instance automatica ORACLE02

    Instance Oracle iniciada

    Total da Area Global Sistema 292278272 bytes

    Bytes of size 2254584 fixed

    104859912 variable size bytes

    180355072 of database buffers bytes

    Redo buffers 4808704 bytes

    Instance automatica criada

    List of tablespaces that were banco dados destino sistematicamente:

    Tablespace T_CCEL_DAT_01

    Tablespace T_CCEL_IND_01

    conteudo Memoria of Script:

    {

    # the requested value point in time

    until ' to_date ('2014-06-23 08:00 ',' YYYY-MM-DD HH24:MI:SS') ";

    # restore the controlfile

    Restore clone controlfile;

    # mount the controlfile

    SQL clone "alter database database mount clone";

    Current online journal archive #.

    SQL 'alter system archive log current';

    # avoid needless save structural changes during the TSPITR

    SQL ' start dbms_backup_restore. AutoBackupFlag (FALSE); end;';

    }

    Executando Script de Memoria

    Comando executando: SET until clause

    Iniciando restoration em 24/07/14

    Removendo instance automatica

    desativando instance automatica

    Oracle instance Encerramento

    Instance automatica removida

    channel released: ch00

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-03002: falha comando recover em 24/07/2014 08:59:41

    RMAN-03015: erro ocorrido no armazenado memory Script script

    RMAN-06034: at least 1 channel must be distributed to run this command

    I study and I can not find a conclusion as to the error. Is there someone to help me with this?

    Kind regards

    André Luis

    I found the error: we put the channel as Symantec on Allocate environment variables below.

    RUN {}

    ALLOCATE CHANNEL ch00 TYPE SBT_TAPE SEND 'NB_ORA_CLIENT = corp0814';

    Restore tablespace t_outorgas_dat_01 until TIME ' TO_DATE ('2014-07-24 02:50 ',' ' YYYY-MM-DD HH24:MI:SS) "validate;

    }

Maybe you are looking for