RMAN with Netbackup - ALL Tape backups expired

Hello,
I am currently experiencing some issues between Netbackup and RMAN.
A bounce of the Netbackup server seems to have marked all our tape backups managed by RMAN as 'Expired'. This means RMAN can no longer locate any of the tape backups.
We have checked the rentention periods and the physical backups on the tapes and they seem to be ok. Therefore it would suggest a link problem between Netbackup and RMAN. We have tried bouncing the Netbackup servers again but this has not resolved the situation.
However sometimes the tape backups become available and but then become expired again.
I have also tried backing up to Tape since the bounce and the backup is successful, however 24 hours later it becomes expired despite Retention policy set to 4 weeks on both RMAN and Netbackup.
Please help!
Thank you

Hey;
I tried the delete obsolete; command initially. Admittedly, I didn't report that - so here's the output:
RMAN> delete obsolete;
using target database control file instead of recovery catalog
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 3 days
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=137 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=132 devtype=DISK
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Backup Set 6 10-SEP-09
Backup Piece 6 10-SEP-09 c-1369681761-20090910-00
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 07/24/2010 21:36:58
RMAN-06091: no channel allocated for maintenance (of an appropriate type)
As for the changing default device type: someone had mentioned that the default device type was disk so I changed it to tape, tried the command, failed, then switched it back.
Just to reiterate: I don't have a tape drive on this box; never did. I'm not sure how two tape backups could have gotten there in the first place.
The oracle version is:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
and the OS version is:
$ uname -r; cat /etc/redhat-release
2.6.18-128.el5xen
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
If push comes to shove, I can leave those two backups. There were a rather large number of them that I did successfully make go away. It just seems odd that I can't make these guys go away.
Thanks for the help; I appreciate it.
Doug

