Archive backup issue

Hi ,
We are taking archive backup using rman but all the archive is not deleted after backup.only few archive is delete
Please help on this
OS is window and database verion is 10g
Below is the script for takinhg a backup
run
sql 'ALTER SYSTEM ARCHIVE LOG CURRENT';
allocate channel CH01 type 'sbt_tape';
send 'NB_ORA_POLICY=N10-NDLORADB02-DB-Oracle-billhost-Archive-Full-Backup-Daily,NB_ORA_SERV=CNDBBKPRAPZT33,NB_ORA_CLIENT=NDLORADB02,NB_ORA_SCHED=Default-Application-Backup';
backup filesperset 20 format 'ARC%S_%R.%T' (archivelog like 'T:\ARCHIVE\ARC%');
backup format 'cf_%d_%U_%t' current controlfile tag='backup_controlfile';
delete noprompt archivelog all backed up 1 times to sbt_tape ;
release channel CH01;
Regards
Gaurav

No evidence with respect to your assertion exists in your post.
These two commands
backup filesperset 20 format 'ARC%S_%R.%T' (archivelog like 'T:\ARCHIVE\ARC%');
delete noprompt archivelog all backed up 1 times to sbt_tape ;are potentially contradictory, but as you also don't provide the log_archive_format parameter who can tell.
This forum is about providing help. In order to be able to help people asking help need to provide sufficient information.
You don't ask for help, you ask to solve a riddle, without providing a webcam.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • RMAN BACKUPS AND ARCHIVED LOG ISSUES

    제품 : RMAN
    작성날짜 : 2004-02-17
    RMAN BACKUPS AND ARCHIVED LOG ISSUES
    =====================================
    Scenario #1:
    1)RMAN이 모든 archived log들을 삭제할 때 실패하는 경우.
    database는 두 개의 archive destination에 archive file을 생성한다.
    다음과 같은 스크립트를 수행하여 백업후에 archived redo logfile을 삭제한다.
    run {
    allocate channel c1 type 'sbt_tape';
    backup database;
    backup archivelog all delete input;
    Archived redo logfile 삭제 유무를 확인하기 위해 CROSSCHECK 수행시 다음과
    같은 메시지가 발생함.
    RMAN> change archivelog all crosscheck;
    RMAN-03022: compiling command: change
    RMAN-06158: validation succeeded for archived log
    RMAN-08514: archivelog filename=
    /oracle/arch/dest2/arcr_1_964.arc recid=19 stamp=368726072
    2) 원인분석
    이 문제는 에러가 아니다. RMAN은 여러 개의 arhive directory중 하나의
    directoy안에 있는 archived file들만 삭제한다. 그래서 나머지 directory안의
    archived log file들은 삭제되지 않고 남게 되는 것이다.
    3) 해결책
    RMAN이 강제로 모든 directory안의 archived log file들을 삭제하게 하기 위해서는
    여러 개의 채널을 할당하여 각 채널이 각 archive destination안의 archived file을
    백업하고 삭제하도록 해야 한다.
    이것은 아래와 같이 구현될 수 있다.
    run {
    allocate channel t1 type 'sbt_tape';
    allocate channel t2 type 'sbt_tape';
    backup
    archivelog like '/oracle/arch/dest1/%' channel t1 delete input
    archivelog like '/oracle/arch/dest2/%' channel t2 delete input;
    Scenario #2:
    1)RMAN이 archived log를 찾을 수 없어 백업이 실패하는 경우.
    이 시나리오에서 database를 incremental backup한다고 가정한다.
    이 경우 RMAN은 recover시 archived redo log대신에 incremental backup을 사용할
    수 있기 때문에 백업 후 모든 archived redo log를 삭제하기 위해 OS utility를 사용한다.
    그러나 다음 번 backup시 다음과 같은 Error를 만나게 된다.
    RMAN-6089: archive log NAME not found or out of sync with catalog
    2) 원인분석
    이 문제는 OS 명령을 사용하여 archived log를 삭제하였을 경우 발생한다. 이때 RMAN은
    archived log가 삭제되었다는 것을 알지 못한다. RMAN-6089는 RMAN이 OS 명령에 의해
    삭제된 archived log가 여전히 존재하다고 생각하고 백업하려고 시도하였을 때 발생하게 된다.
    3) 해결책
    가장 쉬운 해결책은 archived log를 백업할 때 DELETE INPUT option을 사용하는 것이다.
    예를 들면
    run {
    allocate channel c1 type 'sbt_tape';
    backup archivelog all delete input;
    두 번째로 가장 쉬운 해결책은 OS utility를 사용하여 archived log를 삭제한 후에
    다음과 같은 명령어를 RMAN prompt상에서 수행하는 것이다.
    RMAN>allocate channel for maintenance type disk;
    RMAN>change archivelog all crosscheck;
    Oracle 8.0:
         RMAN> change archivelog '/disk/path/archivelog_name' validate;
    Oracle 8i:
    RMAN> change archivelog all crosscheck ;
    Oracle 9i:
    RMAN> crosscheck archivelog all ;
    catalog의 COMPATIBLE 파라미터가 8.1.5이하로 설정되어 있으면 RMAN은 찾을 수 없는
    모든 archived log의 status를 "DELETED" 로 셋팅한다. 만약에 COMPATIBLE이 8.1.6이상으로
    설정되어 있으면 RMAN은 Repository에서 record를 삭제한다.

    Very strange, I issue following command in RMAN on both primary and standby machine, but it they don't delete the 1_55_758646076.dbf, I find in v$archived_log, this "/home/oracle/app/oracle/dataguard/1_55_758646076.dbf" had already been applied.
    RMAN> connect target /
    RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    old RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    new RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    new RMAN configuration parameters are successfully stored
    RMAN>
    ----------------------------------------------------------------------------------

  • 2008 R2: OS(systemState/C: Drive) backup issues with VSS - 0x80042316 & 0x81080101 & 0x80080005 & 2155348001

    Hi-
    Looked thru the thread related to my questions and found nothing that applies yet.
    Example:
     http://social.technet.microsoft.com/Forums/en-US/4e4472b9-8e6f-4fdc-a287-1cc8c0f6de09/windows-2008-r2-backup-fails-with-event-521-error-code-2155348001?forum=windowsbackup
    http://social.technet.microsoft.com/Forums/en-US/e8c910f7-f0dd-4613-beae-b98894fb6f23/windows-server-2008-std-backup-fails-constantly-with-error-code-2155348001?forum=windowsbackup
    Here are details of the issues....
    Backup - OS error - system image:
    External disk - USB
    Mon - Fri @ 6PM.
    Windows SystemState
    OS(C:)
    Last backup failure...
    Start time: 8/11/2014 6:01:32 PM
    End time: 8/12/2014 4:51:29 AM
    Duration: 10:49:56.4414784
    [Critical error WINIMAGE_UNABLE_VSS] Unable to create VSS snapshot
      - Additional information: Refer to the log for more details
      - Troubleshooting link:
    http://kb.backupassist.com/errormap.php?BA2512
    The backup operation stopped before completing.
    Detailed error: ERROR - The shared restore point operation failed with error (0x81000101)
    The creation of a shadow copy has timed out. Try this operation again.
    Log of files successfully backed up:
    C:\Windows\Logs\WindowsServerBackup\Backup-12-08-2014_04-41-00.log
    Log of files for which backup failed:
    C:\Windows\Logs\WindowsServerBackup\Backup_Error-12-08-2014_04-41-00.log
    NOTE:
    The errors logs are not there?
    Windows Backup timed-out before the shared protection point was created.
    ERROR - The shared restore point operation failed with error (0x81000101)
    The creation of a shadow copy has timed out. Try this operation again.
    Event Viewer Log:
    Sequence of Events...
    1.
    The Block Level Backup Engine service has successfully started.
    2.
    Backup operation that started...
    Log Name:      Application
    Source:        Microsoft-Windows-Backup
    Date:          8/12/2014 4:51:06 AM
    Event ID:      521
    Task Category: None
    Level:         Error
    Keywords:     
    User:          SYSTEM
    Computer:      mdnfile.Auxiant.local
    Description:
    The backup operation that started at '?2014?-?08?-?12T09:41:00.492000000Z' has failed because the
    Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed
    with following error code '2155348001'.
    Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.
    --> Suggestion are to check Virus scanner or consult DPM forum...
    3.
    OS Job failed with errors...( Backup Assist is 3rd party backup - wrapper round Wbadmin/Win Backup)
    Log Name:      Application
    Source:        BackupAssist
    Date:          8/12/2014 4:51:51 AM
    Event ID:      5634
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      mdnfile.Auxiant.local
    Description:
    Backup job OS backup failed with errors.
    Critical error: Unable to create VSS snapshot
    Destination: External disk
    Start time: 8/11/2014 6:01:32 PM
    End time: 8/12/2014 4:51:29 AM
    Duration: 10:49:56.4414784
    Destination: External disk
    Start time: 8/11/2014 6:01:32 PM
    End time: 8/12/2014 4:51:29 AM
    Duration: 10:49:56.4414784
    4.
    Backup Assist reports via Win backup - Snapshot in progress
    Log Name:      Application
    Source:        BackupAssist
    Date:          8/12/2014 4:52:20 AM
    Event ID:      5634
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      mdnfile.Auxiant.local
    Description:
    Backup job Data backup failed with errors.
    Ultra critical error: Volume Shadow Copy Error 0x80042316 - snapshot set in progress
    Destination: Local directory
    Start time: 8/12/2014 4:52:10 AM
    End time: 8/12/2014 4:52:12 AM
    Duration: 00:00:02.7300000
    5.
    The Block Level Backup Engine service has stopped.
    6.
    Later...we tried manually stopping VSS and SWPRV services - only VSS had the issue.
    WBengine was not running...
    C:\>sc stop swprv
    SERVICE_NAME: swprv
            TYPE               : 10  WIN32_OWN_PROCESS
            STATE              : 3  STOP_PENDING
                                    (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
            WIN32_EXIT_CODE    : 0  (0x0)
            SERVICE_EXIT_CODE  : 0  (0x0)
            CHECKPOINT         : 0x0
            WAIT_HINT          : 0x0
    C:\>sc query swprv
    SERVICE_NAME: swprv
            TYPE               : 10  WIN32_OWN_PROCESS
            STATE              : 1  STOPPED
            WIN32_EXIT_CODE    : 0  (0x0)
            SERVICE_EXIT_CODE  : 0  (0x0)
            CHECKPOINT         : 0x0
            WAIT_HINT          : 0x0
    C:\>sc query wbengine
    SERVICE_NAME: wbengine
            TYPE               : 10  WIN32_OWN_PROCESS
            STATE              : 1  STOPPED
            WIN32_EXIT_CODE    : 0  (0x0)
            SERVICE_EXIT_CODE  : 0  (0x0)
            CHECKPOINT         : 0x0
            WAIT_HINT          : 0x0
    C:\>sc query vss
    SERVICE_NAME: vss
            TYPE               : 10  WIN32_OWN_PROCESS
            STATE              : 3  STOP_PENDING
                                    (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
            WIN32_EXIT_CODE    : 0  (0x0)
            SERVICE_EXIT_CODE  : 0  (0x0)
            CHECKPOINT         : 0x0
            WAIT_HINT          : 0x0
    C:\>sc stop vss
    [SC] ControlService FAILED 1061:
    The service cannot accept control messages at this time.  
    Log Name:      Application
    Source:        VSS
    Date:          8/12/2014 9:20:33 AM
    Event ID:      8225
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      mdnfile.Auxiant.local
    Description:
    The VSS service is shutting down due to shutdown event from the Service Control Manager.
    7.
    VSS still having issues here...not stopping!
    Log Name:      Application
    Source:        VSS
    Date:          8/12/2014 9:42:33 AM
    Event ID:      11
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      mdnfile.Auxiant.local
    Description:
    Volume Shadow Copy Service information:
    The COM Server with CLSID {e579ab5f-1cc4-44b4-bed9-de0991ff0623} and name IVssCoordinatorEx2 cannot be started.
    Most likely the CPU is under heavy load. [0x80080005, Server execution failed]
    8.
    Not sure why this is started again?
    Plus a DCOM timeout...
    Log Name:      Application
    Source:        Microsoft-Windows-Backup
    Date:          8/12/2014 9:31:13 AM
    Event ID:      753
    Task Category: None
    Level:         Information
    Keywords:     
    User:          SYSTEM
    Computer:      mdnfile.Auxiant.local
    Description:
    The Block Level Backup Engine service has successfully started.
    Event Xml:
    Log Name:      System
    Source:        Microsoft-Windows-DistributedCOM
    Date:          8/12/2014 9:31:43 AM
    Event ID:      10010
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      mdnfile.Auxiant.local
    Description:
    The server {E579AB5F-1CC4-44B4-BED9-DE0991FF0623} did not register with DCOM within the required timeout.
    9.
    Lots more errors about VSS...repeating Event ID's 11 and 8193...
    Log Name:      Application
    Source:        VSS
    Date:          8/12/2014 9:42:33 AM
    Event ID:      8193
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      mdnfile.Auxiant.local
    Description:
    Volume Shadow Copy Service error: Unexpected error calling routine CoCreateInstance. 
    hr = 0x80080005, Server execution failed
    . Operation:
       Instantiating VSS server
    10.
    Then, finally stopping again...
    Log Name:      Application
    Source:        Microsoft-Windows-Backup
    Date:          8/12/2014 9:51:13 AM
    Event ID:      754
    Task Category: None
    Level:         Information
    Keywords:     
    User:          SYSTEM
    Computer:      mdnfile.Auxiant.local
    Description:
    The Block Level Backup Engine service has stopped.
    11.
    And still repeating 11 & 8193 at this point...as we write up this post.
    12.
    This was suggested by the Backup Assist - software vendor....
    A.)
    ...for 0x81080101:
    "ERROR - The shared restore point operation failed with error (0x81000101)
    The creation of a shadow copy has timed out. Try again this operation."
    If you receive the above error in your report, we have recently found a registry key which
    contains the timeout value set by Microsoft for VSS and found that you can edit this to extend it.
    To get to the registry key, open Regedit (Start > Run > Regedit) and browse to:
    "HKLM\Software\\Microsoft\\Windows NT\\CurrentVersion\\SPP\\CreateTimeout".
    Change value to 1200000 (2*10*60*1000 = 20 mins).
    The default for the timeout period is 10 mins so hopefully doubling this will give enough time to
    complete the snapshot.
    If this isn't present, you'll need to manually enter the registry key. It's a DWORD 32-bit key.
    --> NOTE: HAve not done this yet.
    B.)
    And for 0x80080005...
    http://support.microsoft.com/kb/870655/en-gb
    Our server does have high CPU load at times...
    13.
    Another post from technet mentions system volume size - here is our layout below:
    A.)
    OS/system Disk...
    DISKPART> list disk
      Disk ###  Status         Size     Free     Dyn  Gpt
      Disk 0    Online          278 GB      0 B    (System Vol = C: Drive - OS w/ Programs and batch jobs)
      Disk 1    Online         2791 GB      0 B        *    (Data drive - DFS, rsync,etc. run on D: Drive)
      Disk 2    Online         1863 GB      0 B    (USB 2/3.0 - Enclosure w/ SATA disk = 2GB formatted w/ NTFS.)
    DISKPART> detail disk
    DELL PERC H710P SCSI Disk Device
    Disk ID: CA0DEEA5
    Type   : RAID
    Status : Online
    Path   : 1
    Target : 0
    LUN ID : 0
    Location Path : PCIROOT(0)#PCI(0100)#PCI(0000)#RAID(P01T00L00)
    Current Read-only State : No
    Read-only  : No
    Boot Disk  : Yes
    Pagefile Disk  : Yes
    Hibernation File Disk  : No
    Crashdump Disk  : Yes
    Clustered Disk  : No
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      Volume 1         RECOVERY     NTFS   Partition   3072 MB  Healthy    System
      Volume 2     C   OS           NTFS   Partition    275 GB  Healthy    Boot
    B.)
    Backup disk...
    ST320006 41AS USB Device
    Disk ID: 801AF48C
    Type   : USB
    Status : Online
    Path   : 0
    Target : 0
    LUN ID : 0
    Location Path : UNAVAILABLE
    Current Read-only State : No
    Read-only  : No
    Boot Disk  : No
    Pagefile Disk  : No
    Hibernation File Disk  : No
    Crashdump Disk  : No
    Clustered Disk  : No
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      Volume 4     F   BACKUPS      NTFS   Partition   1863 GB  Healthy
    C.)
    NOTE:
    Also on disk 0(system Disk) - we have a small OEM partition = 39MB and a Recovery Partition = 3GB.
    D.)
    Issues with WBAdmin now...
    C:\>wbadmin get disks
    wbadmin 1.0 - Backup command-line tool
    (C) Copyright 2004 Microsoft Corp.
    ERROR - A Volume Shadow Copy Service operation error has
    occurred: (0x80042302)
    A Volume Shadow Copy Service component encountered an unexpected error.
    Check the Application event log for more information.
    14.
    Ran "Check-Disk" -no errors...
    C:\>chkdsk
    The type of the file system is NTFS.
    The volume is in use by another process. Chkdsk
    might report errors when no corruption is present.
    Volume label is OS.
    WARNING!  F parameter not specified.
    Running CHKDSK in read-only mode.
    CHKDSK is verifying files (stage 1 of 3)...
      116224 file records processed.
    File verification completed.
      654 large file records processed.
      0 bad file records processed.
      0 EA records processed.
      76 reparse records processed.
    CHKDSK is verifying indexes (stage 2 of 3)...
      156676 index entries processed.
    Index verification completed.
      0 unindexed files scanned.
      0 unindexed files recovered.
    CHKDSK is verifying security descriptors (stage 3 of 3)...
      116224 file SDs/SIDs processed.
    Security descriptor verification completed.
      20227 data files processed.
    CHKDSK is verifying Usn Journal...
      35628352 USN bytes processed.
    Usn Journal verification completed.
    Windows has checked the file system and found no problems.
     289233919 KB total disk space.
     100241492 KB in 85477 files.
         57380 KB in 20228 indexes.
             0 KB in bad sectors.
        226627 KB in use by the system.
         65536 KB occupied by the log file.
     188708420 KB available on disk.
          4096 bytes in each allocation unit.
      72308479 total allocation units on disk.
      47177105 allocation units available on disk.
    15.
    There are no backup error logs here - only .etl files...
    C:\Windows\Logs\WindowsServerBackup\
    Wbadmin.1.etl = 9:42AM on 8/12
    Wbadmin.2.etl = 4:51AM on 8/12
    Per windows Win troubleshooting:
    http://technet.microsoft.com/en-us/library/ee692290(WS.10).aspx
    http://blogs.technet.com/b/filecab/archive/2009/09/16/diagnosing-failures-in-windows-server-backup-part-1-vss-spp-errors.aspx
    --> Related to Windows backup and not VSS?
    2155348001 - 0x80780021 - Windows Backup timed-out before the shared protection point was created.
    Should we run the "FIXVSS08.BAT" script - restarts services and re-registers DLL's - does this ever help?
    Will this server need a reboot since VSS is in a state and we can't even test backups?
    Is there a tool we can use to debug VSS or troubleshoot or OS backups further?
    MSReport/Diag, VSS debugging, or another way of helping fix our OS(SystemState/C: drive) backup issues?
    Any help is greatly appreciated - thx.
    -SP
    Scot Pichelman

    Hi Scot,
    Sometimes a third party backup application will change the default VSS provider adding VSS writers which causes Windows Server Backup using an incorrect component in doing backup, that's why I suggest to delete it for a test. Anyway you can reinstall it
    after testing.
    And as you said a high-load CPU could also be the cause of the issue so you may need to first rule hardware effective out.
    If issue still exists, please try the steps below as well:
    1. Please check DCOM Server Process Launcher service is started.
    2. If not, try to change RPC service to run as SYSTEM account. To do this please modify the following key:
    Note: Backup the key before edit incase it cause any issue.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\RpcSs\
    Find "ObjectName" and change the value to LocalSystem.
    Reboot to see if DCOM back to work and if Windows Server Backup starts working. If not, please provide the result if there is any new error occurs.
    If DCOM still not work, please compare the content of the following key with a working server:
    HKEY_LOCAL_MACHINE\Software\Microsoft\OLE
    Edit if there is any difference and make sure you created a backup of the key before editing. 
    If you have any feedback on our support, please send to [email protected]

  • RMAN archive backup takes more than 1 hour.

    Hello,
    We execute the following command from HP Data Protector 5.50 in order to backup archives from an Oracle 8.1.7 database running in HP-UX 11.00:
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=inf,OB2BARLIST=Oracle_Archivers_Inf)';
    allocate channel 'dev_1' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=inf,OB2BARLIST=Oracle_Archivers_Inf)';
    allocate channel 'dev_2' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=inf,OB2BARLIST=Oracle_Archivers_Inf)';
    sql 'alter system switch logfile'
    sql 'alter system archive log current'
    backup
    filesperset 1
    format 'Oracle_Archivers_Inf<inf_%s:%t:%p>.dbf'
    archivelog until time 'SYSDATE-2'
    delete input;
    backup
    filesperset 1
    format 'Oracle_Archivers_Inf<inf_%s:%t:%p>.dbf'
    archivelog all;
    This process takes more than 2 hours for just 3 GB and we don't think this is network issue.
    Is our RMAN command doing more thinks than just archives backup?
    Almost at the end of backup we get following message:
    Default exp binary /INF/oracle/app/product/8.1.7/bin/exp/ is used for catalog export.
    Does this message mean an export is done at the end of archive backup?
    Note that message belongs it is more than 2 hours later.
    Thanks in advance for your help.
    Regards,
    Carles

    Yes, it appears one of your utilities is doing an export backup, check HP Data Protector settings.
    -- and/or -- you are having tape problems: ... type[b] 'sbt_tape'

  • Archive Backup Failure in Quality Server

    Hello Guru's
    Since morning archive backup failure in our quality server.
    I am attaching log  for your reference, Please guide us to resolve this issue
    BR0002I BRARCHIVE 6.40 (50)                                                                               
    BR0006I Start of offline redo log processing: aeardegy.svd 2009-05-28 07.08.28                                                  
    BR0484I BRARCHIVE log file: /oracle/QBS/saparch/aeardegy.svd                                                                    
    BR0252W Function remove() failed for '/oracle/QBS/920_64/dbs/sap.ora' at location BrInitOraCreate-1                             
    BR0253W errno 13: Permission denied                                                                               
    BR0252W Function fopen() failed for '/oracle/QBS/920_64/dbs/initQBS.ora' at location BrInitOraCopy-2                            
    BR0253W errno 13: Permission denied                                                                               
    BR0101I Parameters                                                                               
    Name                           Value                                                                               
    oracle_sid                     QBS                                                                               
    oracle_home                    /oracle/QBS/920_64                                                                               
    oracle_profile                 /oracle/QBS/920_64/dbs/initQBS.ora                                                               
    sapdata_home                   /oracle/QBS                                                                               
    sap_profile                    /oracle/QBS/920_64/dbs/initQBS.sap                                                               
    backup_dev_type                util_file                                                                               
    util_par_file                  /oracle/QBS/920_64/dbs/initQBS.utl                                                               
    archive_dupl_del               only                                                                               
    system_info                    oraqbs/oracbs bascop08 AIX 3 5 00396F7C4C00                                                      
    oracle_info                    QBS 9.2.0.7.0 8192 423 5563906655                                                                
    sap_info                       640 SAPR3 QBS W1421187153 R3_ORA 0020121351                                                      
    make_info                      rs6000_64 OCI_920 Oct 11 2008                                                                    
    command_line                   brarchive -u system/******** -c -d util_file -sd                                                 
    BR0252E Function fopen() failed for '/oracle/QBS/saparch/archQBS.log' at location arch_last_get-1                               
    BR0253E errno 13: Permission denied                                                                               
    BR0016I 0 offline redo log files processed, total size 0.000 MB                                                                 
    BR0252W Function fopen() failed for '/oracle/QBS/saparch/archQBS.log' at location BrCleanup-8                                   
    BR0253W errno 13: Permission denied                                                                               
    BR0121W Processing of log file /oracle/QBS/saparch/archQBS.log failed                                                           
    BR0007I End of offline redo log processing: aeardegy.svd 2009-05-28 07.08.29                                                    
    BR0280I BRARCHIVE time stamp: 2009-05-28 07.08.29                                                                               
    BR0005I BRARCHIVE terminated with errors                                                                               
    Thanks & Regards
    Shishir

    Hello Shishir,
    It looks as if the issue is with the permissions of saparch directory,
    Check the permissions of oracle/QBS/saparch/archQBS and /oracle/QBS/920_64 oracle_profile /oracle/QBS/920_64/dbs/initQBS.ora  directories and compare with the production server
    Also make sure that initQBS.ora is present in the location specified
    Rohit

  • Exchange backup issues

    Exchange 2010 SP3 rollup4
    4 Server DAG all servers running Windows 2008 R2 (VMs on VMware esxi5.1) 4 databases (2 mailbox, 2 online archives)
    Last week 2 databases backup stopped truncating the logs, Mailbox 1 and Online Archive 1. (Mailbox 2 and Online Archive 2 seem to be OK and are backing up OK)
    On investigation there are a number of errors in the application log:
    Log Name:     
    Application
    Source:       
    MSExchangeRepl
    Date:         
    05/06/2014 21:50:48
    Event ID:     
    2156
    Task Category: Service
    Level:        
    Error
    Keywords:     
    Classic
    User:         
    N/A
    Computer:     
    Exchangeserver1
    Description:
    The log copier for database 'Online Archive 1' could not send a log file to server 'EXCHANGESERVER2' because An I/O error occurred while attempting to access file 'L:\Exchange Logs\Online
    Archive 1\E05.log' on source server EXCHANGESERVER1. Error: File not found (-1811)
    Event Xml:
    <Data>An I/O error occurred while attempting to access file 'L:\Exchange Logs\Online Archive 1\E05.log' on source server EXCHANGESERVER1. Error: File not found (-1811)</Data>
    Log Name:     
    Application
    Source:       
    MSExchange Search Indexer
    Date:         
    05/06/2014 21:50:48
    Event ID:     
    118
    Task Category: General
    Level:        
    Warning
    Keywords:     
    Classic
    User:         
    N/A
    Computer:     
    Exchangeserver1
    Description:
    Exchange Search Indexer has temporarily disabled indexing of the mailbox database Online Archive 1 (GUID = ee385d93-918f-470e-b57b-a87d7e23ed20) due to an error (Microsoft.Mapi.MapiExceptionMdbOffline:
    MapiExceptionMdbOffline: Unable to read events. (hr=0x80004005, ec=1142)
    Diagnostic context:
    Lid: 33865 
    Lid: 1494    ---- Remote Context Beg ----
    Lid: 44215 
    Lid: 60049   StoreEc: 0x8004010F
    Lid: 49469 
    Lid: 65341   StoreEc: 0x8004010F
    Lid: 56125 
    Lid: 47933   StoreEc: 0x8004010F
    Lid: 32829 
    Lid: 49213   StoreEc: 0x8004010F
    Lid: 48573 
    Lid: 64957   StoreEc: 0x8004010F
    Lid: 20057   StoreEc: 0x476    
    Lid: 1750    ---- Remote Context End ----
    Lid: 28777   StoreEc: 0x476    
    Lid: 20098 
    Lid: 20585   StoreEc: 0x476    
    at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
    at Microsoft.Mapi.MapiEventManager.ReadEvents(Int64 startCounter, Int32 eventCountWanted, Int32 eventCountToCheck, Restriction filter, ReadEventsFlags flags, Boolean includeSid, Int64& endCounter)
    at Microsoft.Exchange.Search.RetriableOperations.ReadEvents(ThreadLocalCrawlData unused1, MapiEventManager eventManager, Int64 watermark, Int32 eventCount, Int64& endCounter)
    at Microsoft.Exchange.Search.RetriableOperations.DoRetriableMapiOperation[SourceType,ReturnType,Parameter1Type,Parameter2Type,Parameter3Type](ThreadLocalCrawlData crawlData, SourceType source, Parameter1Type parameter1, Parameter2Type parameter2, Parameter3Type&
    parameter3, MapiOperationDelegate`5 operationDelegate)
    at Microsoft.Exchange.Search.NotificationWatcher.GetMapiEvents(Int32 maxEvents, NotificationQueue notificationQueue, Int64& endCount)
    at Microsoft.Exchange.Search.NotificationWatcher.NotificationWatcherThread()), and Operations Manager would never alert it.
    Log Name:     
    Application
    Source:       
    MSExchangeRepl
    Date:         
    05/06/2014 21:50:52
    Event ID:     
    4082
    Task Category: Service
    Level:        
    Error
    Keywords:     
    Classic
    User:         
    N/A
    Computer:     
    Exchangeserver1
    Description:
    The replication network manager encountered an error while monitoring events. Error: Microsoft.Exchange.Cluster.Replay.AmClusterApiException: An Active Manager operation failed. Error
    An error occurred while attempting a cluster operation. Error: Cluster API '"OpenCluster(Exchangeserver1) failed with 0x6d9. Error: There are no more endpoints available from the endpoint mapper"' failed.. ---> System.ComponentModel.Win32Exception:
    There are no more endpoints available from the endpoint mapper
    --- End of inner exception stack trace ---
    at Microsoft.Exchange.Cluster.Replay.NetworkManager.DriveMapRefresh()
    at Microsoft.Exchange.Cluster.Replay.NetworkManager.TryDriveMapRefresh()
    Event Xml:
    Log Name:     
    Application
    Source:       
    ESE
    Date:         
    05/06/2014 21:51:15
    Event ID:     
    489
    Task Category: General
    Level:        
    Error
    Keywords:     
    Classic
    User:         
    N/A
    Computer:     
    Exchangeserver1
    Description:
    msexchangerepl (2448) An attempt to open the file "O:\Mailbox Databases\Online Archive 1\Online Archive 1.edb" for read only access failed with system error 32 (0x00000020):
    "The process cannot access the file because it is being used by another process. ". 
    The open file operation will fail with error -1032 (0xfffffbf8).
    For more information, click http://www.microsoft.com/contentredirect.asp.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="ESE" />
    <EventID Qualifiers="0">489</EventID>
    <Level>2</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-06-05T20:51:15.000000000Z" />
    <EventRecordID>7392312</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Exchangeserver1</Computer>
    <Security />
    </System>
    <EventData>
    <Data>msexchangerepl</Data>
    <Data>2448</Data>
    <Data>
    </Data>
    <Data>O:\Mailbox Databases\Online Archive 1\Online Archive 1.edb</Data>
    <Data>-1032 (0xfffffbf8)</Data>
    <Data>32 (0x00000020)</Data>
    <Data>The process cannot access the file because it is being used by another process. </Data>
    </EventData>
    </Event>
    Log Name:     
    Application
    Source:       
    MSExchangeRepl
    Date:         
    05/06/2014 21:51:15
    Event ID:     
    4107
    Task Category: Service
    Level:        
    Error
    Keywords:     
    Classic
    User:         
    N/A
    Computer:     
    Exchangeserver1
    Description:
    The Microsoft Exchange Replication service detected that database 'Online Archive 1' may be mounted on two servers. The copy on server 'EXCHANGESERVER1' will now be dismounted. Please
    review the event logs for more information.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="MSExchangeRepl" />
    <EventID Qualifiers="49156">4107</EventID>
    <Level>2</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-06-05T20:51:15.000000000Z" />
    <EventRecordID>7392314</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Exchangeserver1</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Online Archive 1</Data>
    <Data>EXCHANGESERVER1</Data>
    </EventData>
    </Event>
    Log Name:     
    Application
    Source:       
    MSExchangeRepl
    Date:  
           05/06/2014 21:51:15
    Event ID:     
    2070
    Task Category: Service
    Level:        
    Error
    Keywords:     
    Classic
    User:         
    N/A
    Computer:     
    Exchangeserver1
    Description:
    The Microsoft Exchange Replication service encountered an error while inspecting the logs and database for Online Archive 1\EXCHANGESERVER1 on startup. Error: File check failed : File
    'O:\Mailbox Databases\Online Archive 1\Online Archive 1.edb' could not be opened. 
    The file is locked or in use.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="MSExchangeRepl" />
    <EventID Qualifiers="49156">2070</EventID>
    <Level>2</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-06-05T20:51:15.000000000Z" />
    <EventRecordID>7392315</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Exchangeserver1</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Online Archive 1\EXCHANGESERVER1</Data>
    <Data>File check failed : File 'O:\Mailbox Databases\Online Archive 1\Online Archive 1.edb' could not be opened. 
    The file is locked or in use.</Data>
    </EventData>
    </Event>
    Log Name:     
    Application
    Source:       
    ESE
    Date:         
    05/06/2014 21:51:45
    Event ID:     
    489
    Task Category: General
    Level:        
    Error
    Keywords:     
    Classic
    User:         
    N/A
    Computer:     
    Exchangeserver1
    Description:
    msexchangerepl (2448) An attempt to open the file "O:\Mailbox Databases\Online Archive 1\Online Archive 1.edb" for read only access failed with system error 32 (0x00000020):
    "The process cannot access the file because it is being used by another process. ". 
    The open file operation will fail with error -1032 (0xfffffbf8).
    For more information, click http://www.microsoft.com/contentredirect.asp.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="ESE" />
    <EventID Qualifiers="0">489</EventID>
    <Level>2</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-06-05T20:51:45.000000000Z" />
    <EventRecordID>7392316</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Exchangeserver1</Computer>
    <Security />
    </System>
    <EventData>
    <Data>msexchangerepl</Data>
    <Data>2448</Data>
    <Data>
    </Data>
    <Data>O:\Mailbox Databases\Online Archive 1\Online Archive 1.edb</Data>
    <Data>-1032 (0xfffffbf8)</Data>
    <Data>32 (0x00000020)</Data>
    <Data>The process cannot access the file because it is being used by another process. </Data>
    </EventData>
    </Event>
    Log Name:     
    Application
    Source:       
    MSExchange Search Indexer
    Date:         
    05/06/2014 21:51:50
    Event ID:     
    108
    Task Category: General
    Level:        
    Information
    Keywords:     
    Classic
    User:         
    N/A
    Computer:     
    Exchangeserver1
    Description:
    Exchange Search Indexer has enabled indexing for the Mailbox Database Online Archive 1 (GUID = ee385d93-918f-470e-b57b-a87d7e23ed20).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="MSExchange Search Indexer" />
    <EventID Qualifiers="16388">108</EventID>
    <Level>4</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-06-05T20:51:50.000000000Z" />
    <EventRecordID>7392320</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Exchangeserver1</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Online Archive 1</Data>
    <Data>ee385d93-918f-470e-b57b-a87d7e23ed20</Data>
    </EventData>
    </Event>
    Log Name:     
    Application
    Source:       
    ExchangeStoreDB
    Date:         
    05/06/2014 21:52:00
    Event ID:     
    124
    Task Category: Database recovery
    Level:        
    Error
    Keywords:     
    Classic
    User:         
    N/A
    Computer:     
    Exchangeserver1
    Description:
    At '05/06/2014 21:51:15' the Exchange Information Store Database 'Online Archive 1' copy on this server encountered an error. Consult the event log on the server for other "ExchangeStoreDb"
    or "msexchangeRepl" events that may identify the specific failure. The Replication Service will automatically attempt to retry.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="ExchangeStoreDB" />
    <EventID Qualifiers="49156">124</EventID>
    <Level>2</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-06-05T20:52:00.000000000Z" />
    <EventRecordID>7392327</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Exchangeserver1</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Online Archive 1</Data>
    <Data>ee385d93-918f-470e-b57b-a87d7e23ed20</Data>
    <Data>Replay</Data>
    <Data>AlertOnly</Data>
    <Data>Online Archive 1</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>05/06/2014 21:51:15</Data>
    </EventData>
    </Event>
    These seem to repeat until a log entry:
    Log Name:     
    Application
    Source:       
    MSExchangeIS
    Date:         
    05/06/2014 22:14:38
    Event ID:     
    9617
    Task Category: Exchange VSS Writer
    Level:        
    Error
    Keywords:     
    Classic
    User:         
    N/A
    Computer:     
    Exchangeserver1
    Description:
    Exchange VSS Writer (instance ae29b16e-11b9-4f2d-b2eb-a544d0927d87:2) failed with error code -2147221233 when processing the backup completion event.
    I thought it was a backup issue but Veeam have investigated and have said it is a VSS timeout issue (I'm not convinced)
    Recently I have had to have a new logs drive and extend the size of the mail box drive but since those changes were made backup has run OK until this issues.
    Any advice appreciated.

    Hi,
    Based on my research, when Veeam takes the snapshot to then do a VSS backup it will cause the databases in the DAG to fail over and cause lots of alerts and we can modify the REM for the backup issue:
    http://desktopfeedbag.com/2012/02/23/fixed-exchange-2010-sp1sp2-dag-fail-over-with-veeam/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
    sure that you completely understand the risk before retrieving any suggestions from the above link.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Log file sync  during RMAN archive backup

    Hi,
    I have a small question. I hope someone can answer it.
    Our database(cluster) needs to have a response within 0.5 seconds. Most of the time it works, except when the RMAN backup is running.
    During the week we run one time a full backup, every weekday one incremental backup, every hour a controlfile backup and every 15 minutes an archival backup.
    During a backup reponse time can be much longer then this 0.5 seconds.
    Below an typical example of responsetime.
    EVENT: log file sync
    WAIT_CLASS: Commit
    TIME_WAITED: 10,774
    It is obvious that it takes very long to get a commit. This is in seconds. As you can see this is long. It is clearly related to the RMAN backup since this kind of responsetime comes up when the backup is running.
    I would like to ask why response times are so high, even if I only backup the archivelog files? We didn't have this problem before but suddenly since 2 weeks we have this problem and I can't find the problem.
    - We use a 11.2G RAC database on ASM. Redo logs and database files are on the same disks.
    - Autobackup of controlfile is off.
    - Dataguard: LogXptMode = 'arch'
    Greetings,

    Hi,
    Thank you. I am new here and so I was wondering how I can put things into the right category. It is very obvious I am in the wrong one so I thank the people who are still responding.
    -Actually the example that I gave is one of the many hundreds a day. The respone times during the archive backup is most of the time between 2 and 11 seconds. When we backup the controlfile with it, it is for sure that these will be the response times.
    -The autobackup of the controfile is put off since we already have also a backup of the controlfile every hour. As we have a backup of archivefiles every 15 minutes it is not necessary to also backup the controlfile every 15 minutes, specially if that even causes more delay. Controlfile is a lifeline but if you have properly backupped your archivefiles, a full restore with max 15 minutes of data loss is still possible. We put autobackup off since it is severely in the way of performance at the moment.
    As already mentioned for specific applications the DB has to respond in 0,5 seconds. When it doesn’t happen then an entry will be written in a table used by that application. So I can compare the time of failure with the time of something happening. The times from the archivelog backup and the failure match in 95% of the cases. It also show that log file sync at that moment is also part of this performance issue. I actually built a script that I used for myself to determine out of the application what the cause is of the problem;
    select ASH.INST_ID INST,
    ASH.EVENT EVENT,
    ASH.P2TEXT,
    ASH.WAIT_CLASS,
    DE.OWNER OWNER,
    DE.OBJECT_NAME OBJECT_NAME,
    DE.OBJECT_TYPE OBJECT_TYPE,
    ASH.TIJD,
    ASH.TIME_WAITED TIME_WAITED
    from (SELECT INST_ID,
    EVENT,
    CURRENT_OBJ#,
    ROUND(TIME_WAITED / 1000000,3) TIME_WAITED,
    TO_CHAR(SAMPLE_TIME, 'DD-MON-YYYY HH24:MI:SS') TIJD,
    WAIT_CLASS,
    P2TEXT
    FROM gv$active_session_history
    WHERE PROGRAM IN ('yyyyy', 'xxxxx')) ASH,
    (SELECT OWNER, OBJECT_NAME, OBJECT_TYPE, OBJECT_ID FROM DBA_OBJECTS) DE
    WHERE DE.OBJECT_id = ASH.CURRENT_OBJ#
    AND ASH.TIME_WAITED > 2
    ORDER BY 8,6
    - Our logfiles are 250M and we have 8 groups of 2 members.
    - Large pool is not set since we use memory_max_target and memory_target . I know that Oracle maybe doesn’t use memory well with this parameter so it is truly a thing that I should look into.
    - I looked for the size of the logbuffer. Actually our logbuffer is 28M which in my opinion is very large so maybe I should put it even smaller. It is very well possible that the logbuffer is causing this problem. Thank you for the tip.
    - I will also definitely look into the I/O. Eventhough we work with ASM on raid 10 I don’t think it is wise to put redo logs and datafiles on the same disks. Then again, it is not installed by me. So, you are right, I have to investigate.
    Thank you all very much for still responding even if I put this in the totally wrong category.
    Greetings,

  • Archive Backup procedure & Advantage

    Hi,
    We want to configure archive backup. As well as, we want to know something about archive backup so could anyone help & explain following inquiry.
    1)How to configure archive backup.
    2)what is the advantages of this backup.
    3)When does it require & perform.
    4)Can it be configured both way (SAP & Database)
    Our System Information:
    SAP ECC6
    Database : DB2 9.1
    Regards
    Abhijit

    Hi,
    I didn't get any feedback regarding my issue.
    Regards
    Abhijit

  • Archive Backup job failing with no error

    Hi All,
    Can anybody help me to fix the backup issue. please find the rman log below and help me to fix this.
    Script /opt/rman_script/st80_oracle_arch.sh
    ==== started on Fri Jun 28 11:05:11 SGT 2013 ====
    RMAN: /OraBase/V10203/bin/rman
    ORACLE_SID: ST801
    ORACLE_USER: oracle
    ORACLE_HOME: /OraBase/V10203
    NB_ORA_SERV: zsswmasb
    NB_ORA_POLICY: bsswst80_archlog_daily
    Sun Microsystems Inc. SunOS 5.10 Generic January 2005
    You have new mail.
    Script /opt/rman_script/st80_oracle_arch.sh
    ==== ended in error on Fri Jun 28 11:05:11 SGT 2013 ====
    Thanks,
    Nayab

    Hi Sarat,
    Hope it has got solved now it was due to the archive log full causing it to hung it worked after my system admin moving few logs manually.
    Thanks,
    Nayab

  • Archive Deletion Issue

    Hi,
    I have the following archive backup and maintenence scripts configured in my cron which run on a daily basis. How ever of late I faced an issue where in the archive destination got filled up. On check I found that there were archives that were older than 10 days in my system and I had to manually cross check them and get them deleted. Where as I expect not more than 3 days old archives to be available.
    But I fail to understand as why those archive got piled up in the system where as they had to get deleted anyways by the maintenence script?
    Only one thing I remember is that I had some network issue and the crons had not run for 5 days after which it had started to work.
    Can some one tell me if there is any flaw in the script or configuration? Appreciate your help...
    My Backup Script:
    run
    allocate channel n1t11 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/u/app/admin/ut.../tdpo.opt)';
    allocate channel n2t22 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/u/app/admin/ut.../tdpo.opt)';
    allocate channel n3t33 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/u/app/admin/ut.../tdpo.opt)';
    allocate channel n4t44 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/u/app/admin/ut.../tdpo.opt)';
    sql 'alter system archive log current';
    backup archivelog all format 'archbkp_%d_set%s_piece%p_%T_%U';
    +++++++++++++++++++++++++++++++++++++
    My Maintenance Script:
    run
    allocate channel n1t1 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/u/app/admin/ut.../tdpo.opt)';
    delete noprompt archivelog until time 'SYSDATE-2' backed up 1 times to device type sbt_tape;
    crosscheck backup of database completed before 'SYSDATE-10';
    crosscheck backup of ARCHIVELOG ALL completed before 'SYSDATE-2';
    crosscheck backup of controlfile completed before 'SYSDATE-10';
    crosscheck backup of spfile completed before 'SYSDATE-10';
    delete noprompt expired backup of database completed before 'SYSDATE-10' device type sbt_tape;
    delete noprompt expired backup of archivelog all completed before 'SYSDATE-2' device type sbt_type;
    delete noprompt expired backup of controlfile;
    delete noprompt expired backup of spfile;
    delete noprompt obsolete recovery window of 10 days device type 'SBT_TAPE';
    release channel n1t1;
    +++++++++++++++++++++++++++++++++++++
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 10 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'ENV=(TDPO_OPTFILE=/u/app/admin/ut.../tdpo.opt)';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u/app/oracle/ut.../snapcf_name.f'; # default

    Hi,
    I have the following archive backup and maintenence scripts configured in my cron which run on a daily basis. How ever of late I faced an issue where in the archive destination got filled up. On check I found that there were archives that were older than 10 days in my system and I had to manually cross check them and get them deleted. Where as I expect not more than 3 days old archives to be available.
    But I fail to understand as why those archive got piled up in the system where as they had to get deleted anyways by the maintenence script?
    Only one thing I remember is that I had some network issue and the crons had not run for 5 days after which it had started to work.
    Can some one tell me if there is any flaw in the script or configuration? Appreciate your help...
    My Backup Script:
    run
    allocate channel n1t11 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/u/app/admin/ut.../tdpo.opt)';
    allocate channel n2t22 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/u/app/admin/ut.../tdpo.opt)';
    allocate channel n3t33 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/u/app/admin/ut.../tdpo.opt)';
    allocate channel n4t44 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/u/app/admin/ut.../tdpo.opt)';
    sql 'alter system archive log current';
    backup archivelog all format 'archbkp_%d_set%s_piece%p_%T_%U';
    +++++++++++++++++++++++++++++++++++++
    My Maintenance Script:
    run
    allocate channel n1t1 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/u/app/admin/ut.../tdpo.opt)';
    delete noprompt archivelog until time 'SYSDATE-2' backed up 1 times to device type sbt_tape;
    crosscheck backup of database completed before 'SYSDATE-10';
    crosscheck backup of ARCHIVELOG ALL completed before 'SYSDATE-2';
    crosscheck backup of controlfile completed before 'SYSDATE-10';
    crosscheck backup of spfile completed before 'SYSDATE-10';
    delete noprompt expired backup of database completed before 'SYSDATE-10' device type sbt_tape;
    delete noprompt expired backup of archivelog all completed before 'SYSDATE-2' device type sbt_type;
    delete noprompt expired backup of controlfile;
    delete noprompt expired backup of spfile;
    delete noprompt obsolete recovery window of 10 days device type 'SBT_TAPE';
    release channel n1t1;
    +++++++++++++++++++++++++++++++++++++
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 10 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'ENV=(TDPO_OPTFILE=/u/app/admin/ut.../tdpo.opt)';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u/app/oracle/ut.../snapcf_name.f'; # default

  • Apple to resolve my archive utility issue

    Apple has to resolve my archive utility issue with the error message  Error 32: Broken Pipe.  Apple says I have to re-install the Yosemite 10.10.2 software.  I am totally against re-installing the software for the simple reason that Archive Utility is "untar" the files with tar.gz file.  I am really unable to download and install some of the software that comes with tar.gz extension. It is really frustrating.    
    Apple has opened the case but since they told me to re-install the software which I declined and advised them to close my case.  
    I want to talk with Apple Software Engineer team but Apple said they could not connect me with their Software Engineer Team.
    With regards,
    Vasu

    So, what do you expect us to do? We can't contact the Apple Software Engineering team, either.
    If you don't want to reinstall to get Archive Utility working again, use tar in the Terminal. Type man tar at the prompt for help on using it.

  • Archive backup error

    Hi,
    we are taking archive backup for that i getting below error plz help me to resolve the error.
    BR0002I BRARCHIVE 7.00 (32)
    BR0006I Start of offline redo log processing: aecmkecv.cds 2010-02-02 10.51.45
    BR0484I BRARCHIVE log file: /oracle/KBP/saparch/aecmkecv.cds
    BR0280I BRARCHIVE time stamp: 2010-02-02 10.51.45
    BR0301E SQL error -9925 at location BrInitOraCreate-2, SQL statement:
    'CONNECT / AT PROF_CONN IN SYSOPER MODE'
    ORA-09925: Unable to create audit trail file
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 9925
    BR0303E Determination of Oracle version failed
    BR0007I End of offline redo log processing: aecmkecv.cds 2010-02-02 10.51.45
    BR0280I BRARCHIVE time stamp: 2010-02-02 10.51.46
    BR0005I BRARCHIVE terminated with errors
    kvl

    Hi kvl
    Check the parameter AUDIT_FILE_DEST.  This will point to a directory which has to exist and be writable by the orasid account.
    Do you want to have an audit trail  for you SAP database?  Are you ever going to us it?  If not, another option is to turn it off with another parameter, audit_trail = none.
    Regards
    Doug

  • SnapshotDB failed for archive backup

    hi!
    one server i manage had a power failure. now when i try to start the calendar service i get this error:
    20070528154729 - 1 Fatal Error: SnapshotDB failed for archive backup at /var/opt/SUNWics5/csdb/archive/archive_20070528
    20070528154729 - csstoredExit: Exiting with [-1].the whole log:
    20070528154726 -   caldb.berkeleydb.homedir.path  = /var/opt/SUNWics5/csdb
    20070528154726 -   caldb.berkeleydb.archive.path  = /var/opt/SUNWics5/csdb/archive
    20070528154726 -   caldb.berkeleydb.hotbackup.path  = /var/opt/SUNWics5/csdb/hotbackup
    20070528154726 -   caldb.berkeleydb.archive.enable  = 1
    20070528154726 -   caldb.berkeleydb.hotbackup.enable  = 1
    20070528154726 -   caldb.berkeleydb.hotbackup.mindays  = 3
    20070528154726 -   caldb.berkeleydb.hotbackup.maxdays  = 6
    20070528154726 -   caldb.berkeleydb.hotbackup.threshold  = 70
    20070528154726 -   caldb.berkeleydb.archive.mindays  = 3
    20070528154726 -   caldb.berkeleydb.archive.maxdays  = 6
    20070528154726 -   caldb.berkeleydb.archive.threshold  = 70
    20070528154726 -   caldb.berkeleydb.circularlogging  = no
    20070528154726 -   caldb.berkeleydb.archive.interval  = 120
    20070528154726 -   alarm.msgalarmnoticercpt  = [email protected]
    20070528154726 -   service.admin.sleeptime  = 2
    20070528154726 -   local.serveruid  = icsuser
    20070528154726 -   local.hostname  = jespre.dominio.local
    20070528154726 -   service.http.calendarhostname  = jespre.dominio.local
    20070528154726 - Reading configuration file - Done
    csstored is started
    Calendar service(s) were started
    20070528154728 - Notice: Store Archiving is Enabled
    20070528154728 - Notice: Hot Backup is Enabled
    20070528154728 -   WARNING: Removing directory [archive_20061102] from [/var/opt/SUNWics5/csdb/archive] according to system settings.
    20070528154728 -            In backup directory [/var/opt/SUNWics5/csdb/archive] we had [6] days worth of backup
    20070528154728 -            According to the system settings, we must keep between [3] and [6] days of backup
    20070528154728 -            We now have [5] days of backup in [/var/opt/SUNWics5/csdb/archive]
    20070528154728 - Creating directory [/var/opt/SUNWics5/csdb/archive/archive_20070528] 20070528154728 - ... success
    20070528154729 - Checking condition for [/var/opt/SUNWics5/csdb/archive], threshold [70], DB [257031]KB
    20070528154729 - Hotbackup on [/var/opt/SUNWics5/csdb/hotbackup] mounted on [/dev/dsk/c0d0s6]
    20070528154729 - Archivebackup on [/var/opt/SUNWics5/csdb/archive] mounted on [/dev/dsk/c0d0s6]
    20070528154729 - Checking condition for [/var/opt/SUNWics5/csdb/archive], threshold [70], DB [257031]KB
    20070528154729 - Hotbackup on [/var/opt/SUNWics5/csdb/hotbackup] mounted on [/dev/dsk/c0d0s6]
    20070528154729 - Archivebackup on [/var/opt/SUNWics5/csdb/archive] mounted on [/dev/dsk/c0d0s6]
    20070528154729 - SnapshotDB: Creating archive copy at /var/opt/SUNWics5/csdb/archive/archive_20070528
    20070528154729 - Run CheckpointDB prior to backing up the database files
    20070528154729 -        Running CheckpointDB: /opt/SUNWics5/cal/lib/../tools/unsupported/bin/db_checkpoint -1 -h /var/opt/SUNWics5/csdb 2> /tmp/csstored.checkpoint.out
    20070528154729 -        Running CheckpointDB: /opt/SUNWics5/cal/lib/../tools/unsupported/bin/db_checkpoint -1 -h /var/opt/SUNWics5/csdb 2> /tmp/csstored.checkpoint.out
    20070528154729 - Copying database files to /var/opt/SUNWics5/csdb/archive/archive_20070528
    20070528154729 -        Copying database file ics50alarms.db to /var/opt/SUNWics5/csdb/archive/archive_20070528
    20070528154729 - SnapshotDB - Copy failed to /var/opt/SUNWics5/csdb/archive/archive_20070528 for ics50alarms.db
    20070528154729 - 1 Fatal Error: SnapshotDB failed for archive backup at /var/opt/SUNWics5/csdb/archive/archive_20070528
    20070528154729 - csstoredExit: Exiting with [-1].any hint?

    long time ago, in a galaxy far away...
    i discovered that csstored.pl doesn't play very well with spanish locale (not sure with other locale).
    if i launch /opt/SUNWics5/cal/sbin/start-cal with this locale
    LANG=es_ES.UTF-8
    LC_CTYPE=es_ES.UTF-8
    LC_NUMERIC=es_ES.UTF-8
    LC_TIME="es_ES.UTF-8"
    LC_COLLATE=es_ES.UTF-8
    LC_MONETARY=es_ES.UTF-8
    LC_MESSAGES=es.UTF-8
    LC_ALL=
    i get the error described before. the i just reset LANG and LC_ALL to C and all goes well.
    thanks to truss for the inspiration.

  • Archiving digital issues

    just wondering how i archive digital issues on my iPad. Since the update, I've noticed that there isn't an "archive" button that appears next to each digital issue in the app library.

    Documentation about transaction TAANA:
    [TAANA help|http://help.sap.com/saphelp_nw2004s/helpdata/en/82/f0abb396969448a88863cd26a59182/content.htm]
    Like I mentioned earlier, I believe the information you are looking for does not exist as such.
    If I understand your question, this information is presented in each job (log), and specifically refers to the archiving object.
    Regards,
    Daniel.

  • ITunes 10.5 very slow syncing with idevices not a backup issue

    I have the latest itunes 10.5.2 installed on my 32 bit Windows 7 pc.  Ever since i upgraded my ipod 4 and iphone 4 to ios 5 it syncs very slowly with itunes (1 song aka 5 mb every 2 min and takes like 7 min to start syncing). i have tried restoring my phone and ipod with a new profile, making my ipod or iphone backup to icloud so that kills the long backup issue, reinstallled windows and just have itunes, reinstall itunes and wipeout the appledrivers then reinstall.  The devices sync fine when i use a mac that isnt mine. i also have tried outher windows pcs with no luck. im out of ideas and im tired of wating 4 hrs just for a audiobook or a movie to sync.

    Yeah seriously, I have my first gen iPhone and never had a issue with it. Blackberry always had a horrible desktop manager for the PC for YEARS and I always had to debug the issues myself for clients. Unfortunately for a lot of my clients the Blackberry is a better device for business, just horrible desktop software.
    Eventually I'll push my client to move over to hosted exchange server, But for right now before making that push, I need to resolve this issue with the Blackberry sync. I would hate for all the work and conversion over to the Mac to be wasted over a simple issue that possibly can be resolved by a simple setting I'm over looking.
    It's also a possibility the extremely slow syncing can be caused by years of unorganized entering of contacts, but trying to sort out over 2000 contacts would be near impossible for a person with a busy schedule.

Maybe you are looking for