Compressing Archivelog

Hi Everyone,
I'm using "BACKUP AS COMPRESSED BACKUPSET INCREMENTAL LEVEL 0" and "LEVEL 1" for full and incremental backups. I also use "BACKUP ARCHIVELOG ALL", is there a way to compress the archivelog backups as well. I do know when the archivelogs as backed up as part of full or incr, they are compressed as the log does indicate the same. I'm on 10.2.0.3.
Part of the incr backup log
Starting backup at 07/18/08 03:03:26
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting compressed archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=725 recid=607 stamp=660366208
channel ORA_DISK_1: starting piece 1 at 07/18/08 03:03:29
channel ORA_DISK_1: finished piece 1 at 07/18/08 03:03:32Archive log only
RMAN> BACKUP ARCHIVELOG ALL TAG = 'TEST' FORMAT = '/home/oracle/backup_mount/a_%T_%U';
Starting backup at 18-JUL-08
current log archived
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=209 devtype=DISK
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=737 recid=629 stamp=660413542
channel ORA_DISK_1: starting piece 1 at 18-JUL-08
channel ORA_DISK_1: finished piece 1 at 18-JUL-08
piece handle=/home/oracle/backup_mount/a_20080718_lqjlq737_1_1 tag=TEST comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:56
Finished backup at 18-JUL-08

Run the backup as follows:
RMAN> BACKUP AS COMPRESSED BACKUPSET ARCHIVELOG ALL TAG = 'TEST' FORMAT = '/home/oracle/backup_mount/a_%T_%U';