Similar Messages

  • RMAN restore from monthly tape backup

    hello!
    i have one more question regarding rman and tape backups: we don't want to store the rman recovery information in a separate database, so all the information is in the control files. but for revision we need to save one full backup per month. in addition to the databases we need files from different servers etc. on this tape-backups. so we decided to keep one tape set per month in a safe place -> is it possible to restore a rman backup from this tapes, e.g. 3 years afterwards (on a different machine)? thanks.
    bye,
    christian

    Hi christian,
    Can you give more info?
    As I understand it you do not want to use a recovery catalog ("we don't want to store the rman recovery information in a separate database").
    But if you store the rman backup info in the controlfile only you will limit the amount of rman information to your init parameter control_file_record_keep_time.
    Do you make rman backups to tape directly using a MML or do you make rman backups to disk which than get copied to tape (OS backup)?
    Regards,
    Tycho

  • Running rman with virtual tape speed too low(500KB/s approx)

    Hey guys, I run rman with mhvtl. but the backup speed is too low(500kB/s).
    the mhvtl debugging prints indicate that the block size is 64kB and the scsi command is running synchronous.
    does any one know how to speed up this backup operation?<smiley image='anim_crazy.gif'/>
    Thanks.
    <b>my system:</b>
    linux kernel 2.6.18
    mhvtl 0.18.17
    oracle10
    obtool 10.2
    <b>rman configure:</b>
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup1/ctl_%F';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DEVICE TYPE 'SBT_TAPE' BACKUP TYPE TO BACKUPSET PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/backup1/backup_%U';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '/backup2/backup_%U';
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' MAXOPENFILES 1 PARMS '';
    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 '/home/oracle/oracle/product/10.2.0/db_1/dbs/snapcf_orcl.f'; # default

    skoczo wrote:What services could i disable?
    anything you don't need at startup.
    If you disable systemd service from startup, you will lose some kind of functionality, and you should try to figure out yourself whether you need that functionality of not.
    If you use pulseaudio (I assume you do, since it looks like you're using gnome), you can safely disable alsa-restore.service and alsa-store.service, as pulseaudio will restore audio levels by itself.
    I've masked systemd-vconsole-setup.service myself (disabling isn't enought), since I rarely use virtual console on ttys. I don't have correct keymap on ttys but that's not a big deal for me.
    I don't think you need all those @backlight services either. I've personally masked all but one on my system.
    e4rat will most likely reduce your start up time greatly, although it's a bit of a hassle to set up.
    systemd-readahead might also help, but you should test it for yourself.
    I'm also thinking you could probably optimize your initramfs a bit, as 11s is quite long for loading kernel. At least make sure you have 'autodetect' hook enabled in mkinitcpio.conf.
    Also you can use lz4hc for compressing initramfs (COMPRESSION="lz4" and COMPRESSION_OPTIONS="-9" in mkinitcpio.conf), which should be faster on decompression than other algorithms.
    There are some more tips in arch wiki, if you didn't check it out already

  • Removing disk backups after implementing Veritas tape backups

    I was using RMAN with a catalog to backup to disk. Now we implemented RMAN backups using Veritas tape backup using the same catalog and I want to remove the old disk backups.
    When I "crosscheck backup" and "crosscheck archivelog all" then "delete obsolete" it errored with the following:
    ==================================================================
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 08/29/2005 13:53:39
    RMAN-06091: no channel allocated for maintenance (of an appropriate type)
    ================================================================
    I assume it is seeing one of the tape backups and wants to detete it.
    How can I clearout these unnecessary disk backup sets without causing any problems?
    Thank You,
    .....Kevin

    I found the solution:
    RMAN> crosscheck backup;
    RMAN> crosscheck archivelog all;
    RMAN> delete obsolete device type disk;
    -- Assuming redundency was 1 only one set is left in the disk directory...
    RMAN> list backup;
    -- Find the backup set key which lists the DISK backups.
    -- List all the BSKeys
    RMAN> delete backupset key1, key2, ..., keyn;
    -- The files are gone...

  • RMAN-05556: not all datafiles have backups that can be recovered to SCN

    Oracle 11.2.0.2 SE-One
    Oracle Linux 5.6 x86-64
    Weekly refresh of a test db from prod, using rman DUPLICATE DATABASE, failed with “RMAN-05556: not all datafiles have backups that can be recovered to SCN”
    Background Summary:
    Weekly inc 0 backup of production starts on Sunday at 0100, normally completes around 1050.  Includes backups of archivelogs
    Another backup of just archivelogs runs on Sunday at 1200, normally completes NLT 1201.
    On the test server, the refresh job starts on Sunday at 1325.  In the past this script used a set until time \"to_date('`date +%Y-%m-%d` 11:55:00','YYYY-MM-DD hh24:mi:ss')\"; -- hard-coded for ‘today at 11:55’.
    For a variety of reasons I decided to replace this semi-hard coding of the UNTIL with a value determined by querying the rman catalog, getting the completion time of the inc 0 backup.  This tested out just fine in my vbox lab, even when I deliberately drove some updates and log switches during the period the backup was running.  But the first time to go live I got the above reported error.
    Details:
    The key part of the inc 0 backup is this (run from a shell script)
    export BACKUP_LOC=/u01/backup/dbprod
    $ORACLE_HOME/bin/rman target=/ catalog rman/***@rmcat<<EOF
    configure backup optimization on;
    configure default device type to disk;
    configure retention policy to recovery window of 2 days;
    crosscheck backup;
    crosscheck archivelog all;
    delete noprompt force obsolete;
    delete noprompt force expired backup;
    delete noprompt force expired archivelog all;
    configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '$BACKUP_LOC/%d_%F_ctl.backup';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '$BACKUP_LOC/%U.rman' MAXPIECESIZE 4096 M;
    sql "alter system archive log current";
    show all;
    backup as compressed backupset archivelog all delete all input format "$BACKUP_LOC/%U.alog";
    backup as compressed backupset incremental level 0 database tag tag_dbprod;
    sql "alter system archive log current";
    backup as compressed backupset archivelog all delete all input format "$BACKUP_LOC/%U.alog";
    list recoverable backup;
    EOF
    The archivelog-only backup (runs at noon) looks like this:
    export BACKUP_LOC=/u01/backup/dbprod
    $ORACLE_HOME/bin/rman target=/ catalog rman/***@rmcat<<EOF
    configure backup optimization on;
    configure default device type to disk;
    configure retention policy to recovery window of 2 days;
    crosscheck backup;
    crosscheck archivelog all;
    delete noprompt force obsolete;
    delete noprompt force expired backup;
    delete noprompt force expired archivelog all;
    configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '$BACKUP_LOC/%d_%F_ctl.backup';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '$BACKUP_LOC/%U.rman' MAXPIECESIZE 4096 M;
    sql "alter system archive log current";
    show all;
    backup as compressed backupset archivelog all delete all input format "$BACKUP_LOC/%U.alog";
    list recoverable backup;
    EOF
    And the original refresh looked like this:
    >> a step to ftp the backups from the prod server to the test server, and some other housekeeping  <<, then
    cd /backup/dbtest
    echo "connect catalog rman/***@rmcat" >  /backup/dbtest/dbtest_refresh.rman
    echo "connect target sys/*******@dbprod" >> /backup/dbtest/dbtest_refresh.rman
    echo "connect auxiliary /"             >> /backup/dbtest/dbtest_refresh.rman
    echo "run {"                           >> /backup/dbtest/dbtest_refresh.rman
    echo "set until time \"to_date('`date +%Y-%m-%d` 11:55:00','YYYY-MM-DD hh24:mi:ss')\";"  >> /backup/dbtest/dbtest_refresh.rman
    echo "duplicate target database to DBTEST;"  >> /backup/dbtest/dbtest_refresh.rman
    echo "}" >> /backup/dbtest/dbtest_refresh.rman
    So, my mod to the refresh was
    bkup_point=`sqlplus -s rman/***@rmcat <<EOF1
    set echo off verify off feedback off head off pages 0 trimsp on
    select to_char(max(completion_time),'yyyy-mm-dd hh24:mi:ss')
    from rc_backup_set_details
    where db_name='DBPROD'
    and backup_type='D'
    and incremental_level=0
    exit
    EOF1`
    cd /backup/dbtest
    echo "connect catalog rman/***@rmcat"     > /backup/dbtest/dbtest_refresh.rman
    echo "connect target sys/*******@dbprod"    >> /backup/dbtest/dbtest_refresh.rman
    echo "connect auxiliary /"                >> /backup/dbtest/dbtest_refresh.rman
    echo "run {"                              >> /backup/dbtest/dbtest_refresh.rman
    echo "set until time \"to_date('${bkup_point}','YYYY-MM-DD hh24:mi:ss')\";"  >> /backup/dbtest/dbtest_refresh.rman
    echo "duplicate target database to DBTEST;" >> /backup/dbtest/dbtest_refresh.rman
    echo "}"                                  >> /backup/dbtest/dbtest_refresh.rman
    Now the fun begins.
    First, an echo in the refresh script confirmed the ‘bkup_point’:
    =======================================================
    We will restore to 2013-08-25 10:41:38
    =======================================================
    Internally, rman reset the ‘until’ as follows:
    executing command: SET until clause
    Starting Duplicate Db at 25-Aug-2013 15:35:44
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=162 device type=DISK
    contents of Memory Script:
       set until scn  45633141350;
    Examining the result of LIST BACKUP (the last step of all of my rman scripts) the full backup shows this:
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time    
    5506664 Full 61.89M     DISK        00:00:03     25-Aug-2013 02:11:32
            BP Key: 5506678   Status: AVAILABLE  Compressed: NO  Tag: TAG20130825T021129
    Piece Name: /u01/backup/dbprod/DBPROD_c-3960114099-20130825-00_ctl.backup
      SPFILE Included: Modification time: 24-Aug-2013 22:33:08
      SPFILE db_unique_name: DBPROD
      Control File Included: Ckp SCN: 45628880455   Ckp time: 25-Aug-2013 02:11:29
    BS Key Type LV Size       Device Type Elapsed Time Completion Time    
    5507388 Incr 0 206.03G    DISK        08:30:00     25-Aug-2013 10:41:30
      List of Datafiles in backup set 5507388
      File LV Type Ckp SCN    Ckp Time             Name
      1    0 Incr 45628880495 25-Aug-2013 02:11:38 +SMALL/dbprod/datafile/system.258.713574775
      >>>>>>>>> snip lengthy list <<<<<<<<<
      74   0 Incr 45628880495 25-Aug-2013 02:11:38 +SMALL/dbprod/event_i2.dbf
      Backup Set Copy #1 of backup set 5507388
      Device Type Elapsed Time Completion Time      Compressed Tag
      DISK        08:30:00     25-Aug-2013 10:41:36 YES        TAG_DBPROD
        List of Backup Pieces for backup set 5507388 Copy #1
        BP Key  Pc# Status      Piece Name
        5507391 1   AVAILABLE   /u01/backup/dbprod/eeoi55iq_1_1.rman
        >>>>>>>>>>>>> snip lengthy list <<<<<<<<<<<
        5507442 52  AVAILABLE   /u01/backup/dbprod/eeoi55iq_52_1.rman
    Notice the slight difference in time between what is reported in the LIST BACKUP and what was reported by my query to the catalog.
    Continuing with the backup list, the second archivelog  backup in the script generated six backupsets.  The fifth set  showed:
    BS Key Size       Device Type Elapsed Time Completion Time    
    5507687 650.19M DISK        00:02:18     25-Aug-2013 10:54:53
            BP Key: 5507694   Status: AVAILABLE  Compressed: YES  Tag: TAG20130825T104156
    Piece Name: /u01/backup/dbprod/ekoi643j_1_1.alog
      List of Archived Logs in backup set 5507687
      Thrd Seq     Low SCN    Low Time             Next SCN   Next Time
      1    1338518 45632944587 25-Aug-2013 05:58:18 45632947563 25-Aug-2013 05:58:20
        >>>>>>>>>>>>> snip lengthy list <<<<<<<<<<<
      1    1338572 45633135750 25-Aug-2013 10:08:21 45633140240 25-Aug-2013 10:08:24
      1    1338573 45633140240 25-Aug-2013 10:08:24 45633141350 25-Aug-2013 10:30:06
      1    1338574 45633141350 25-Aug-2013 10:30:06 45633141705 25-Aug-2013 10:41:51
      1    1338575 45633141705 25-Aug-2013 10:41:51 45633141725 25-Aug-2013 10:41:55
    Notice the availability of the archivelogs including the referenced scn.
    Investigation of the ftp portion of the refresh script confirmed that all backup pieces were copied from the prod server.
    So what am I overlooking?  Having reverted back to the original script to get the refresh completed,

    HemantKChitale wrote:
    So, technically, you only need the database and archivelogs backed up by the database script and not the noon run of the archivelog backup.
    backup as compressed backupset archivelog all delete all input format "$BACKUP_LOC/%U.alog";
    backup as compressed backupset incremental level 0 database tag tag_dbprod;
    sql "alter system archive log current";
    backup as compressed backupset archivelog all delete all input format "$BACKUP_LOC/%U.alog";
    Yet, why does backupset 5 of the noon archivelog backup show archivelogs from 10:30 to 10:40  if they had been deleted by the database backup script which has a delete input ?  It is as if the database backup script did NOT delete the archivelogs and the noon run was the one to backup the archivelogs (again ?)
    No, that is from the morning full backup.  Note the 'Completion Time" of 25-Aug-2013 10:54:53
    However, the error message seems to point to a datafile.  Why would reverting the recovery point to 11:55 make a difference, I wonder.
    As do I.
    Also puzzling to me are the times associated with the completion of the backups.  I don't recall ever having to scrutinize a backup listing this closely so I'm sure it's just a matter of filling in some gaps in my understanding, but I noticed this.  The backup report (list backup;) shows this for the inc 0 backup:
    BS Key  Type LV Size  
    Device Type Elapsed Time Completion Time
    5507388 Incr 0  206.03G
    DISK   
    08:30:00
    25-Aug-2013 10:41:30   ------- NOTE THE COMPLETION TIME ----
      List of Datafiles in backup set 5507388
      File LV Type Ckp SCN
    Ckp Time        
    Name
      1
    0  Incr 45628880495 25-Aug-2013 02:11:38 +SMALL/dbprod/datafile/system.258.713574775
    ------ SNIP ------
      74   0  Incr 45628880495 25-Aug-2013 02:11:38 +SMALL/dbprod/event_i2.dbf
      Backup Set Copy #1 of backup set 5507388
      Device Type Elapsed Time Completion Time 
    Compressed Tag
      DISK   
    08:30:00
    25-Aug-2013 10:41:36 YES   
    TAG_DBPROD   ------- NOTE THE COMPLETION TIME ----
    List of Backup Pieces for backup set 5507388 Copy #1
    BP Key  Pc# Status 
    Piece Name
    5507391 1   AVAILABLE   /u01/backup/dbprod/eeoi55iq_1_1.rman
    ------ SNIP ------
    5507442 52  AVAILABLE   /u01/backup/dbprod/eeoi55iq_52_1.rman
    Then the autobackup of the control file immediatly following:
    BS Key  Type LV Size  
    Device Type Elapsed Time Completion Time
    5507523 Full
    61.89M
    DISK   
    00:00:03
    25-Aug-2013 10:41:47   ------- NOTE THE COMPLETION TIME ----
    BP Key: 5507587   Status: AVAILABLE  Compressed: NO  Tag: TAG20130825T104144
    Piece Name: /u01/backup/dbprod/DBPROD_c-3960114099-20130825-01_ctl.backup
      SPFILE Included: Modification time: 25-Aug-2013 05:57:15
      SPFILE db_unique_name: DBPROD   
      Control File Included: Ckp SCN: 45633141671   Ckp time: 25-Aug-2013 10:41:44
    Then the archivelog backup immediately following (remember, this created a total of 5 backupset, I'm showing number 4)
    BS Key  Size  
    Device Type Elapsed Time Completion Time
    5507687 650.19M
    DISK   
    00:02:18
    25-Aug-2013 10:54:53   ------- NOTE THE COMPLETION TIME ----
    BP Key: 5507694   Status: AVAILABLE  Compressed: YES  Tag: TAG20130825T104156
    Piece Name: /u01/backup/dbprod/ekoi643j_1_1.alog
      List of Archived Logs in backup set 5507687
      Thrd Seq
    Low SCN
    Low Time        
    Next SCN   Next Time
      1
    1338518 45632944587 25-Aug-2013 05:58:18 45632947563 25-Aug-2013 05:58:20
    ------ SNIP ------
      1
    1338572 45633135750 25-Aug-2013 10:08:21 45633140240 25-Aug-2013 10:08:24
      1
    1338573 45633140240 25-Aug-2013 10:08:24 45633141350 25-Aug-2013 10:30:06
      1
    1338574 45633141350 25-Aug-2013 10:30:06 45633141705 25-Aug-2013 10:41:51
      1
    1338575 45633141705 25-Aug-2013 10:41:51 45633141725 25-Aug-2013 10:41:55
    and the controlfile autobackup immediately following:
    BS Key  Type LV Size  
    Device Type Elapsed Time Completion Time
    5507984 Full
    61.89M
    DISK   
    00:00:03
    25-Aug-2013 10:55:07   ------- NOTE THE COMPLETION TIME ----
    BP Key: 5508043   Status: AVAILABLE  Compressed: NO  Tag: TAG20130825T105504
    Piece Name: /u01/backup/dbprod/DBPROD_c-3960114099-20130825-02_ctl.backup
      SPFILE Included: Modification time: 25-Aug-2013 05:57:15
      SPFILE db_unique_name: DBPROD
      Control File Included: Ckp SCN: 45633142131   Ckp time: 25-Aug-2013 10:55:04
    and yet, querying the rman catalog
    SQL> select to_char(max(completion_time),'yyyy-mm-dd hh24:mi:ss')
      2  from rc_backup_set_details
      3  where db_name='DBPROD'
      4  and backup_type='D'
      5  and incremental_level=0
      6  ;
    TO_CHAR(MAX(COMPLET
    2013-08-25 10:41:38
    SQL>
    which doesn't match (to the second) the completion time of either the full backup or the associated controlfile autobackp.
    Hemant K Chitale
    I hope this posts in a readable, understandable manner.  I really struggeled with the 'enhanced editor', which I normally use.  When I pasted in blocks from the rman report, it kept trying to make some sort of table structure out of it .... guess I'll have to follow that up with a question in the Community forum ....

  • Persistent setting for rman in tape backup

    Hi,
    When your are going to take tape backup using RMAN utility, how can u control persistent settings with RMAN(show all). I meant how to set retention policy for datafile,controfile backup and archivelog as well.
    And if i choose to take incremental backup how these things are changed?? Please help me on these issue as i have some confusion with this.
    Regards,

    Hi,
    Can you please read following link: http://oit.scps.nyu.edu/~pallerm/11g/les_04_config_bu.pdf
    Thank you

  • Spfile restore from RMAN Tape backup to different server

    Hi All,
    First of all let me thank you to the forum from which I keep updating my knowledge on oracle.
    I am having issues when trying to restore spfile from controlfile autobackup to different server. Problem and other details are below:
    Target version : 10.2.0.2
    Netbackup : 6.5.6
    Taken the tape backup through rman on server ABC and trying to restore the spfile from controlfile autobackup to server XYZ. Tape backup has been taken today morning and trying restore now.
    Both servers ABC and XYX have been added (as clients) to netbackup policy.
    Below is the syntax I used for restoring spfile and getting error as mentioned.
    RMAN> run {
    2> set controlfile autobackup format for device type 'SBT_TAPE' to '%F';
    3> allocate channel ch00 device type 'sbt_tape'
    4> parms='ENV=(NB_ORA_SERV=Mediaserver,NB_ORA_CLIENT=XYZ)';
    5> restore spfile to pfile '/oracle/product/10g/dbs/inittest.ora' from
    6> autobackup maxseq 5 maxdays 3;
    7> }
    executing command: SET CONTROLFILE AUTOBACKUP FORMAT
    allocated channel: ch00
    channel ch00: sid=36 devtype=SBT_TAPE
    channel ch00: Veritas NetBackup for Oracle - Release 6.5 (2010042405)
    Starting restore at 03-AUG-2011
    channel ch00: looking for autobackup on day: 20110803
    channel ch00: looking for autobackup on day: 20110802
    channel ch00: looking for autobackup on day: 20110801
    channel ch00: no autobackup in 3 days found
    released channel: ch00
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 08/03/2011 14:03:26
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Not sure where I am doing wrong. The same can be restored onto same host (I.E ABC) without any issues .
    Request your help and guidance.
    Thanks,
    SSS

    I don't know whether you can restore to a different server. The easier way should be
    RMAN> restore spfile to pfile 'YOUR_PFILE_NAME' from autobackup;
    then copy this to the new host.
    Check this link
    restore spfile to another host
    Hope this helps

  • Error in RMAN TAPE BACKUP

    Dear Gurus,
    I got the following error in RMAN TAPE backup.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of delete command on default channel at 09/20/2011 02:36:58
    ORA-15028: ASM file '+ASMFLASH/gcprod/archivelog/2011_09_15/thread_2_seq_55857.2176.761912673' not dropped; currently being accessed
    RMAN>
    Recovery Manager complete.my RMAN BACKUP Script is:
    rman target sys/*****@gcprod1  nocatalog  << EOF
    spool log to $v_bdest/clean_catalog_TAPE.log append;
    run {
    allocate channel c1 type 'sbt_tape' parms
    'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    #crosscheck backupset;
    #crosscheck copy;
    #crosscheck archivelog all;
    # included on 21Jan2011 at 9:18 PM
    #delete noprompt expired backup;
    delete noprompt obsolete;
    #delete noprompt expired archivelog all;
    # included on 21Jan2011 at 9:18 PM
    release channel c1;
    exit
    EOFMy RMAN RETENTION POLICY IS:
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/app/oracle/product/10.2.0.1/db_1/dbs/snapcf_gcprod1.f';According to retention policy archivelogs of past 3 days should be present rest and all , i have written a script to delete and it is performing well from past 6 months, but now recently we got this error
    we have enough archivelog space.
    and the archive log pointing in this error is on 15th september archivelog.....today date is 20th september....
    My archive log was stored in asm .... i went there and saw that still 15th september archivelogs are present there.
    Please help me regarding this
    Regards,
    Vamsi.....

    For RMAN topics, please use: {forum:id=74}.

  • How to restore a table using RMAN with previous backup ?

    Hi everyone,
    we have to restore a table from 1 week previous backup using RMAN.
    Could you show me how to restore a table using RMAN with previous full backup.
    please Help me out.
    Thanks
    Info > oracle 10g, OS: AIX5L

    Hi,
    first of all you must have all the archivelogs since you want to recover your table from the previous backups.
    anyways if you want to recover your table then you need to perform incomplete recovery to the point where you loss the table for that you need to restore and recover your database.you likely to loose all the transcation which occurs to the point where you you loose your table.
    thanks..

  • BR0233E error in offline backup with netbackup

    Hi, all
    SAP ERP Central Component 5.0
    oracle 9.2.0.7.0
    Solaris 10
    Netbackup 6.0
    I have problem with recent 5 offline backups.
    Errors same in all backups
    But online backups finished successfully
    Permissions on files which have error while saving file : -rw-r-xr-x orasid dba
    Please help.. How can I fix this problem?
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/920_64/dbs/initTRP.ora
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/920_64/dbs/initTRPoffver.sap
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/920_64/dbs/initTRP.utl
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/sapreorg/spaceTRP.log
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/sapreorg/strucTRP.log
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/sapbackup/befjkdcg.aff
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/sapbackup/backTRP.log
    Edited by: Andrey Burakov on Mar 22, 2011 3:05 PM

    BR0119I Redo log files
    File                                                Size  Group     Device  Status    Link    Type
    /oracle/TRP/origlogA/log_g11m1.dbf              52429312    1     15663328  INUSE     NOLINK  FILE
    /oracle/TRP/mirrlogA/log_g11m2.dbf              52429312    1     15663328  INUSE     NOLINK  FILE
    /oracle/TRP/origlogB/log_g12m1.dbf              52429312    2     15663328  INUSE     NOLINK  FILE
    /oracle/TRP/mirrlogB/log_g12m2.dbf              52429312    2     15663328  INUSE     NOLINK  FILE
    /oracle/TRP/origlogA/log_g13m1.dbf              52429312    3     15663328  INUSE     NOLINK  FILE
    /oracle/TRP/mirrlogA/log_g13m2.dbf              52429312    3     15663328  INUSE     NOLINK  FILE
    /oracle/TRP/origlogB/log_g14m1.dbf              52429312    4     15663328  INUSE     NOLINK  FILE
    /oracle/TRP/mirrlogB/log_g14m2.dbf              52429312    4     15663328  INUSE     NOLINK  FILE
    BR0120I Control files
    File                                                Size   Id.      Device  Link    Type
    /oracle/TRP/origlogA/cntrl/cntrlTRP.dbf         17801216    0     15663328  NOLINK  FILE
    /oracle/TRP/sapdata1/system_1/cntrl/cntrlTRP.dbf   17801216    0     15663328  NOLINK  FILE
    /oracle/TRP/saparch/cntrl/cntrlTRP.dbf          17801216    0     15663328  NOLINK  FILE
    BR0616I Tablespaces in table TSORA for SAP owner SAPTRP:
    PSAPTRP, PSAPTRP640, PSAPTRPUSR
    BR0280I BRBACKUP time stamp: 2011-03-06 00.30.16
    BR0057I Backup of database: TRP
    BR0058I BRBACKUP action ID: befjkdcg
    BR0059I BRBACKUP function ID: aff
    BR0110I Backup mode: ALL
    BR0077I Database files for backup:
    /oracle/TRP/origlogA/log_g11m1.dbf
    /oracle/TRP/origlogB/log_g12m1.dbf
    /oracle/TRP/origlogA/log_g13m1.dbf
    /oracle/TRP/origlogB/log_g14m1.dbf
    /oracle/TRP/origlogA/cntrl/cntrlTRP.dbf
    BR0061I 65 files found for backup, total size 551987.447 MB
    BR0143I Backup type: offline_force
    BR0130I Backup device type: util_file
    BR0109I Files will be saved by backup utility
    BR0289I BRARCHIVE will be started at the end of processing
    BR0134I Unattended mode with 'force' active - no operator confirmation allowed
    BR0280I BRBACKUP time stamp: 2011-03-06 00.30.16
    BR0307I Shutting down database instance TRP ...
    BR0280I BRBACKUP time stamp: 2011-03-06 00.36.47
    BR0308I Shutdown of database instance TRP successful
    BR0280I BRBACKUP time stamp: 2011-03-06 00.36.48
    BR0229I Calling backup utility with function 'backup'...
    BR0278I Command output of '/usr/sap/TRP/SYS/exe/run/backint -u TRP -f backup -i /oracle/TRP/sapbackup/.befjkdcg.lst -t file -p /oracle/TRP/920_64/dbs/initTRP.utl -c':
    WARNING: sort_backup_type not specified in .utl file
    WARNING: default sort_backup_type to <size> for backup
    Program:          /usr/sap/TRP/SYS/exe/run/backint 6.0
    Input File:          /oracle/TRP/sapbackup/.befjkdcg.lst
    Profile:          /oracle/TRP/920_64/dbs/initTRP.utl
    Function:          BACKUP
    Backup Type:          BACKUP_FILE
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata1/temp_1/temp.data1
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata1/temp_2/temp.data2
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata3/trp_1/trp.data1
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata3/trp_2/trp.data2
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata3/trp_3/trp.data3
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata3/trp_4/trp.data4
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata3/trp_5/trp.data5
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_10/trp.data10
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_11/trp.data11
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_12/trp.data12
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_13/trp.data13
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_14/trp.data14
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_15/trp.data15
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_16/trp.data16
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_17/trp.data17
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_18/trp.data18
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_19/trp.data19
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_20/trp.data20
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_21/trp.data21
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_22/trp.data22
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_23/trp.data23
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_24/trp.data24
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_25/trp.data25
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_26/trp.data26
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_27/trp.data27
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_28/trp.data28
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_29/trp.data29
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_30/trp.data30
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_31/trp.data31
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_32/trp.data32
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_33/trp.data33
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_34/trp.data34
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_35/trp.data35
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_36/trp.data36
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_37/trp.data37
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_38/trp.data38
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_39/trp.data39
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_40/trp.data40
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_6/trp.data6
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_7/trp.data7
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_8/trp.data8
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp_9/trp.data9
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata1/trp640_1/trp640.data1
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata1/trp640_2/trp640.data2
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata1/trp640_3/trp640.data3
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata1/trp640_4/trp640.data4
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata1/trp640_5/trp640.data5
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata2/trp640_10/trp640.data10
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata2/trp640_6/trp640.data6
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata2/trp640_7/trp640.data7
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata2/trp640_8/trp640.data8
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata2/trp640_9/trp640.data9
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata3/trp640_11/trp640.data11
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp640_12/trp640.data12
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp640_13/trp640.data13
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp640_14/trp640.data14
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trp640_15/trp640.data15
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata4/trpusr_1/trpusr.data1
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata1/undo_1/undo.data1
    #SAVED.... VXF1299360982
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/sapdata1/system_1/system.data1
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/origlogA/log_g11m1.dbf
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/origlogB/log_g12m1.dbf
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/origlogA/log_g13m1.dbf
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/origlogB/log_g14m1.dbf
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    #FILE..... /oracle/TRP/origlogA/cntrl/cntrlTRP.dbf
    #SAVED.... VXF1299360983
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.50
    BR0232I 65 of 65 files saved by backup utility
    BR0230I Backup utility called successfully
    BR0280I BRBACKUP time stamp: 2011-03-06 06.37.52
    BR0304I Starting and opening database instance TRP ...
    BR0280I BRBACKUP time stamp: 2011-03-06 06.38.14
    BR0305I Start and open of database instance TRP successful
    BR0117I ARCHIVE LOG LIST after backup for database instance TRP
    Parameter                      Value
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            /oracle/TRP/oraarch/TRParch
    Archive format                 %t_%s.dbf
    Oldest online log sequence     165855
    Next log sequence to archive   165858
    Current log sequence           165858     SCN: 1304241241
    Database block size            8192       Thread: 1
    BR0280I BRBACKUP time stamp: 2011-03-06 06.38.14
    BR0229I Calling backup utility with function 'backup'...
    BR0278I Command output of '/usr/sap/TRP/SYS/exe/run/backint -u TRP -f backup -i /oracle/TRP/sapbackup/.befjkdcg.lst -t file -p /oracle/TRP/920_64/dbs/initTRP.utl -c':
    WARNING: sort_backup_type not specified in .utl file
    WARNING: default sort_backup_type to <size> for backup
    Program:          /usr/sap/TRP/SYS/exe/run/backint 6.0
    Input File:          /oracle/TRP/sapbackup/.befjkdcg.lst
    Profile:          /oracle/TRP/920_64/dbs/initTRP.utl
    Function:          BACKUP
    Backup Type:          BACKUP_FILE
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/920_64/dbs/initTRP.ora
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/920_64/dbs/initTRPoffver.sap
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/920_64/dbs/initTRP.utl
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/sapreorg/spaceTRP.log
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/sapreorg/strucTRP.log
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/sapbackup/befjkdcg.aff
    BR0233E Backup utility has reported an error while saving file /oracle/TRP/sapbackup/backTRP.log
    BR0280I BRBACKUP time stamp: 2011-03-06 06.41.22
    BR0279E Return code from '/usr/sap/TRP/SYS/exe/run/backint -u TRP -f backup -i /oracle/TRP/sapbackup/.befjkdcg.lst -t file -p /oracle/TRP/920_64/dbs/initTRP.utl -c': 2
    BR0232E 0 of 7 files saved by backup utility
    BR0280I BRBACKUP time stamp: 2011-03-06 06.41.22
    BR0231E Backup utility call failed
    BR0056I End of database backup: befjkdcg.aff 2011-03-06 06.41.22
    BR0280I BRBACKUP time stamp: 2011-03-06 06.41.22
    BR0054I BRBACKUP terminated with errors
    BR0280I BRBACKUP time stamp: 2011-03-06 06.41.22
    BR0291I BRARCHIVE will be started with options '-U -d util_file -c force -p initTRPoffver.sap -sd'
    BR0280I BRBACKUP time stamp: 2011-03-06 06.41.38
    BR0292I Execution of BRARCHIVE finished with return code 5

  • Cloning DB on a different server from RMAN Tape backup

    RDBMS version           : 11.2.0.2 on Solaris 10
    Media Management Layer : Netbackup v7
    I have done only backups to Tape. I have never done restore,recovery from Tape.
    We have a production DB named NEHPROD running on server qualmh214. Every Monday morning an RMAN Full backup for NEHPROD is taken to Tape.
    Production server : qualmh214        DB Name:NEHPROD
    run
    ALLOCATE CHANNEL c1 TYPE 'SBT_TAPE';
    SEND 'NB_ORA_CLIENT=qualmh214,NB_ORA_POLICY=qualmh214_rman,NB_ORA_SERV=qualmh238,NB_ORA_SCHED=Daily';
    backup database   FORMAT 'NEHPROD_%d_%U_%t.rbk' tag='NEHPROD_full';
    }I need to create a Test DB in a different server (qualmh199) by restoring directly from NEHPROD's Full backup in tape .
    From qualmh199, how can I connect to the Tape Media server ?
    Even If I do connect to the Tape media server, how can i get access to tape backups of another DB? In the RMAN run block you can't specify a DB name. Right?
    Even if I get access to another DB's backup , How can i specify which Date's Full backup I need to use to restore ?

    From qualmh199, how can I connect to the Tape Media server ?You have to allocate channels to tape & need to mention NB parameters as example below.
    in RMAN script
    ALLOCATE CHANNEL CH1 DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64';
    SEND 'NB_ORA_SERV=<server.com>, NB_ORA_CLIENT=<target.server>';
    Even If I do connect to the Tape media server, how can i get access to tape backups of another DB? In the RMAN run block you can't specify a DB name. Right?If the libraries are installed and you able to perform, you can go for either duplicate database or simple RMAN restore. You can mention other DB names also
    Ex: duplicate target database to 'test';
    Even if I get access to another DB's backup , How can i specify which Date's Full backup I need to use to restore ?You can mention TAG's if you are using RMAN restore.

  • Help with tape backup

    Hello,
    I am trying to configure my database to use a tape backup device. I have Veritas Backup Exec running a Dell tape backup, when trying to test from Enterprise Manager I get the following error:
    RMAN>
    connected to target database: OHIO (DBID=1527591012)
    using target database control file instead of recovery catalog
    RMAN>
    echo set on
    RMAN> run {
    2> allocate channel oem_sbt_backup type 'sbt_tape' format '%U';
    3> backup as BACKUPSET current controlfile tag '07062006093228';
    4> restore controlfile validate from tag '07062006093228';
    5> release channel oem_sbt_backup;
    6> }
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of allocate command on oem_sbt_backup channel at 07/06/2006 09:32:33
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    RMAN> allocate channel for maintenance type 'sbt_tape' ;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of allocate command on ORA_MAINT_SBT_TAPE_1 channel at 07/06/2006 09:32:33
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    RMAN> delete noprompt backuppiece tag '07062006093228';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 07/06/2006 09:32:33
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    RMAN> exit;
    I'm guessing I missed some kind of configuration step somewhere, but I am unsure what. Any advice would be greatly appreciated.
    Regards,
    Jordan

    I would say OSB is really good product and performance wise also it is great. Though they haven't launched OSB for all of the platforms yet like AIX, 64bit Linux but all these are suppose to come by the end of Sep. I have been participated in beta testing of this product, it was great and now we are waiting for AIX and 64-bit linux releases so that we can start using them as primary backup tool.
    It can take the file system backup too without any problem.
    Daljit Singh

  • Deleting old backup's of rman with nocatalog

    I am using oracle 8.1.6 on windows 2000 server. I am using rman with nocatalog to backup the database on disk. Now i want to delete the old backup's. Can anyone help me to know on how to perform the above task.

    I am very much thankful for ur reply but its not working. Its displaying the below errors
    RMAN> report obsolete redundancy=2;
    RMAN-03022: compiling command: report
    Report of obsolete backups and copies
    Type Key Completion Time Filename/Handle
    Backup Set 1 19-JUL-08
    Backup Piece 1 19-JUL-08 C:\ORACLE\ORA81CM\DATABASE\01JLSK
    O3_1_1
    Backup Set 2 20-JUL-08
    Backup Piece 2 20-JUL-08 C:\ORACLE\ORA81CM\DATABASE\08JLUM
    IO_1_1
    Backup Set 4 20-JUL-08
    Backup Piece 4 20-JUL-08 C:\ORACLE\ORA81CM\DATABASE\0AJLUS
    K9_1_1
    Backup Set 5 20-JUL-08
    Backup Piece 5 20-JUL-08 C:\ORACLE\ORA81CM\DATABASE\0BJLUS
    LE_1_1
    Datafile Copy 1 16-JUL-08 C:\ORACLE\CONTROL.DBF
    RMAN> delete obsolete redundancy = 2;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "obsolete": expecting one of: "expired, script"
    RMAN-01007: at line 1 column 8 file: standard input

  • Backup archivelog all and backup archivelog in rman back

    Hi,
    Whats the difference between backup archivelog all and backup archivelog in rman backup.

    Please find below explanation from the online documentation;
    +"+
    +If you specify BACKUP ARCHIVELOG ALL, then RMAN backs up exactly one copy of each distinct log sequence number. For example, if you archive to multiple destinations, RMAN backs up one copy of each log sequence number—not each copy of each log sequence number. For other commands, such as DELETE ALL does refer to every log, even duplicate log sequences.+
    +"+
    Hope That Helps.
    Ogan
    Edited by: Ogan Ozdogan on 27.Tem.2010 00:38
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10643/rcmsynta007.htm#RCMRF107

  • Backup/restore using RMAN with no catalog

    Hi all,
    Can someone tell me if this is correct:
    I have two identical machines, same configuration and same file structure, everything is the same.
    On machine A, I have a 9.2.0.7 database running. I take a hot backup and try to restore it on machine B.
    Note: I am using RMAN for backup/restore whith no catalog.
    This is how I perform backup on machine A:
    ALLOCATE CHANNEL C1 TYPE DISK;
    SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';
    BACKUP INCREMENTAL LEVEL=0 CUMULATIVE format '/backup/level0_%u' BACKUP CURRENT CONTROLFILE format '/backup/control_primary' FORCE;
    SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';
    BACKUP ARCHIVELOG ALL format '/backup/archivelogs_%s_%t';
    On machine B, here is how I perform restore:
    SET DBID 1221334455;
    RESTORE CONTROLFILE FROM '/backup/control_primary';
    ALTER DATABASE MOUNT;
    RESTORE DATABASE VALIDATE;
    RESTORE DATABASE;
    Recover database;
    Thanks,

    You forgot to restore the spfile or pfile on the second node to go to nomount state.
    OR
    You can use RMAN Duplicate to do this.
    Regards
    Message was edited by:
    Singh

Maybe you are looking for