Database disk/tape backup

Hi,
Could someone help me as to weather the following is a plausable scenario.
-Lets say we have We have one database using ASM, ..
-Database is backed up to disk (+FRA) - regular intervals eacj day
-Database is then backed up to tape every 2 days
When the database is backed up to tape.. would it be normal to back up an entire copy of both the data disks and the FRA? or just the data disks? or just the backups currently on disk in the FRA?
High level (very simplistic) overview I know, but would appriciate any opinions
Thanks

All you need to do is take the backup file from FRA to tape.
HTH--

Similar Messages

  • Disk/Tape backup?

    Hi, All:
    We have a new system installed Oracle 8.1.6. Now we are considering the method of Backup/Recovery.
    In our system 2 disks and 1 tape device can be used for backup. And I think there are 2 ways to use them:
    1). 1 disk : archive log;
    1 disk : backup using by RMAN;
    1 tape : backup's backup
    2). 1 disk : archive log;
    1 disk : the copy of the archive log;
    1 tape : backup using by RMAN;
    I don't know which is better? which is common?(The data size is about 20GB)
    Can anybody give me some advices?
    Thanks.
    null

    All you need to do is take the backup file from FRA to tape.
    HTH--

  • DB13  full database online tape backup error

    Dear all Experts
    I am trying to take online  backup of newly installed  ECC development system with AIX6.1,Oracle 11g,tape inserted and Initialized successfully in DB13 ,but I have tried to fire the backup of online backup i am getting error
    please find the below log and  can anyone help me out??
    initGDV.sap file setup
    is
    backup_mode = all
    restore_mode = all
    backup_type = online
    backup_dev_type = tape
    backup_root_dir = /oracle/GDV/sapbackup
    stage_root_dir = /oracle/GDV/sapbackup
    compress_cmd = "compress -c $ > $"
    uncompress_cmd = "uncompress -c $ > $"
    compress_dir = /oracle/GDV/sapreorg
    archive_copy_dir = /oracle/GDV/sapbackup
    archive_stage_dir = /oracle/GDV/sapbackup
    stage_copy_cmd = rcp
    pipe_copy_cmd = rsh
    cpio_flags = -ovB
    cpio_in_flags = -iuvB
    cpio_disk_flags = -pdcu
    dd_flags = "obs=64k bs=64k"
    dd_in_flags = "ibs=64k bs=64k"
    saveset_members = 1
    copy_in_cmd = "dd ibs=64k obs=8k if=$"
    rewind = "tctl -f $ rewind"
    rewind_offline = "tctl -f $ offline"
    tape_pos_cmd = "tctl -f $ fsf $"
    tape_size = 100G
    exec_parallel = 0
    tape_address = /dev/rmt0.1
    tape_address_rew = /dev/rmt0
    expir_period = 30
    disk_copy_cmd = copy
    tape_copy_cmd = cpio
    archive_function = save
    compress = no
    and error log is below
    21.03.2011     17:16:11     Job started
    21.03.2011     17:16:11     Step 001 started (program RSDBAJOB, variant &0000000000013, user ID BASIS)
    21.03.2011     17:16:11     Execute logical command BRBACKUP On host gulfeccdev
    21.03.2011     17:16:11     Parameters:-u / -jid FLL__20110321171610 -c force -t online -m full -p initGDV.sap
    21.03.2011     17:16:13     BR0051I BRBACKUP 7.00 (40)
    21.03.2011     17:16:13     BR0055I Start of database backup: befmiufr.fnt 2011-03-21 17.16.11
    21.03.2011     17:16:13     BR0484I BRBACKUP log file: /oracle/GDV/sapbackup/befmiufr.fnt
    21.03.2011     17:16:13     BR0280I BRBACKUP time stamp: 2011-03-21 17.16.12
    21.03.2011     17:16:13     BR0301E SQL error -12547 at location BrDbConnect-2, SQL statement:
    21.03.2011     17:16:13     'CONNECT /'
    21.03.2011     17:16:13     ORA-12547: TNS:lost contact
    21.03.2011     17:16:13     BR0310E Connect to database instance GDV failed
    21.03.2011     17:16:13     BR0280I BRBACKUP time stamp: 2011-03-21 17.16.13
    21.03.2011     17:16:13     BR0301E SQL error -12547 at location BrDbConnect-2, SQL statement:
    21.03.2011     17:16:13     'CONNECT /'
    21.03.2011     17:16:13     ORA-12547: TNS:lost contact
    21.03.2011     17:16:13     BR0310E Connect to database instance GDV failed
    21.03.2011     17:16:13     
    21.03.2011     17:16:13     BR0056I End of database backup: befmiufr.fnt 2011-03-21 17.16.12
    21.03.2011     17:16:13     BR0280I BRBACKUP time stamp: 2011-03-21 17.16.13
    21.03.2011     17:16:13     BR0054I BRBACKUP terminated with errors
    21.03.2011     17:16:13     External program terminated with exit code 3
    21.03.2011     17:16:13     BRBACKUP returned error status E
    21.03.2011     17:16:13     Job finished
    please help me for this error
    regards
    krishna
    Edited by: krishna murthy on Mar 22, 2011 7:20 AM

    Dear aleh
    I have set environment variable
    oragdv>export MPROTECT_TXT ON
    oragdv>brconnect -u / -f dbstate
    and executed successfully
    but again I am trying with DB13  i am getting same erro
    as well as I tried with brtools i am getting following error
    Detail log:                    befmndrc.ant
    BR0477I Oracle pfile /oracle/GDV/112_64/dbs/initGDV.ora created from spfile /oracle/GDV/112_64/dbs/spfileGDV.ora
    BR0280I BRBACKUP time stamp: 2011-03-22 14.34.18
    BR0319I Control file copy created: /oracle/GDV/sapbackup/cntrlGDV.dbf 19251200
    BR0101I Parameters
    Name                           Value
    oracle_sid                     GDV
    oracle_home                    /oracle/GDV/112_64
    oracle_profile                 /oracle/GDV/112_64/dbs/initGDV.ora
    sapdata_home                   /oracle/GDV
    sap_profile                    /oracle/GDV/112_64/dbs/initGDV.sap
    backup_mode                    ALL
    backup_type                    online
    backup_dev_type                tape
    compress                       no
    tape_copy_cmd                  cpio
    cpio_flags                     -ovB
    cpio_in_flags                  -iuvB
    dd_flags                       obs=64k bs=64k
    dd_in_flags                    ibs=64k bs=64k
    rewind                         tctl -f $ rewind
    rewind_offline                 tctl -f $ offline
    tape_size                      102400.000 MB
    tape_address                   /dev/rmt0.1
    tape_address_rew               /dev/rmt0
    volume_backup                  GDVB01,GDVB02,GDVB03,GDVB04,GDVB05,GDVB06,GDVB07,GDVB08,GDVB09,GDVB10,
                                   GDVB11,GDVB12,GDVB13,GDVB14,GDVB15,GDVB16,GDVB17,GDVB18,GDVB19,GDVB20,
                                   GDVB21,GDVB22,GDVB23,GDVB24,GDVB25,GDVB26,GDVB27,GDVB28,GDVB29,GDVB30
    expir_period                   30
    tape_use_count                 100
    exec_parallel                  0
    system_info                    oragdv/oragdv gulfeccdev AIX 1 6 000C870AD400
    oracle_info                    GDV 11.2.0.2.0 8192 8637 72753195 gulfeccdev UTF8 UTF8
    sap_info                       701 SAPSR3 0002LK0003GDV0011D06565319310015Maintenance_ORA
    make_info                      rs6000_64 OCI_102 Feb 21 2009
    command_line                   /usr/sap/GDV/SYS/exe/run/brbackup -p initGDV.sap -d tape -t online -m all -k no -e 0 -l E -U
    BR0116I ARCHIVE LOG LIST before backup for database instance GDV
    Parameter                      Value
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            LOCATION=/oracle/GDV/oraarch/GDVarch
    Archive format                 %t_%s_%r.dbf
    Oldest online log sequence     8634
    Next log sequence to archive   8637
    Current log sequence           8637             SCN: 72753195
    Database block size            8192             Thread: 1
    Current system change number   72763669         ResetId: 742322108
    BR0118I Tablespaces and data files
    Tablespace     TS-Status  F-Status  File                                                       Size   Id.     Device  Link    Type       MaxSize     IncrSize  BlkSize
    PSAPSR3        ONLINE*    ONLINE+   /oracle/GDV/sapdata2/sr3_1/sr3.data1                 3082821632    4     2752513  NOLINK  FILE   10485760000     20971520     8192
    PSAPSR3        ONLINE*    ONLINE+   /oracle/GDV/sapdata2/sr3_10/sr3.data10               3082821632   13     2752513  NOLINK  FILE   10485760000     20971520     8192
    PSAPSR3        ONLINE*    ONLINE+   /oracle/GDV/sapdata2/sr3_11/sr3.data11               3082821632   14     2752513  NOLINK  FILE   10485760000     20971520     8192
    PSAPSR3        ONLINE*    ONLINE+   /oracle/GDV/sapdata2/sr3_12/sr3.data12               3082821632   15     2752513  NOLINK  FILE   10485760000     20971520     8192
    PSAPSR3        ONLINE*    ONLINE+   /oracle/GDV/sapdata2/sr3_13/sr3.data13               2998935552   16     2752513  NOLINK  FILE   10485760000     20971520     8192
    PSAPSR3        ONLINE*    ONLINE+   /oracle/GDV/sapdata2/sr3_14/sr3.data14               2998935552   17     2752513  NOLINK  FILE   10485760000     20971520     8192
    PSAPSR3        ONLINE*    ONLINE+   /oracle/GDV/sapdata2/sr3_15/sr3.data15               2998935552   18     2752513  NOLINK  FILE   10485760000     20971520     8192
    PSAPSR3701X    ONLINE*    ONLINE    /oracle/GDV/sapdata4/sr3701x_7/sr3701x.data7          104865792   42     2883585  NOLINK  FILE             0            0     8192
    PSAPSR3701X    ONLINE*    ONLINE    /oracle/GDV/sapdata4/sr3701x_8/sr3701x.data8        12332310528   43     2883585  NOLINK  FILE             0            0     8192
    PSAPSR3USR     ONLINE*    ONLINE+   /oracle/GDV/sapdata4/sr3usr_1/sr3usr.data1             52436992   34     2883585  NOLINK  FILE   10485760000     20971520     8192
    PSAPTEMP       ONLINE#    ONLINE+   /oracle/GDV/sapdata1/temp_1/temp.data1               1468014592   -1     2686977  NOLINK  FILE   10485760000     20971520     8192
    PSAPUNDO       ONLINE-    ONLINE+   /oracle/GDV/sapdata1/undo_1/undo.data1               7822385152    3     2686977  NOLINK  FILE   10485760000     20971520     8192
    SYSAUX         ONLINE*    ONLINE+   /oracle/GDV/sapdata1/sysaux_1/sysaux.data1            713039872    2     2686977  NOLINK  FILE   10485760000     20971520     8192
    SYSTEM         ONLINE*    SYSTEM+   /oracle/GDV/sapdata1/system_1/system.data1           1478500352    1     2686977  NOLINK  FILE   10485760000     20971520     8192
    SYSTEM         ONLINE*    SYSTEM+   /oracle/GDV/sapdata1/system_2/system.data2            209723392   41     2686977  NOLINK  FILE   10485760000     20971520     8192
    BR0119I Redo log files
    File                                                Size  Group     Device  Status    Link    Type
    /oracle/GDV/origlogA/log_g11m1.dbf              52429312    1      2621445  INUSE     NOLINK  FILE
    /oracle/GDV/mirrlogA/log_g11m2.dbf              52429312    1      2621442  INUSE     NOLINK  FILE
    /oracle/GDV/origlogB/log_g12m1.dbf              52429312    2      2621446  INUSE     NOLINK  FILE
    /oracle/GDV/mirrlogB/log_g12m2.dbf              52429312    2      2621443  INUSE     NOLINK  FILE
    /oracle/GDV/origlogA/log_g13m1.dbf              52429312    3      2621445  INUSE     NOLINK  FILE
    /oracle/GDV/mirrlogA/log_g13m2.dbf              52429312    3      2621442  INUSE     NOLINK  FILE
    /oracle/GDV/origlogB/log_g14m1.dbf              52429312    4      2621446  INUSE     NOLINK  FILE
    /oracle/GDV/mirrlogB/log_g14m2.dbf              52429312    4      2621443  INUSE     NOLINK  FILE
    BR0120I Control files
    File                                                Size   Id.      Device  Link    Type
    /oracle/GDV/origlogA/cntrl/cntrlGDV.dbf         19251200    0      2621445  NOLINK  FILE
    /oracle/GDV/origlogB/cntrl/cntrlGDV.dbf         19251200    0      2621446  NOLINK  FILE
    /oracle/GDV/sapdata1/cntrl/cntrlGDV.dbf         19251200    0      2686977  NOLINK  FILE
    BR0280I BRBACKUP time stamp: 2011-03-22 14.34.18
    BR0057I Backup of database: GDV
    BR0058I BRBACKUP action ID: befmndrc
    BR0059I BRBACKUP function ID: ant
    BR0110I Backup mode: ALL
    BR0077I Database file for backup: /oracle/GDV/sapbackup/cntrlGDV.dbf
    BR0061I 44 files found for backup, total size 210220.695 MB
    BR0143I Backup type: online
    BR0112I Files will not be compressed
    BR0130I Backup device type: tape
    BR0102I Following backup device will be used: /dev/rmt0.1
    BR0103I Following backup volumes will be used:
    GDVB01,GDVB02,GDVB03
    BR0280I BRBACKUP time stamp: 2011-03-22 14.34.18
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
    BR0280I BRBACKUP time stamp: 2011-03-22 14.34.36
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0208I Volume with name GDVB01 GDVB02 GDVB03 required in device /dev/rmt0.1
    BR0210I Please mount BRBACKUP volume, if you have not already done so
    BR0280I BRBACKUP time stamp: 2011-03-22 14.34.36
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
    BR0280I BRBACKUP time stamp: 2011-03-22 14.37.16
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRBACKUP time stamp: 2011-03-22 14.37.16
    BR0226I Rewinding tape volume in device /dev/rmt0 ...
    BR0351I Restoring /oracle/GDV/sapbackup/.tape.hdr0
    BR0355I from /dev/rmt0.1 ...
    BR0241I Checking label on volume in device /dev/rmt0.1
    BR0217W Lock period for volume GDVB01 in device /dev/rmt0.1 not expired
    BR0218W Checking label on volume in device /dev/rmt0.1 failed
    BR0212I Please check the volume or the device
    BR0280I BRBACKUP time stamp: 2011-03-22 14.37.30
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
    BR0280I BRBACKUP time stamp: 2011-03-22 14.45.06
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRBACKUP time stamp: 2011-03-22 14.45.06
    BR0226I Rewinding tape volume in device /dev/rmt0 ...
    BR0351I Restoring /oracle/GDV/sapbackup/.tape.hdr0
    BR0355I from /dev/rmt0.1 ...
    BR0241I Checking label on volume in device /dev/rmt0.1
    BR0217W Lock period for volume GDVB01 in device /dev/rmt0.1 not expired
    BR0218W Checking label on volume in device /dev/rmt0.1 failed
    BR0212I Please check the volume or the device
    BR0280I BRBACKUP time stamp: 2011-03-22 14.45.06
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
    BR0280I BRBACKUP time stamp: 2011-03-22 14.45.10
    BR0257I Your reply: 's'
    BR0260E BRBACKUP cancelled by user
    BR0056I End of database backup: befmndrc.ant 2011-03-22 14.45.10
    BR0280I BRBACKUP time stamp: 2011-03-22 14.45.10
    BR0054I BRBACKUP terminated with errors

  • Hard disk crashed, restored data from tape backup, Firefox not showing bookmarks. What is the location of bookmarks & favourites to ensure I have restored the correct file?

    Hard disk crashed (XP), restored files from tape backup using Retrospect onto new Windows 7 laptop. Started up Mozilla after restore but bookmarks and favourites are missing.
    I still have access to the backup tape and files. I was wondering whether the bookmarks are kept anywhere special other than the Mozilla program file that I restored.

    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

  • Urgent: New database with restored tape backup - step by step

    Hi
    Oracle: 9.2.0.6
    OS: AIX 5
    There is an old full cold database backup on the TAPE drive which includes spfile and control files etc.
    I have been asked to restore this database to a new server (AIX 5). I am a new dba with less hands on restore/recovery from tape drives using rman.
    Can someone let me know
    1. what do I need to know before I can start anything
    2. how to restore backup from tape (spfile, control file, data files etc)
    3. steps to create a database instance with backup restore and start it
    4. How do I know password of sys/system users
    Thankyou so much for help.
    Vishal

    Maybe you could read the manual?

  • 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...

  • Database tape backup

    Hi All,
    I am trying to backup the database using tar command on tape storage.
    server is sun solaris and tape storage is LTO4 (1.7TB)
    I want to tar with zip directly to the tape but couldn't find any option in solaris to zip with tar like we are having ( tar -cvzf in linux).
    could anyone please guide me how to achieve that?
    if i have to use unix PIPE (|) with the tar command to take it directly to tape then what should be the command?
    Thanks

    No, OSB has nothing to do with whether the database backup is hot or cold.....you can backup both hot or cold using OSB.
    OSB is a centralized tape backup management software for protecting both file system data and the Oracle database. For Oracle database backups, OSB is integrated with Recovery Manager (RMAN). By using OSB, you will achieve an integrated Oracle database backup to tape.
    You can obtain more information on OSB at the website:
    http://www.oracle.com/technology/products/secure-backup/index.html
    Donna

  • Restore controlfile from leagato tape backup

    I am using legato tool to perform rman tape backup.
    I use the following script on legato to get the controlfile backup.
    "backup current controlfile format '%d_%s_%p.ctrl'; "
    If I lost the controlfile how do i restore controlfile from the tape. Assume that the DB in nomount stage.

    Hi,
    backing up autobackup controlfiles to legato is possible. All you have to do is to configure autobackup accordingly. By default autobackup controlfiles will get written to disk.
    However i strongly recommend to use a rman backup catalog. This will save you a lot of time consuming trouble if you need to restore your database.
    The rman catalog database itself does not need any license and is rather small (5 GB on disk, 512 MB memory).
    Restoring the control file will be something like this:
    set controlfile autobackup format for device type sbt to '%F';
    restore controlfile from autobackup;
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • Restore and recover Oracle 10g database from tape.

    I have a very basic question for restore and recover Oracle 10g database. Our envirnment settings are:
    Oracle 10g on Unix, daily database and archivelog backup to Vista NetBackup server. Retention policy is 2. Old backup files are copied from NetBackup server to the tape for record keeping.
    I want to restore a database to a point in time. Because our retention policy is setup to 2. The backup files I need have been copied to the tape. So I should ask SYSTEM ADMIN to copy the backup files back to NetBackup server disk or I can ask him to copy backup files to the Unix server that host my Oracle 10g database. Then I can use Rman to do restore and recover. Is this doable? I know normal procedure is to copy backup files I need back to NetBackup server disk, not directly back to database server. Please put your comments here as early as better. I do appreciate your kind help.

    853153 wrote:
    I have a very basic question for restore and recover Oracle 10g database. Our envirnment settings are:
    Oracle 10g on Unix, daily database and archivelog backup to Vista NetBackup server. Retention policy is 2. Old backup files are copied from NetBackup server to the tape for record keeping.
    I want to restore a database to a point in time. Because our retention policy is setup to 2. The backup files I need have been copied to the tape. So I should ask SYSTEM ADMIN to copy the backup files back to NetBackup server disk or I can ask him to copy backup files to the Unix server that host my Oracle 10g database. Then I can use Rman to do restore and recover. Is this doable? I know normal procedure is to copy backup files I need back to NetBackup server disk, not directly back to database server. Please put your comments here as early as better. I do appreciate your kind help.For sure it is double work, To copy backup files on UNIX host.
    Are you using catalog or nocatalog?
    If the backup information is out of retention, Catalog them again also in netbackup.
    So that you can able to restore database directly without copying those files to host.

  • 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}.

  • FRA´s datafile directory and tape backups

    Hi again,
    I have tried to find relevant information for my question, but instead of finding answers (again) which may or may not be helpful I hope someone can explain me.
    We are running 10Gr2 databases with FRA´s enabled, currently backupping all using Oracle´s suggested backup to Disk devices.
    Since we have copies of the datafiles in the FRA which takes up quite some (productional) storage space we are asked to stop the Disk backups, and backup things up to the tape device, which underwater is a TSM library.
    How would this affect the occupance of the FRA? Will the datafile directory in the FRA be moved to the "tape" device if we implement (solely) tape backups; or is it only the backupsets and autobackups which would then be moved to tape?
    I have tried several setups for which I wanted to set the datafile, backupset and autobackup directory out of the FRA, but I have not found a (working) way yet to set the datafile directory apart from it.
    Advice or help are greatly appreciated.
    Robin

    Changing the backup location from FRA to an external device will only effect backups (backupsets or image copies of datafiles,controlfiles,spfile,archivelogs). Possible (but not mandatory) components of FRA are archivelogs,backup pieces,controlfiles,online logs,image copies and flashback logs.
    For performance reasons it's better to continue using the FRA as first backup device. Extend your backup strategy by backing the FRA itself to tape in regular intervals.
    'BACKUP RECOVERY AREA' backs up recovery files created in the current and all previous flash recovery area destinations. Recovery files are full and incremental backup sets, control file autobackups, archived logs, and datafile copies. Flashback logs, the current control file, and online redo logs are not backed up.
    The backup must go to a tape device, so RMAN issues an error if no sbt channels are allocated or configured.
    Or use
    'BACKUP RECOVERY FILES'. It backs up all recovery files on disk, whether they are stored in the flash recovery area or another locations on disk. Recovery files include full and incremental backup sets, control file autobackups, archived logs, and datafile copies.
    Werner

  • Tape backups "stuck" in controlfile

    At one point, there was a tape backup device configured and working. This tape device has since been removed, but there are still backups that were done to tape that are in the controlfile. These backups are quite old and rman knows they are obsolete, but it can't delete them, since the tape device (and channel) no longer exists.
    I have tried many ways of trying to delete them, but I consistently end up with the same result of:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 09/11/2007 13:10:06
    RMAN-06091: no channel allocated for maintenance (of an appropriate type)
    I am able to allocate a channel type of disk, but not sbt because it is not there, so I am having trouble getting rid of these entries. Any help is appreciated. Here is my configuration:
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/backup1/oracle/%U';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '/backup1/oracle/%U';
    CONFIGURE CHANNEL 3 DEVICE TYPE DISK FORMAT '/backup1/oracle/%U';
    CONFIGURE CHANNEL 4 DEVICE TYPE DISK FORMAT '/backup1/oracle/%U';
    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 '/u01/app/oracle/product/10.2.0.2/dbs/snapcf_test1.f'; # default

    I was encountering the same:
    RMAN> delete obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=149 devtype=DISK
    Deleting the following obsolete backups and copies:
    Type Key Completion Time Filename/Handle
    Backup Set 1385 17-DEC-09
    Backup Piece 1385 17-DEC-09 BE_bcl15skg_1_1
    Backup Set 1386 17-DEC-09
    Backup Piece 1386 17-DEC-09 BE_bdl15sog_1_1
    Backup Set 1387 17-DEC-09
    Backup Piece 1387 17-DEC-09 BE_bel15t6o_1_1
    Backup Set 1570 08-FEB-10
    Backup Piece 1570 08-FEB-10 BE_h5l5hl8f_1_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 02/18/2010 16:12:29
    RMAN-06091: no channel allocated for maintenance (of an appropriate type)
    RMAN> list backup summary;
    List of Backups
    ===============
    Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    1387 B 0 U SBT_TAPE 17-DEC-09 1 1 NO TAG20091217T230904
    1390 B A U SBT_TAPE 18-DEC-09 1 1 NO TAG20091218T230709
    1392 B 0 U SBT_TAPE 18-DEC-09 1 1 NO TAG20091218T231024
    1393 B A U SBT_TAPE 18-DEC-09 1 1 NO TAG20091218T231803
    1395 B A U SBT_TAPE 21-DEC-09 1 1 NO TAG20091221T230506
    1397 B 0 U SBT_TAPE 21-DEC-09 1 1 NO TAG20091221T230700
    1398 B A U SBT_TAPE 21-DEC-09 1 1 NO TAG20091221T231439
    1564 B A U SBT_TAPE 05-FEB-10 1 1 NO TAG20100205T232055
    1565 B F U SBT_TAPE 05-FEB-10 1 1 NO TAG20100205T232057
    1566 B A U SBT_TAPE 08-FEB-10 1 1 NO TAG20100208T230856
    1569 B A U SBT_TAPE 08-FEB-10 1 1 NO TAG20100208T231941
    1570 B F U SBT_TAPE 08-FEB-10 1 1 NO TAG20100208T231943
    RMAN> change backuppiece tag 'TAG20091217T230904' uncatalog;
    uncataloged backuppiece
    backup piece handle=BE_bel15t6o_1_1 recid=1387 stamp=705885402
    uncataloged backuppiece
    backup piece handle=BE_bdl15sog_1_1 recid=1386 stamp=705884946
    Uncataloged 2 objects
    RMAN> change backuppiece tag 'TAG20091218T230709' uncatalog;
    uncataloged backuppiece
    backup piece handle=BE_bhl18h1g_1_1 recid=1390 stamp=705971249
    Uncataloged 1 objects
    RMAN> change backuppiece tag 'TAG20100208T231943' uncatalog;
    uncataloged backuppiece
    backup piece handle=BE_h5l5hl8f_1_1 recid=1570 stamp=710464784
    Uncataloged 1 objects
    RMAN> list backup summary;
    RMAN> list backup;
    RMAN> list backupset;
    RMAN> delete obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type Key Completion Time Filename/Handle
    Backup Set 1385 17-DEC-09
    Backup Piece 1385 17-DEC-09 BE_bcl15skg_1_1
    Backup Set 1388 17-DEC-09
    Backup Piece 1388 17-DEC-09 BE_bfl15t70_1_1
    Backup Set 1389 17-DEC-09
    Backup Piece 1389 17-DEC-09 BE_bgl15t75_1_1
    Backup Set 1394 18-DEC-09
    Backup Piece 1394 18-DEC-09 BE_bll18hle_1_1
    Backup Set 1399 21-DEC-09
    Backup Piece 1399 21-DEC-09 BE_bql1gej1_1_1
    Backup Set 1404 22-DEC-09
    Backup Piece 1404 22-DEC-09 BE_bvl1j2ra_1_1
    Backup Set 1409 23-DEC-09
    Backup Piece 1409 23-DEC-09 BE_c4l1lnak_1_1
    Backup Set 1414 24-DEC-09
    Backup Piece 1414 24-DEC-09 BE_c9l1obqf_1_1
    Backup Set 1419 25-DEC-09
    Backup Piece 1419 25-DEC-09 BE_cel1r0a2_1_1
    Backup Set 1424 28-DEC-09
    Backup Piece 1424 28-DEC-09 BE_cjl22t64_1_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 02/18/2010 16:15:05
    RMAN-06091: no channel allocated for maintenance (of an appropriate type)
    RMAN> change backuppiece 'BE_bcl15skg_1_1' unavailable;
    changed backup piece unavailable
    backup piece handle=BE_bcl15skg_1_1 recid=1385 stamp=705884819
    Changed 1 objects to UNAVAILABLE status
    RMAN> change backuppiece 'BE_bcl15skg_1_1' unavailable;
    changed backup piece unavailable
    backup piece handle=BE_bcl15skg_1_1 recid=1385 stamp=705884819
    Changed 1 objects to UNAVAILABLE status
    RMAN> change backuppiece 'BE_bcl15skg_1_1' uncatalog;
    uncataloged backuppiece
    backup piece handle=BE_bcl15skg_1_1 recid=1385 stamp=705884819
    Uncataloged 1 objects
    RMAN> change backuppiece 'BE_bfl15t70_1_1' uncatalog;
    uncataloged backuppiece
    backup piece handle=BE_bfl15t70_1_1 recid=1388 stamp=705885409
    Uncataloged 1 objects
    RMAN> delete obsolete ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    using channel ORA_DISK_1
    no obsolete backups found
    FINALLY FIXED!!!

  • 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

  • Advice on having a control file (online) on the same disk as backups

    The following database files layout provides a no data loss configuration if the DiskArray #1, which stores the database, fails.
    I have every think I need in the flash recovery area (DiskArray #2): backups, archived logs and online redo.
    DiskArray #1:
    - datafiles
    - control file (mirror copy 1)
    - Online redo log (mirror copy 1)
    DiskArray #2: (flash recovery area)
    - control file (mirror copy 2)
    - Online redo log (mirror copy 2)
    - archived logs
    - backups
    But some one raise the following scenario:
    What happen if the diskArray #2, which has one control file copy, fails?
    The instance should abort. Can it corrupt the current online redo, controlfile or a datafile?
    If it does I would be in a dead end; of course I have regular offsite backups, but I may lose up to two weeks.
    Lossing the database because the backup array fails is not acceptable.
    Should I avoid any control file in the backup array?
    Oracle recommend having control file copies in separate disk location and one of it in the flash recovery area.
    Anyone have suggestions.
    I am a bit scared

    Can it corrupt the current online redo, controlfile or a datafile?Could that someone tell you why he thinks so ? I have seen loss of controlfile and loss of mirrored (duplexed) redo logs but that doesn't corrupt the good controlfile and redo logs and datafiles. unless someone or some process copies the corrupted files over to the good array !
    You'd have to restart the instance with that controlfile excluded from the parameter file.
    You'd lose your archivelogs and backups. If you have no tape backups you'd lose the ability to restore as well (being another "someone", I will ask "What happen if the diskArray #1 fails at the same time or 5 minutes after or 6 hours after diskArray #2 ?").
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • 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

Maybe you are looking for