Similar Messages

  • Archive Log Compression

    Hi
    There is a feature that allows us to compress archive logs. This is set using "ALTER DATABASE ARCHIVELOG COMPRESS enable;"
    What I need to know is
    1) Which versions of oracle supports this.
    2) Has anyone experienced any drawbacks using this.
    Thanks

    This is what I got back from ORACLE.
    Generic Note
    Hi,
    The archive log compression feature was withdrawn from the release before the oracle 10g production release.
    It may appear to function as expected, but it is not yet supported and is intentionally not documented.
    Bug 3464260 - ALTER DATABASE ARCHIVELOG COMPRESS ENABLE/DISABLE IS MISSING IN 10G DOCS
    Status: 92 - Closed, Not a Bug
    - An Enhancement Request been created Bug 6780870 GENERATION OF COMPRESSED ARCHIVELOG FILES to ask
    if this functionality will be offered in a future release which is yet not been update by development..
    In other words, The SQL statement ALTER DATABASE ARCHIVELOG COMPRESS enable is possible, but indeed
    currently unsupported and undocumented even in Oracle Database 11g
    Archive compression was a planned new feature for 10G, but unfortunately it was withdrawn and it is still
    not available in 11g .This feature is expected in future releases.
    Please let me know if that answers your questions .
    Regards,
    One more question.
    We are running windows, I know someone mentioned gzip for linux, can we use that for windows compresssion, or will winzip or winrar or any other compression tool work.
    Thanks

  • LGWR: Archivelog for thread 1 sequence 219 will NOT be compressed

    db-version 10.2.0.2
    os windows server 2003
    part of the alert log:
    Thread 1 cannot allocate new log, sequence 219
    Private strand flush not complete
    Current log# 2 seq# 218 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\HTMLDB63\REDO02A.LOG
    Current log# 2 seq# 218 mem# 1: C:\ORACLE\DB_1\HTMLDB63\REDO02B.LOG
    Thread 1 advanced to log sequence 219
    Current log# 3 seq# 219 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\HTMLDB63\REDO03A.LOG
    Current log# 3 seq# 219 mem# 1: C:\ORACLE\DB_1\HTMLDB63\REDO03B.LOG
    part in the trace-file of the lgwr:
    LGWR: Archivelog for thread 1 sequence 219 will NOT be compressed
    is this a bug too or a real problem?

    According to Note: 284618.1 "Archivelog for thread % sequence % will NOT be compressed" message in trace files on 10.1.0.x, it is just an informational message and can be ignored.
    Your version on the other hand is 10.2.0.2. There are several unanswered forum thread on metalink concerning the message in 10.2.0.2 database. One thread answers by Oracle supports points the person asking the question to the note above.

  • LGWR: Archivelog for thread 1 sequence 9339 will NOT be compressed

    Following is a meesage in db01_lgwr_9265.trc
    *** 2007-08-03 05:37:19.254
    LGWR: Archivelog for thread 1 sequence 9335 will NOT be compressed
    *** 2007-08-03 05:52:38.565
    LGWR: Archivelog for thread 1 sequence 9336 will NOT be compressed
    *** 2007-08-03 06:07:51.288
    LGWR: Archivelog for thread 1 sequence 9337 will NOT be compressed
    *** 2007-08-03 06:35:26.796
    LGWR: Archivelog for thread 1 sequence 9338 will NOT be compressed
    *** 2007-08-03 06:45:55.290
    LGWR: Archivelog for thread 1 sequence 9339 will NOT be compressed
    *** 2007-08-03 07:11:16.890
    LGWR: Archivelog for thread 1 sequence 9340 will NOT be compressed
    *** 2007-08-03 09:12:54.310
    LGWR: Archivelog for thread 1 sequence 9341 will NOT be compressed
    *** 2007-08-03 09:18:43.238
    LGWR: Archivelog for thread 1 sequence 9342 will NOT be compressed
    *** 2007-08-03 09:27:38.027
    LGWR: Archivelog for thread 1 sequence 9343 will NOT be compressed
    *** 2007-08-03 09:35:25.323
    LGWR: Archivelog for thread 1 sequence 9344 will NOT be compressed
    ---------------------------------------------------->
    Why these messages are appearing in trace file ... ?
    Thanks
    SSM

    Additional information from the same note 284618.1
    The message is harmless and requires no action.
    The message is suppressed as of 10.2.0.3 from bug fix 4670363.
    Bug 4670363 - Repeated "LGWR: Archivelog for thread" trace messages
    Oracle Metalink Doc ID: Note:4670363.8
    Range of versions believed to be affected Versions < 11
    Versions confirmed as being affected 10.2.0.2
    Platforms affected Generic (all / most platforms affected)
    This issue is fixed in 10.2.0.3 (Server Patch Set)
    11g (Future version)
    Adith

  • LGWR: Archivelog for thread 1 sequence 107066 will NOT be compressed

    I am checking today's trace file & getting this message
    What it means & what is its solution
    LGWR: Archivelog for thread 1 sequence 107066 will NOT be compressed
    LGWR: Archivelog for thread 1 sequence 107067 will NOT be compressed
    LGWR: Archivelog for thread 1 sequence 107068 will NOT be compressed

    i am getting this message
    LGWR: Archivelog for thread 1 sequence 107066 will NOT be compressed
    LGWR: Archivelog for thread 1 sequence 107067 will NOT be compressed
    LGWR: Archivelog for thread 1 sequence 107068 will NOT be compressed
    & the space consumption is going very high , 3 GB in 3 hours...
    what should be the solution?

  • How to restore archivelogs on RAC ?

    Hello !
    I need to restore archivelogs for 2 hours: to_date('04/08/2010 23:00:00','dd/mm/yyyy HH24:mi:ss')" until time "to_date('05/08/2010 01:00:00','dd/mm/yyyy hh24:mi:ss'). I have this files on tape:
    RMAN> list backup of archivelog from time "to_date('04/08/2010 23:00:00','dd/mm/yyyy HH24:mi:ss')" until time "to_date('05/08/2010 01:00:00','dd/mm/yyyy hh24:mi:ss')";
    List of Backup Sets
    ===================
    BS Key  Size
    1359667 19.00M
      List of Archived Logs in backup set 1359667
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      3    24686   68236434950 04/08/2010 22:54:47 68243156430 04/08/2010 23:46:12
      Backup Set Copy #1 of backup set 1359667
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:03:50     04/08/2010 23:51:06 NO         TAG20100804T234715
        List of Backup Pieces for backup set 1359667 Copy #1
        BP Key  Pc# Status      Media                   Piece Name
        1359674 1   AVAILABLE   NN0876L3                /ORACLE:SVPRD1B:REDO:153543_726191236_1/
      Backup Set Copy #2 of backup set 1359667
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:03:50     04/08/2010 23:51:06 NO         TAG20100804T234715
        List of Backup Pieces for backup set 1359667 Copy #2
        BP Key  Pc# Status      Media                   Piece Name
        1359675 1   AVAILABLE   NN0261L3                /ORACLE:SVPRD1B:REDO:153543_726191236_2/
    BS Key  Size
    1359668 19.96G
      List of Archived Logs in backup set 1359668
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      1    33810   68236430016 04/08/2010 22:54:44 68240656570 04/08/2010 23:25:13
      Backup Set Copy #1 of backup set 1359668
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:22:24     05/08/2010 00:09:39 NO         TAG20100804T234715
        List of Backup Pieces for backup set 1359668 Copy #1
        BP Key  Pc# Status      Media                   Piece Name
        1359676 1   AVAILABLE   NN0876L3                /ORACLE:SVPRD1B:REDO:153541_726191236_1/
      Backup Set Copy #2 of backup set 1359668
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:22:24     05/08/2010 00:09:39 NO         TAG20100804T234715
        List of Backup Pieces for backup set 1359668 Copy #2
        BP Key  Pc# Status      Media                   Piece Name
        1359677 1   AVAILABLE   NN0261L3                /ORACLE:SVPRD1B:REDO:153541_726191236_2/
    BS Key  Size
    1359669 2.56G
      List of Archived Logs in backup set 1359669
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      1    33811   68240656570 04/08/2010 23:25:13 68243156997 04/08/2010 23:46:13
      Backup Set Copy #1 of backup set 1359669
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:02:38     05/08/2010 00:12:20 NO         TAG20100804T234715
        List of Backup Pieces for backup set 1359669 Copy #1
        BP Key  Pc# Status      Media                   Piece Name
        1359678 1   AVAILABLE   NN0876L3                /ORACLE:SVPRD1B:REDO:153544_726192582_1/
      Backup Set Copy #2 of backup set 1359669
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:02:38     05/08/2010 00:12:20 NO         TAG20100804T234715
        List of Backup Pieces for backup set 1359669 Copy #2
        BP Key  Pc# Status      Media                   Piece Name
        1359679 1   AVAILABLE   NN0261L3                /ORACLE:SVPRD1B:REDO:153544_726192582_2/
    BS Key  Size
    1359670 19.95G
      List of Archived Logs in backup set 1359670
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      2    33578   68236472935 04/08/2010 22:55:03 68240747010 04/08/2010 23:26:01
      Backup Set Copy #1 of backup set 1359670
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:26:38     05/08/2010 00:13:54 NO         TAG20100804T234715
        List of Backup Pieces for backup set 1359670 Copy #1
        BP Key  Pc# Status      Media                   Piece Name
        1359680 1   AVAILABLE   NN0876L3                /ORACLE:SVPRD1B:REDO:153542_726191236_1/
      Backup Set Copy #2 of backup set 1359670
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:26:38     05/08/2010 00:13:54 NO         TAG20100804T234715
        List of Backup Pieces for backup set 1359670 Copy #2
        BP Key  Pc# Status      Media                   Piece Name
        1359681 1   AVAILABLE   NN0261L3                /ORACLE:SVPRD1B:REDO:153542_726191236_2/
    BS Key  Size
    1359671 2.48G
      List of Archived Logs in backup set 1359671
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      2    33579   68240747010 04/08/2010 23:26:01 68243160092 04/08/2010 23:46:14
      Backup Set Copy #1 of backup set 1359671
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:02:46     05/08/2010 00:16:48 NO         TAG20100804T234715
        List of Backup Pieces for backup set 1359671 Copy #1
        BP Key  Pc# Status      Media                   Piece Name
        1359682 1   AVAILABLE   NN0876L3                /ORACLE:SVPRD1B:REDO:153545_726192843_1/
      Backup Set Copy #2 of backup set 1359671
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:02:46     05/08/2010 00:16:48 NO         TAG20100804T234715
        List of Backup Pieces for backup set 1359671 Copy #2
        BP Key  Pc# Status      Media                   Piece Name
        1359683 1   AVAILABLE   NN0261L3                /ORACLE:SVPRD1B:REDO:153545_726192843_2/
    BS Key  Size
    1359733 17.25M
      List of Archived Logs in backup set 1359733
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      3    24687   68243156430 04/08/2010 23:46:12 68260260710 05/08/2010 01:41:22
      Backup Set Copy #1 of backup set 1359733
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:02:48     05/08/2010 01:51:01 NO         TAG20100805T014812
        List of Backup Pieces for backup set 1359733 Copy #1
        BP Key  Pc# Status      Media                   Piece Name
        1359743 1   AVAILABLE   NN0821L3                /ORACLE:SVPRD1B:REDO:153560_726198493_1/
      Backup Set Copy #2 of backup set 1359733
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:02:48     05/08/2010 01:51:01 NO         TAG20100805T014812
        List of Backup Pieces for backup set 1359733 Copy #2
        BP Key  Pc# Status      Media                   Piece Name
        1359744 1   AVAILABLE   NN0833L3                /ORACLE:SVPRD1B:REDO:153560_726198493_2/
    BS Key  Size
    1359739 9.97G
      List of Archived Logs in backup set 1359739
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      1    33812   68243156997 04/08/2010 23:46:13 68253559461 05/08/2010 00:55:07
      1    33813   68253559461 05/08/2010 00:55:07 68260254831 05/08/2010 01:41:19
      Backup Set Copy #1 of backup set 1359739
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:11:44     05/08/2010 01:59:57 NO         TAG20100805T014812
        List of Backup Pieces for backup set 1359739 Copy #1
        BP Key  Pc# Status      Media                   Piece Name
        1359750 1   AVAILABLE   NN0821L3                /ORACLE:SVPRD1B:REDO:153558_726198493_1/
      Backup Set Copy #2 of backup set 1359739
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:11:44     05/08/2010 01:59:57 NO         TAG20100805T014812
        List of Backup Pieces for backup set 1359739 Copy #2
        BP Key  Pc# Status      Media                   Piece Name
        1359751 1   AVAILABLE   NN0833L3                /ORACLE:SVPRD1B:REDO:153558_726198493_2/
    BS Key  Size
    1359740 9.84G
      List of Archived Logs in backup set 1359740
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      2    33580   68243160092 04/08/2010 23:46:14 68253672744 05/08/2010 00:56:10
      2    33581   68253672744 05/08/2010 00:56:10 68260864567 05/08/2010 01:46:16
      Backup Set Copy #1 of backup set 1359740
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:12:20     05/08/2010 02:00:33 NO         TAG20100805T014812
        List of Backup Pieces for backup set 1359740 Copy #1
        BP Key  Pc# Status      Media                   Piece Name
        1359752 1   AVAILABLE   NN0821L3                /ORACLE:SVPRD1B:REDO:153559_726198493_1/
      Backup Set Copy #2 of backup set 1359740
      Device Type Elapsed Time Completion Time     Compressed Tag
      SBT_TAPE    00:12:20     05/08/2010 02:00:33 NO         TAG20100805T014812
        List of Backup Pieces for backup set 1359740 Copy #2
        BP Key  Pc# Status      Media                   Piece Name
        1359753 1   AVAILABLE   NN0833L3                /ORACLE:SVPRD1B:REDO:153559_726198493_2/but when I am trying to restore them I receive an error:
    RMAN> run {
    allocate channel t1 type 'sbt_tape';
    2>  set archivelog destination to '/oracle/archive/svprd1b1/20100817_arch_rest';
    restore (archivelog from time "to_date('04/08/2010 23:00:00','dd/mm/yyyy HH24:mi:ss')" until time "to_date('05/08/2010 01:00:00','dd/mm/yyyy hh24:mi:ss')" );
    release channel t1;
    3> 4> 5> 6>
    allocated channel: t1
    channel t1: sid=1725 instance=SVPRD1B1 devtype=SBT_TAPE
    channel t1: NMO v4.2.0.0
    executing command: SET ARCHIVELOG DESTINATION
    Starting restore at 23/08/2010 13:05:15
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=3 sequence=24686
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153543_726191236_1/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153543_726191236_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153543_726191236_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=1 sequence=33810
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153541_726191236_1/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153541_726191236_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153541_726191236_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=1 sequence=33811
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153544_726192582_1/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153544_726192582_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153544_726192582_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=2 sequence=33578
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153542_726191236_1/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153542_726191236_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153542_726191236_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=2 sequence=33579
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153545_726192843_1/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153545_726192843_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153545_726192843_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=3 sequence=24687
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153560_726198493_1/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153560_726198493_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153560_726198493_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=1 sequence=33812
    channel t1: restoring archive log
    archive log thread=1 sequence=33813
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153558_726198493_1/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153558_726198493_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153558_726198493_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=2 sequence=33580
    channel t1: restoring archive log
    archive log thread=2 sequence=33581
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153559_726198493_1/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153559_726198493_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153559_726198493_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    failover to previous backup
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=3 sequence=24686
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153543_726191236_2/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153543_726191236_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153543_726191236_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=1 sequence=33810
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153541_726191236_2/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153541_726191236_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153541_726191236_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=1 sequence=33811
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153544_726192582_2/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153544_726192582_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153544_726192582_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=2 sequence=33578
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153542_726191236_2/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153542_726191236_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153542_726191236_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=2 sequence=33579
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153545_726192843_2/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153545_726192843_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153545_726192843_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=3 sequence=24687
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153560_726198493_2/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153560_726198493_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153560_726198493_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=1 sequence=33812
    channel t1: restoring archive log
    archive log thread=1 sequence=33813
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153558_726198493_2/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153558_726198493_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153558_726198493_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    channel t1: starting archive log restore to user-specified destination
    archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
    channel t1: restoring archive log
    archive log thread=2 sequence=33580
    channel t1: restoring archive log
    archive log thread=2 sequence=33581
    channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153559_726198493_2/
    ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153559_726198493_2/
    ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153559_726198493_2/", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
       A backup or restore session is already in progress. (100:17:0)
    failover to previous backup
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 08/23/2010 13:08:50
    RMAN-06026: some targets not found - aborting restore
    RMAN-06025: no backup of log thread 3 seq 24687 lowscn 68243156430 found to restore
    RMAN-06025: no backup of log thread 3 seq 24686 lowscn 68236434950 found to restore
    RMAN-06025: no backup of log thread 2 seq 33581 lowscn 68253672744 found to restore
    RMAN-06025: no backup of log thread 2 seq 33580 lowscn 68243160092 found to restore
    RMAN-06025: no backup of log thread 2 seq 33579 lowscn 68240747010 found to restore
    RMAN-06025: no backup of log thread 2 seq 33578 lowscn 68236472935 found to restore
    RMAN-06025: no backup of log thread 1 seq 33813 lowscn 68253559461 found to restore
    RMAN-06025: no backup of log thread 1 seq 33812 lowscn 68243156997 found to restore
    RMAN-06025: no backup of log thread 1 seq 33811 lowscn 68240656570 found to restore
    RMAN-06025: no backup of log thread 1 seq 33810 lowscn 68236430016 found to restoreWhat am I doing wrong ?
    Database 10.2.0.4 @HP-UX 11.23 Itanium
    Thanks in advance.

    The error "A backup or restore session is already in progress. (100:17:0)" comes from the MML -- the Tape Management software. It prevents you from running a RESTORE.
    Hemant K Chitale

  • Is incremental backup possible for archivelog.

    Hi expert
    i want to plan weekly and daily backup with windows redundancy 14 days.
    full archivelog backup script
    run
    BACKUP AS COMPRESSED BACKUPSET
    INCREMENTAL LEVEL = 0
    DEVICE TYPE DISK
    TAG = 'WEEKLY_ARCHIVELOG'
    FORMAT '/oracle/ITB/db/apps_st/rman_backup/weekly_archivelog_%d_t%t_s%s_p%p'
    ARCHIVELOG FROM TIME 'SYSDATE-7';
    daily backup script
    run
    BACKUP AS COMPRESSED BACKUPSET
    INCREMENTAL LEVEL = 1
    DEVICE TYPE DISK
    TAG = 'DAILY_INCREMENTAL_ARCHIVELOG'
    FORMAT '/oracle/ITB/db/apps_st/rman_backup/daily_incremental_archivelog_%d_t%t_s%s_p%p'
    ARCHIVELOG FROM TIME 'SYSDATE-1';
    my question that if i will take backup then, will be any gap in sequnce
    and second question is that ---is there incremental backup possible for archivelog.
    os =aix6 and database 10g2

    afzal wrote:
    Dear Sir,
    ok question number 2 is clear that incremental backup is not possible but still confuse
    about sequence
    if i did take backup of 17 feb at 12 o'clock seq 1,2,3,4
    after that i did take backup 18th fab 1 pm then it will take from 6,7,8-------seq 5 is missing
    please please correct my archive log script for weekly and daily backup with windows redundancy 14 days
    again please correct my script
    thnaksWHy you think the archive log file number 5 will be missing? RMAN automatically archives current redo log files and backups it
    Why you don't test your backup script by your own and check results? Never trust anyone on your critical databases' backups, do it by your own!
    Kamran Agayev A.
    Oracle ACE
    My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

  • Why some archivelogs are not being backedup

    Hi,
    Can you help me understand why archivelog sequence 3 to 112 are not being backed-up?
    Rman list backup
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    13      Incr 0  1.49G      SBT_TAPE    00:03:43     09-MAY-10     
            BP Key: 13   Status: AVAILABLE  Compressed: NO  Tag: TAG20100509T081017
            Handle: tapefullarch<orcl_14:718531818:1>.dbf   Media: 8d080a0a:4bbe63e5:0f3c:0001[[AE3772] Default LTO-Ultrium_4]
      List of Datafiles in backup set 13
      File LV Type Ckp SCN    Ckp Time  Name
      1    0  Incr 71884411   09-MAY-10 +DATA/orcl/datafile/system.256.705520977
      2    0  Incr 71884411   09-MAY-10 +DATA/orcl/datafile/sysaux.257.705520977
      3    0  Incr 71884411   09-MAY-10 +DATA/orcl/datafile/undotbs1.258.705520977
      4    0  Incr 71884411   09-MAY-10 +DATA/orcl/datafile/users.259.705520977
      5    0  Incr 71884411   09-MAY-10 +DATA/orcl/datafile/example.269.705521085
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    14      Incr 0  9.75M      SBT_TAPE    00:00:06     09-MAY-10     
            BP Key: 14   Status: AVAILABLE  Compressed: NO  Tag: TAG20100509T081017
            Handle: tapefullarch<orcl_15:718532043:1>.dbf   Media: 8d080a0a:4bbe63e5:0f3c:0001[[AE3772] Default LTO-Ultrium_4]
      SPFILE Included: Modification time: 09-MAY-10
      SPFILE db_unique_name: ORCL
      Control File Included: Ckp SCN: 71884491     Ckp time: 09-MAY-10
    BS Key  Size       Device Type Elapsed Time Completion Time
    15      548.75M    SBT_TAPE    00:00:56     09-MAY-10     
            BP Key: 15   Status: AVAILABLE  Compressed: NO  Tag: TAG20100509T081413
            Handle: tapefullarch<orcl_16:718532053:1>.dbf   Media: 8d080a0a:4bbe63e5:0f3c:0001[[AE3772] Default LTO-Ultrium_4]
      List of Archived Logs in backup set 15
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    112     71466716   04-JAN-10 71467421   04-JAN-10
      1    113     71467421   04-JAN-10 71467880   04-JAN-10
      1    114     71467880   04-JAN-10 71468651   04-JAN-10
      1    115     71468651   04-JAN-10 71484482   29-APR-10
      1    116     71484482   29-APR-10 71487769   29-APR-10
      1    117     71487769   29-APR-10 71491078   29-APR-10
      1    118     71491078   29-APR-10 71494090   29-APR-10
      1    119     71494090   29-APR-10 71497327   29-APR-10
      1    120     71497327   29-APR-10 71501375   29-APR-10
      1    121     71501375   29-APR-10 71504570   29-APR-10
      1    122     71504570   29-APR-10 71526345   29-APR-10
      1    123     71526345   29-APR-10 71573288   01-MAY-10
      1    124     71573288   01-MAY-10 71621137   02-MAY-10
      1    125     71621137   02-MAY-10 71642763   02-MAY-10
      1    126     71642763   02-MAY-10 71704967   03-MAY-10
      1    127     71704967   03-MAY-10 71758899   04-MAY-10
      1    128     71758899   04-MAY-10 71780946   04-MAY-10
      1    129     71780946   04-MAY-10 71818236   05-MAY-10
      1    130     71818236   05-MAY-10 71818244   05-MAY-10
      1    131     71818244   05-MAY-10 71818290   05-MAY-10
      1    132     71818290   05-MAY-10 71818293   05-MAY-10
      1    133     71818293   05-MAY-10 71818296   05-MAY-10
      1    134     71818296   05-MAY-10 71818317   05-MAY-10
      1    135     71818317   05-MAY-10 71818321   05-MAY-10
      1    136     71818321   05-MAY-10 71818325   05-MAY-10
      1    137     71818325   05-MAY-10 71818372   05-MAY-10
      1    138     71818372   05-MAY-10 71818560   05-MAY-10
      1    139     71818560   05-MAY-10 71818568   05-MAY-10
      1    140     71818568   05-MAY-10 71822429   05-MAY-10
      1    141     71822429   05-MAY-10 71822437   05-MAY-10
      1    142     71822437   05-MAY-10 71884015   09-MAY-10
      1    143     71884015   09-MAY-10 71884510   09-MAY-10
      1    144     71884510   09-MAY-10 71884518   09-MAY-10
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    16      Full    9.75M      SBT_TAPE    00:00:04     09-MAY-10     
            BP Key: 16   Status: AVAILABLE  Compressed: NO  Tag: TAG20100509T081520
            Handle: tapefullarch<orcl_17:718532120:1>.dbf   Media: 8d080a0a:4bbe63e5:0f3c:0001[[AE3772] Default LTO-Ultrium_4]
      Control File Included: Ckp SCN: 71884559     Ckp time: 09-MAY-10
    RMAN> ArchiveLogs...
    SQL> select SEQUENCE#,DELETED from v$archived_log;
    SEQUENCE# DEL
          3 NO
          4 NO
          5 NO
          6 NO
          7 NO
          8 NO
          9 NO
         10 NO
         11 NO
         12 NO
         13 NO
    SEQUENCE# DEL
         14 NO
         15 NO
         16 NO
         17 NO
         18 NO
         19 NO
         20 NO
         21 NO
         22 NO
         23 NO
         24 NO
    SEQUENCE# DEL
         25 NO
         26 NO
         27 NO
         28 NO
         29 NO
         30 NO
         31 NO
         32 NO
         33 NO
         34 NO
         35 NO
    SEQUENCE# DEL
         36 NO
         37 NO
         38 NO
         39 NO
         40 NO
         41 NO
         42 NO
         43 NO
         44 NO
         45 NO
         46 NO
    SEQUENCE# DEL
         47 NO
         48 NO
         49 NO
         50 NO
         51 NO
         52 NO
         53 NO
         54 NO
         55 NO
         56 NO
         57 NO
    SEQUENCE# DEL
         58 NO
         59 NO
         60 NO
         61 NO
         62 NO
         63 NO
         64 NO
         65 NO
         66 NO
         67 NO
         68 NO
    SEQUENCE# DEL
         69 NO
         70 NO
         71 NO
         72 NO
         73 NO
         74 NO
         75 NO
         76 NO
         77 NO
         78 NO
         79 NO
    SEQUENCE# DEL
         80 NO
         81 NO
         82 NO
         83 NO
         84 NO
         85 NO
         86 NO
         87 NO
         88 NO
         89 NO
         90 NO
    SEQUENCE# DEL
         91 NO
         92 NO
         93 NO
         94 NO
         95 NO
         96 NO
         97 NO
         98 NO
         99 NO
           100 NO
           101 NO
    SEQUENCE# DEL
           102 NO
           103 NO
           104 NO
           105 NO
           106 NO
           107 NO
           108 NO
           109 NO
           110 NO
           111 NO
           112 NO
    SEQUENCE# DEL
           113 NO
           114 NO
           115 NO
           116 NO
           117 NO
           118 NO
           119 NO
           120 NO
           121 NO
           122 NO
           123 NO
    SEQUENCE# DEL
           124 NO
           125 NO
           126 NO
           127 NO
           128 NO
           129 NO
           130 NO
           131 NO
           132 NO
           133 NO
           134 NO
    SEQUENCE# DEL
           135 NO
           136 NO
           137 NO
           138 NO
           139 NO
           140 NO
           141 NO
           142 NO
           143 NO
           144 NO
           145 NO
    SEQUENCE# DEL
           146 NO
           147 NO
           148 NO
           149 NO
    147 rows selected.
    SQL>

    Here it is Pavan... What's the difference between status X or A?
    and when I crosscheck archivelog all, I see "validation failed for archived log" for archivelogs 3 to 111
    SQL> select name, sequence#, completion_time, deleted from v$archived_log where status = 'A';
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_112_705521069.arch
           112 04-JAN-10 NO
    +DATA/orcl/arch/orcl1_113_705521069.arch
           113 04-JAN-10 NO
    +DATA/orcl/arch/orcl1_114_705521069.arch
           114 04-JAN-10 NO
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_115_705521069.arch
           115 29-APR-10 NO
    +DATA/orcl/arch/orcl1_116_705521069.arch
           116 29-APR-10 NO
    +DATA/orcl/arch/orcl1_117_705521069.arch
           117 29-APR-10 NO
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_118_705521069.arch
           118 29-APR-10 NO
    +DATA/orcl/arch/orcl1_119_705521069.arch
           119 29-APR-10 NO
    +DATA/orcl/arch/orcl1_120_705521069.arch
           120 29-APR-10 NO
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_121_705521069.arch
           121 29-APR-10 NO
    +DATA/orcl/arch/orcl1_122_705521069.arch
           122 29-APR-10 NO
    +DATA/orcl/arch/orcl1_123_705521069.arch
           123 01-MAY-10 NO
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_124_705521069.arch
           124 02-MAY-10 NO
    +DATA/orcl/arch/orcl1_125_705521069.arch
           125 02-MAY-10 NO
    +DATA/orcl/arch/orcl1_126_705521069.arch
           126 03-MAY-10 NO
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_127_705521069.arch
           127 04-MAY-10 NO
    +DATA/orcl/arch/orcl1_128_705521069.arch
           128 04-MAY-10 NO
    +DATA/orcl/arch/orcl1_129_705521069.arch
           129 05-MAY-10 NO
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_130_705521069.arch
           130 05-MAY-10 NO
    +DATA/orcl/arch/orcl1_131_705521069.arch
           131 05-MAY-10 NO
    +DATA/orcl/arch/orcl1_132_705521069.arch
           132 05-MAY-10 NO
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_133_705521069.arch
           133 05-MAY-10 NO
    +DATA/orcl/arch/orcl1_134_705521069.arch
           134 05-MAY-10 NO
    +DATA/orcl/arch/orcl1_135_705521069.arch
           135 05-MAY-10 NO
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_136_705521069.arch
           136 05-MAY-10 NO
    +DATA/orcl/arch/orcl1_137_705521069.arch
           137 05-MAY-10 NO
    +DATA/orcl/arch/orcl1_138_705521069.arch
           138 05-MAY-10 NO
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_139_705521069.arch
           139 05-MAY-10 NO
    +DATA/orcl/arch/orcl1_140_705521069.arch
           140 05-MAY-10 NO
    +DATA/orcl/arch/orcl1_141_705521069.arch
           141 05-MAY-10 NO
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_142_705521069.arch
           142 09-MAY-10 NO
    +DATA/orcl/arch/orcl1_143_705521069.arch
           143 09-MAY-10 NO
    +DATA/orcl/arch/orcl1_144_705521069.arch
           144 09-MAY-10 NO
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_145_705521069.arch
           145 09-MAY-10 NO
    +DATA/orcl/arch/orcl1_146_705521069.arch
           146 10-MAY-10 NO
    +DATA/orcl/arch/orcl1_147_705521069.arch
           147 10-MAY-10 NO
    NAME
    SEQUENCE# COMPLETIO DEL
    +DATA/orcl/arch/orcl1_148_705521069.arch
           148 11-MAY-10 NO
    +DATA/orcl/arch/orcl1_149_705521069.arch
           149 12-MAY-10 NO
    +DATA/orcl/arch/orcl1_150_705521069.arch
           150 12-MAY-10 NO
    39 rows selected.
    SQL>

  • Backing up database and archivelogs with grid control.

    So I was scheduling a job to backup the entire database and archive logs to an ASM diskgroup.  Well for some reason.... the backup of both the datafiles and archivelog files keep going to my $ORACLE_HOME/db/dbs directory.  I have no clue as I've dropped the job and recreated it and made sure it was going to <diskgroup>. Anyone have any idea what might be happening? I'm using 10.2.0.4 for the database and ASM. My Grid control is also 10.2.0.4.
    Thanks in advance
    Luke

    Grid Control:
    Disk Backup Location: I've tried to leave it blank so that it will goto my flash recovery area(Which is on ASM) and I even tried to explicitly state an ASM diskgroup, but both of those fail and start backing up to /dbs directory
    RMAN:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTRONLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '%U';
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128;
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/SOMEDIR/';
    Edited by: Luke22 on Feb 2, 2010 12:07 PM

  • How to check wether we are using Compressed backup option or not in 11gR1?

    Actually I'm trying save some space in FRA? Any Ideas will be really welcome.
    One option I can think of is Compressed backup sets
    I don't see anyhting like 'Compress' in my scripts below....Also in 'Backup Settings' under 'Availability' Tab in Grid
    I see 'Backup Set' selected and not 'Compressed Backup set'.
    Is there anywhere else I can check wether I'm taking compressed backups or not?
    Thanks in Advance
    run {
    RECOVER COPY OF DATABASE WITH TAG "ngprod_incr_backup";
    allocate channel 'dev_0' type 'sbt_tape' parms 'SBT_LIBRARY=/ora00/app/oracle/product/11/db1/lib/libobk.so';
    send 'NSR_ENV=(NSR_SERVER=corpntw01.amhc.amhealthways.net, NSR_CLIENT=NGPROD.amhc.amhealthways.net, NSR_DATA_VOLUME_POOL=UNIX Daily)';
    allocate channel 'dev_1' type 'sbt_tape' parms 'SBT_LIBRARY=/ora00/app/oracle/product/11/db1/lib/libobk.so';
    send 'NSR_ENV=(NSR_SERVER=corpntw01.amhc.amhealthways.net, NSR_CLIENT=NGPROD.amhc.amhealthways.net, NSR_DATA_VOLUME_POOL=UNIX Daily)';
    backup recovery area;
    release channel dev_0;
    release channel dev_1;
    BACKUP INCREMENTAL LEVEL 0 DATABASE TAG "ngprod_incr_backup" ;
    run {
    RECOVER COPY OF DATABASE WITH TAG "ngprod_incr_backup";
    BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG "ngprod_incr_backup" DATABASE;
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    send 'NSR_ENV=(NSR_SERVER=corpntw01.amhc.amhealthways.net, NSR_CLIENT=NGPROD.amhc.amhealthways.net, NSR_DATA_VOLUME_POOL=UNIX Daily)';
    allocate channel 'dev_1' type 'sbt_tape'
    send 'NSR_ENV=(NSR_SERVER=corpntw01.amhc.amhealthways.net, NSR_CLIENT=NGPROD.amhc.amhealthways.net, NSR_DATA_VOLUME_POOL=UNIX Daily)';
    allocate channel 'dev_2' type 'sbt_tape'
    send 'NSR_ENV=(NSR_SERVER=corpntw01.amhc.amhealthways.net, NSR_CLIENT=NGPROD.amhc.amhealthways.net, NSR_DATA_VOLUME_POOL=UNIX Daily)';
    allocate channel 'dev_3' type 'sbt_tape'
    send 'NSR_ENV=(NSR_SERVER=corpntw01.amhc.amhealthways.net, NSR_CLIENT=NGPROD.amhc.amhealthways.net, NSR_DATA_VOLUME_POOL=UNIX Daily)';
    backup filesperset 1 tag='NGPROD' format 'ARCH<NGPROD_%s:%t:%p>' archivelog all not backed up 2 times;
    delete noprompt archivelog all backed up 2 times to device type sbt;
    release channel dev_0;
    release channel dev_1;
    release channel dev_2;
    release channel dev_3;
    }

    hi,
    also you may define default behaviour of backing up:
    RMAN> CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO COMPRESSED BACKUPSET;
    Turn on this great feature:
    SQL> alter database enable block change tracking using file '/u01/oradata/ora1/change_tracking.f';
    and use incremental backups.

  • Compressed backup abnormal file size

    Dear all,
    11.1.0.7 on solaris
    Am using the below script to take rman backup
    DATE_SUFFIX=`date +%b%d.%H%M`
    tmpdir=/u03/rman_daily
    tmpfile="$tmpdir/logs/RMAN_BKP$DATE_SUFFIX.log"
    mkdir -p /u03/rman_daily/RMAN_BKP$DATE_SUFFIX
    DIRNAME=/u03/rman_daily/RMAN_BKP$DATE_SUFFIX
    rman target=system/manager@PROD  nocatalog msglog /u03/rman_daily/logs/RMAN_BKP$DATE_SUFFIX.log <<EOF
    backup as compressed backupset full database tag='PRODBKP' format '$DIRNAME/PROD_t%t_s%s_p%p_c%c';
    backup current controlfile format '$DIRNAME/PROD_cntrl_t%t_s%s_p%p_c%c';
    backup archivelog all format '$DIRNAME/PROD_arch%t_s%s_p%p_c%c';
    delete noprompt archivelog all completed before 'sysdate-3';
    crosscheck backup;
    delete noprompt obsolete;DB Size daily increasing by 200MB (at the maximum) , but the size of the above backup is
    increasing daily abnormally ?
    bash-3.00$ du -sh *
    226K   logs
      14G   RMAN_BKPFeb26.0014
      16G   RMAN_BKPFeb27.0014
      20G   RMAN_BKPFeb28.0014
      26G   RMAN_BKPFeb29.0014
      31G   RMAN_BKPMar01.0014
      41G   RMAN_BKPMar02.0014Any idea why ?
    Kai

    KaiS wrote:
    Dear all,
    11.1.0.7 on solaris
    Am using the below script to take rman backup
    DATE_SUFFIX=`date +%b%d.%H%M`
    tmpdir=/u03/rman_daily
    tmpfile="$tmpdir/logs/RMAN_BKP$DATE_SUFFIX.log"
    mkdir -p /u03/rman_daily/RMAN_BKP$DATE_SUFFIX
    DIRNAME=/u03/rman_daily/RMAN_BKP$DATE_SUFFIX
    rman target=system/manager@PROD  nocatalog msglog /u03/rman_daily/logs/RMAN_BKP$DATE_SUFFIX.log <<EOF
    backup as compressed backupset full database tag='PRODBKP' format '$DIRNAME/PROD_t%t_s%s_p%p_c%c';
    backup current controlfile format '$DIRNAME/PROD_cntrl_t%t_s%s_p%p_c%c';
    backup archivelog all format '$DIRNAME/PROD_arch%t_s%s_p%p_c%c';
    delete noprompt archivelog all completed before 'sysdate-3';
    crosscheck backup;
    delete noprompt obsolete;DB Size daily increasing by 200MB (at the maximum) , but the size of the above backup is
    increasing daily abnormally ?
    bash-3.00$ du -sh *
    226K   logs
    14G   RMAN_BKPFeb26.0014
    16G   RMAN_BKPFeb27.0014
    20G   RMAN_BKPFeb28.0014
    26G   RMAN_BKPFeb29.0014
    31G   RMAN_BKPMar01.0014
    41G   RMAN_BKPMar02.0014Any idea why ?
    KaiHi,
    Are these log files? Aren't you?
    bash-3.00$ du -sh *
    226K logs
    14G RMAN_BKPFeb26.0014
    16G RMAN_BKPFeb27.0014
    20G RMAN_BKPFeb28.0014
    26G RMAN_BKPFeb29.0014
    31G RMAN_BKPMar01.0014
    41G RMAN_BKPMar02.0014
    Talip Hakan Ozturk
    http://taliphakanozturken.wordpress.com/

  • How to find what archivelogs are needed for recovery

    From Hemants sir's blog:
    http://hemantoracledba.blogspot.com/2010/03/misinterpreting-restore-database.html
    "You can query V$ARCHIVED_LOG for FIRST_CHANGE# and FIRST_TIME besides SEQUENCE#. That way, you can match SCN (FIRST_CHANGE#), Time and Sequence to determine which ArchiveLogs are need. The RMAN LIST BACKUP command shows you the Checkpoint SCN for all datafiles in a backup, so you need ArchiveLogs from the point of the earliest Checkpoint SCN in that backup set."
    How can i find the earliest checkpoint SCN from the backupsets?
    Any queries to find the earliest SCN in backupset(RC views)?
    Edited by: user9097501 on Aug 10, 2010 6:38 AM

    If i have to refresh the database from the backup of 9-AUG so the earliest SCN from where recovery would be needed is 60279026593 ?
    RMAN> list backup of datafile 1;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    43210 Incr 0 13.25G DISK 03:55:03 25-DEC-2009 15:52
    List of Datafiles in backup set 43210
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 46646244284 25-DEC-2009 11:57 +DBDATA/dnbib/datafile/system.455.675750017
    Backup Set Copy #1 of backup set 43210
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 03:55:03 25-DEC-2009 15:51 YES FORCLONE
    List of Backup Pieces for backup set 43210 Copy #1
    BP Key Pc# Status Piece Name
    51423 1 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_1.bak
    51424 2 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_2.bak
    51425 3 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_3.bak
    51426 4 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_4.bak
    51427 5 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_5.bak
    51428 6 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_6.bak
    51429 7 AVAILABLE /backup/bkup_for_clone_GOCPRD_20091225_44019_7.bak
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    43367 Incr 0 15.33G DISK 03:39:25 19-FEB-2010 23:43
    List of Datafiles in backup set 43367
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 49260361949 19-FEB-2010 20:03 +DBDATA/dnbib/datafile/system.455.675750017
    Backup Set Copy #1 of backup set 43367
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 03:39:25 19-FEB-2010 23:42 YES FORCLONE
    List of Backup Pieces for backup set 43367 Copy #1
    BP Key Pc# Status Piece Name
    51819 1 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_1.bak
    51820 2 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_2.bak
    51821 3 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_3.bak
    51822 4 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_4.bak
    51823 5 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_5.bak
    51824 6 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_6.bak
    51825 7 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_7.bak
    51826 8 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/na1stg/bkup_for_clone_GOCPRD_20100219_44170_8.bak
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    43518 Incr 0 13.70G DISK 04:26:50 03-APR-2010 12:12
    List of Datafiles in backup set 43518
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 51275194891 03-APR-2010 07:46 +DBDATA/dnbib/datafile/system.455.675750017
    Backup Set Copy #1 of backup set 43518
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 04:26:50 03-APR-2010 12:12 YES FORCLONE
    List of Backup Pieces for backup set 43518 Copy #1
    BP Key Pc# Status Piece Name
    52481 1 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_1.bak
    52482 2 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_2.bak
    52483 3 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_3.bak
    52484 4 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_4.bak
    52485 5 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_5.bak
    52486 6 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_6.bak
    52487 7 EXPIRED /dnbusr1/dnbinas/dnbi_clone/backup/GOCPRD/bkup_for_clone_GOCPRD_20100403_44346_7.bak
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    43599 Incr 0 16.56G DISK 04:36:51 11-APR-2010 03:35
    List of Datafiles in backup set 43599
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 51583056741 10-APR-2010 22:58 +DBDATA/dnbib/datafile/system.455.675750017
    Backup Set Copy #1 of backup set 43599
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 04:36:51 11-APR-2010 03:35 YES FORCLONE
    List of Backup Pieces for backup set 43599 Copy #1
    BP Key Pc# Status Piece Name
    52841 1 EXPIRED /backup/bkup_for_clone_GOCPRD_20100410_44440_1.bak
    52842 2 EXPIRED /backup/bkup_for_clone_GOCPRD_20100410_44440_2.bak
    52843 3 EXPIRED /backup/bkup_for_clone_GOCPRD_20100410_44440_3.bak
    52844 4 EXPIRED /backup/bkup_for_clone_GOCPRD_20100411_44440_4.bak
    52845 5 EXPIRED /backup/bkup_for_clone_GOCPRD_20100411_44440_5.bak
    52846 6 EXPIRED /backup/bkup_for_clone_GOCPRD_20100411_44440_6.bak
    52847 7 EXPIRED /backup/bkup_for_clone_GOCPRD_20100411_44440_7.bak
    52848 8 EXPIRED /backup/bkup_for_clone_GOCPRD_20100411_44440_8.bak
    52849 9 EXPIRED /backup/bkup_for_clone_GOCPRD_20100411_44440_9.bak
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    43637 Incr 0 16.37G DISK 05:13:41 18-APR-2010 04:09
    Keep: LOGS Until: FOREVER
    List of Datafiles in backup set 43637
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 51953576598 17-APR-2010 22:56 +DBDATA/dnbib/datafile/system.455.675750017
    Backup Set Copy #1 of backup set 43637
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 05:13:41 18-APR-2010 04:09 YES FORCLONE_17APR
    List of Backup Pieces for backup set 43637 Copy #1
    BP Key Pc# Status Piece Name
    53112 1 EXPIRED /backup/bkup_for_clone_GOCPRD_20100417_44486_1.bak
    53113 2 EXPIRED /backup/bkup_for_clone_GOCPRD_20100417_44486_2.bak
    53114 3 EXPIRED /backup/bkup_for_clone_GOCPRD_20100417_44486_3.bak
    53115 4 EXPIRED /backup/bkup_for_clone_GOCPRD_20100418_44486_4.bak
    53116 5 EXPIRED /backup/bkup_for_clone_GOCPRD_20100418_44486_5.bak
    53117 6 EXPIRED /backup/bkup_for_clone_GOCPRD_20100418_44486_6.bak
    53118 7 EXPIRED /backup/bkup_for_clone_GOCPRD_20100418_44486_7.bak
    53119 8 EXPIRED /backup/bkup_for_clone_GOCPRD_20100418_44486_8.bak
    53120 9 EXPIRED /backup/bkup_for_clone_GOCPRD_20100418_44486_9.bak
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    43773 Incr 0 18.31G DISK 03:45:59 27-JUN-2010 16:23
    List of Datafiles in backup set 43773
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 58235899541 27-JUN-2010 12:37 +DBDATA/dnbib/datafile/system.455.675750017
    Backup Set Copy #1 of backup set 43773
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 03:45:59 27-JUN-2010 16:23 YES FOR_DUP
    List of Backup Pieces for backup set 43773 Copy #1
    BP Key Pc# Status Piece Name
    53784 1 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_1.bak
    53785 2 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_2.bak
    53786 3 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_3.bak
    53787 4 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_4.bak
    53788 5 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_5.bak
    53789 6 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_6.bak
    53790 7 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_7.bak
    53791 8 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_8.bak
    53792 9 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_9.bak
    53793 10 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100627_44623_10.bak
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    43964 Incr 0 10.59G DISK 03:17:50 05-AUG-2010 03:05
    List of Datafiles in backup set 43964
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 60108165915 04-AUG-2010 23:47 +DBDATA/dnbib/datafile/system.455.675750017
    Backup Set Copy #1 of backup set 43964
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 03:17:50 05-AUG-2010 03:05 YES FOR_DUP
    List of Backup Pieces for backup set 43964 Copy #1
    BP Key Pc# Status Piece Name
    54470 1 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100804_44966_1.bak
    54471 2 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100805_44966_2.bak
    54472 3 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100805_44966_3.bak
    54473 4 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100805_44966_4.bak
    54474 5 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100805_44966_5.bak
    54475 6 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100805_44966_6.bak
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    44020 Incr 0 19.75G DISK 04:13:42 09-AUG-2010 03:15
    List of Datafiles in backup set 44020
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 60279026593 08-AUG-2010 23:01 +DBDATA/dnbib/datafile/system.455.675750017
    Backup Set Copy #1 of backup set 44020
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 04:13:42 09-AUG-2010 03:15 YES FOR_DUP
    List of Backup Pieces for backup set 44020 Copy #1
    BP Key Pc# Status Piece Name
    54990 1 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100808_45009_1.bak
    54991 2 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100808_45009_2.bak
    54992 3 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100808_45009_3.bak
    54993 4 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100808_45009_4.bak
    54994 5 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100809_45009_5.bak
    54995 6 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100809_45009_6.bak
    54996 7 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100809_45009_7.bak
    54997 8 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100809_45009_8.bak
    54998 9 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100809_45009_9.bak
    54999 10 AVAILABLE /backup/bkup_for_dup_GOCPRD_20100809_45009_10.bak
    RMAN>

  • Creating Standby From RMAN Compressed backup taken on Primary ....

    I am creating a Standby from RMAN Compressed backup taken on Primary.
    On Primary, I have taken Compressed backup as follows:
    RMAN> run
    allocate channel c1 type disk;
    allocate channel c2 type disk;
    allocate channel c3 type disk;
    BACKUP AS COMPRESSED BACKUPSET DATABASE PLUS ARCHIVELOG format '/dboracle/orbit_pr_bkp/primary_%U';
    backup current controlfile for standby format '/dboracle/orbit_pr_bkp/primary_cntl.bkp';
    oracle@apl06635orbvu1:/dboracle/orbit_pr_bkp>ls -ltr
    total 51652
    -rw-r----- 1 oracle dba 11972608 Jan 7 13:45 primary_0tm1h32n_1_1
    -rw-r----- 1 oracle dba 15762432 Jan 7 13:45 primary_0sm1h32n_1_1
    -rw-r----- 1 oracle dba 16785920 Jan 7 13:45 primary_0rm1h32n_1_1
    -rw-r----- 1 oracle dba 1088000 Jan 7 13:45 primary_0um1h32v_1_1
    -rw-r----- 1 oracle dba 32768 Jan 7 13:45 primary_12m1h33r_1_1
    -rw-r----- 1 oracle dba 7143424 Jan 7 13:47 primary_cntl.bkp
    On Standby, I restored the control file as below:
    RMAN> restore standby controlfile from '/dboracle/orbit_pr_bkp/primary_cntl.bkp';
    Starting restore at 10-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    output filename=/dboracle/orbit_dr/oradata/ORBIT_DR/controlfile/o1_mf_6lo6nwfr_.ctl
    output filename=/dboracle/orbit_dr/flash_recovery_area/ORBIT_DR/controlfile/o1_mf_6lo6nwky_.ctl
    Finished restore at 10-JAN-11
    But, When I am trying to restore the datafiles, RMAN is throwing error:
    RMAN> run {
    allocate channel d1 type disk format '/dboracle/orbit_pr_bkp/primary_%U';
    allocate channel d2 type disk format '/dboracle/orbit_pr_bkp/primary_%U';
    restore database;
    2> 3> 4> 5>
    released channel: ORA_DISK_1
    allocated channel: d1
    channel d1: sid=155 devtype=DISK
    allocated channel: d2
    channel d2: sid=151 devtype=DISK
    Starting restore at 10-JAN-11
    released channel: d1
    released channel: d2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 01/10/2011 05:38:56
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    What would be the correct RMAN command?
    Regards, Anirban

    After your RESTORE the (standby) controlfile, you must MOUNT the database instance with "ALTER DATABASE MOUNT".
    You can also then query the controlfile with a "LIST BACKUP" or "LIST BACKUP SUMMARY" in RMAN to see if the deseired backups have been cataloged in the controlfile.
    Don't specify the format for the ALLOCATE CHANNEL when you RESTORE DATABASE. In fact, you don't need to ALLOCATE CHANNEL at all when the device type is the default value of DISK if your are on 10gR2 or above.
    Hemant K Chitale

  • RMAN - Is it possible to run Archivelog Backup while Full backup is running

    Hi,
    Our full database backups runs daily in the night. It fails whenever an archivelog backup kicks off. This happens on our big databases where backups run for long hours and we have to run the archivelog backup to backup/delete the archivelogs to maintain the archivelog destinations.
    Is there any way to run these 2 backups in parallel without both failing. We use RMAN catalog to take backups, and we get errors when resyncing of catalog happens during backup.
    We get these errors:-
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03008: error while performing automatic resync of recovery catalog
    RMAN-20033: control file sequence# too low
    and sometimes
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03008: error while performing automatic resync of recovery catalog
    ORA-00230: operation disallowed: snapshot control file enqueue unavailable
    Our archivelog destinations are not big enough to hold more than 1 days of logs and we have backups that runs for 30 hours. We have to backup and delete the archivelogs in between, while the full backup is running and right now its failing with able errors. Is there any solution or workaround I can opt for in this scenario.
    Any help is Highly appreciated. Thanks in advance for the Help.
    Thanks,
    Vish

    Your primary issue is SPACE. Allocate sufficient space to keep at a MINIMUM 4 days worth of archivelogs ONLINE.
    Use multiple channels
    you will need to test your system to see where you get optimal throughput.
    Use compression
    you will need to test your system to see where you get optimal throughput.
    Use disk-disk backups (and sweep to tape later)...
    If RAC, 11gR2 - consider ACFS (stored in ASM as well as OS accessible).
    Anything less and you could be issuing the command "alter dba update resume".
    Database management is not something that should be approached lightly... If you don't have the resources - maybe you need to trim the data or if the business requires that data volume, then the business needs to allocate sufficient resources to stay in business. Catastrophic database failures and the businesses ignorance on the importance of their data is a huge contributor business failures. At one point (not sure of the latest figures) if a business suffered such a data loss, they rarely stayed in business for more than a year.
    Storage is MUCH cheaper and the proper configuration and allocation of those resources than a company failure.
    onedbguru, CISSP.

  • It ok to compress backup files?

    Hello All,
    OS: AIX 5.2
    We are creating Oracle backup files on daily basis.
    We transfer the files to backup server.
    No we have been asked to compress files into one file.
    My question is it ok to compress backup files?
    Please note: I created a folder called backup.pax (include all seven files)
    Now I will compress this folder as
    compress backup.pax.
    Is it fine to do that?
    I am worry about recovery situation. (in case)
    DN

    how to produce compress backup via rman?
    My current script for backup is as follows:
    . $HOME/.profile
    export ORACLE_SID=sid
    rman nocatalog << EOF
    connect target
    ALLOCATE CHANNEL FOR MAINTENANCE DEVICE TYPE disk;
    configure controlfile autobackup on;
    backup database plus archivelog delete input;
    delete noprompt obsolete;
    exit
    EOF

Maybe you are looking for