Why may be RMAN backup not taken to FRA on 10.2.0.3 EE?

below is my configuration and rman script, but my backups are taken to $ORACLE_HOME/dbs not FRA;
SQL> show release
release 1002000300
SQL> archive log list
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence     5
Next log sequence to archive   7
Current log sequence           7
SQL> select name, value from v$system_parameter
  2  where name like 'db_recovery%' ;
NAME
VALUE
db_recovery_file_dest
/home/oracle/
db_recovery_file_dest_size
4147483648
SQL> SELECT * FROM V$FLASH_RECOVERY_AREA_USAGE;
FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
CONTROLFILE                   0                         0               0
ONLINELOG                     0                         0               0
ARCHIVELOG                 4,72                       ,08               8
BACKUPPIECE                 ,17                         0               1
IMAGECOPY                     0                         0               0
FLASHBACKLOG                 ,2                         0               1
6 rows selected.
SQL> SELECT * FROM V$RECOVERY_FILE_DEST;
NAME
SPACE_LIMIT SPACE_USED SPACE_RECLAIMABLE NUMBER_OF_FILES
/home/oracle/
4147483648  211147264           3263488              10
run
{ set command id to 'RMAN_Full_Backup';
sql "ALTER SYSTEM CHECKPOINT GLOBAL";
backup incremental level 0
tag DB_full_backup
format 'DB_d%d_t%t_u%u'
(database include current controlfile);
sql "ALTER SYSTEM SWITCH LOGFILE";
sql "ALTER SYSTEM ARCHIVE LOG CURRENT";
backup
filesperset 20
format 'ARC_d%d_t%t_u%u'
(archivelog all); }Thank you.

Backups from RMAN go to dbs folder when there is no FRA or Format parameter configured.If there is any parameter given than Oracle would send teh backups over there only.Use list backup and show us where the backups have gone.You have FRA set so they must be going there only.
Aman....

Similar Messages

  • My time capsule is full and when I attempt to back up, I only receive a preparing back up message and the earliest and most recent back up dates remain the same.  Why are the oldest backups not being deleted to make room for the newest backups?

    My time capsule is full and when I attempt to back up, I only receive a preparing back up message and the earliest and most recent back up dates remain the same.  Why are the oldest backups not being deleted to make room for the newest backups?

    linda mariefromharper woods wrote:
    My time capsule is full and when I attempt to back up, I only receive a preparing back up message and the earliest and most recent back up dates remain the same.  Why are the oldest backups not being deleted to make room for the newest backups?
    It may be in the process of making room.  What version of OSX are you on?    (That process can be excruciatingly slow on Leopard or Snow Leopard backups over a network;  Lion has improved it greatly.)
    A clue may be lurking in your logs.  Use the widget in #A1 of  Time Machine - Troubleshooting to display the backup messages from your logs.   That should help you figure out what's going on.  If in doubt, copy and post them here (but if the same ones repeat over and over, drop most of the duplicates).
    If you can, connect via Ethernet; it will be 2-3 times faster.

  • Why is Time machine backup not working after Mavericks upgrade?

    Why is Time machine backup not working after Mavericks upgrade?

    I had the same problem due to the Fire Wire port.  Apple tested it told me it is OK!, I tried a new cable, and have tested both ports on my back up device.  I find it strange that as soon as I installed Mavericks.  The drive does work using USB.  It could be a coincidence, I don't absolutely know at this point, my back up drive ports could stop working, but I doubt it!

  • Rman - backups not reporting obsolete

    Hi,
    Please see below of our now cleaned up rman catalog:
    RMAN> list backup of database summary;
    List of Backups
    ===============
    Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    1531 B 0 A DISK 20-APR-10 1 1 YES TAG20100420T172430
    1543 B F A DISK 15-AUG-11 1 1 NO TAG20110815T140126
    1549 B F A DISK 15-AUG-11 1 1 NO TAG20110815T144719
    1553 B F A DISK 15-AUG-11 1 1 NO TAG20110815T160724
    1557 B F A DISK 15-AUG-11 1 1 NO TAG20110815T170223
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    Based on the fact I see five backups of our current database (produced with "backup database") and we see "retention policy is set to redundancy 1", I would expect to see four backups reported, however the next line is:
    no obsolete backups found;
    Naturally, my scheduled "delete noprompt obsolete" never seems to remove anything. Any advise appreciated.

    Hi,
    Please post here the script that you use to perform this backup.
    Check if you are using KEEP UNTIL clause.
    DELETE OBSOLETE Behavior When KEEP UNTIL Time Expires
    If the KEEP UNTIL TIME period has not expired for an archival backup, RMAN does not consider the backup as obsolete. As soon as the KEEP UNTIL period expires, however, the backup is immediately considered to be obsolete, regardless of any configured backup retention policy. Thus, DELETE OBSOLETE deletes any backup created with BACKUP ... KEEP UNTIL TIME if the KEEP time has expired.
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmmaint.htm#BRADV89640
    V$BACKUP_FILES
    KEEP- Indicates whether the backup has a retention policy different from the value for CONFIGURE RETENTION POLICY (YES) or not (NO)
    KEEP_UNTIL - If the KEEP UNTIL TIME clause of the BACKUP command was specified, then this column shows the date after which the backup becomes obsolete. If the column is null and KEEP_OPTIONS is not null, the backup never becomes obsolete.V$BACKUP_FILES displays information about all RMAN backups (both image copies and backup sets) and archived logs.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/dynviews_1057.htm#REFRN30022
    Regards,
    Levi Pereira
    Edited by: Levi Pereira on Aug 17, 2011 12:07 AM
    Edited by: Levi Pereira on Aug 17, 2011 12:11 AM - Add V$BACKUP_FILES

  • Why does my iPad backup not show up in iTunes?

    Everytime I attempt to backup my iPad, the screen on the iPad goes to the Apple logo startup and either holds on that or intermittently comes back w/ the "Sync in Progress" message. I let it go all the way to completion...it appears in iTunes as if alll is normal (albeit slow). When it completes I check iTunes to see if it's available to restore from and it doesn't show on the list. My hard disk has obviously gotten 20 or so GB more full and there's a new backup file in the Mobile Sync library directory. I have scoured the message boards about this particular problem and have tried almost everything suggested. I delete the backup folder. I do a hard reset on the iPad. I have deleted and removed as much as I can from the iPad and gotten about 5GB of space. I upgraded my MBP OS from Leopard to Snow Leopard. Some have mentioned deleting and re-installing iTunes, but I figured the OS refresh basically was the equivalent of that. Any other suggestions? Could I/should I consider backing up to my work MBP or is the problem in the iPad itself? Would love to not have to wipe my iPad and lose music and other original files I don't have backed up. But also am patiently waiting to upgrade to iOS 5!
    iPad 32 GB WiFi
    MBP 2.2 GHz Intel Core 2 Duo
    4GB RAM
    Snow Leopard 10.6.8

    These are the instructions for that specific code.
    Error 40265xxxx: Errors of the 40265xxxx range generally occur during the restore-from-a-backup  phase, after  iOS has been installed on the device. Restoring the  device and setting up as new can resolve the issue. Before restoring as  new, take steps to preserve the previous backups created by iTunes, such  as copying the contents of the Backup directory onto the desktop. See iPhone and iPod touch:  About backups to learn where backups are stored for your  computer's operating system and additional precautionary notes regarding setting up as new. The  backups created by iTunes store data such as your SMS, Favorites,  Bookmarks, and other app data.
    Taken from this support site.
    http://support.apple.com/kb/TS3694#error40265
    I think you are going to have to restore as new. Deleting that MobileSync backup folder may have caused the problem. When you delete the backup from iTunes like I was asking about, you are only deleting one particular backup. If you have multiple iDevices - all of the backups would be in that one folder - I think that's how it works.
    Read the article - even though the heart and soul of it has been pasted into this link already.

  • Why are my RMAN backup files still around?

    Environment:
    Oracle 11.2.0.3 EE on Solaris 64-bit
    Good Morning (at least it's morning here at the moment),
    I have a test database that I currently have set up to do an Incremental Level 0 backup every morning at about 03:00.
    I also do an 'archivelog backup all' every 4 hours during the day.
    My archivelog deletion policy is 'backed up 2 times'.
    I have RMAN set up with a recovery window of 8 days (SHOW ALL - seen below).
    I have several RMAN files dated 11 days ago.
    Question: Why are these files still around?
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name APSMDMP2 are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 8 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 3;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE 5 G;
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT   '/rman/APSMDMP2/APSMDMP2_%T_%t_%s_%p';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/rman/APSMDMP2/APSMDMP2_%T_%t_%s_%p';
    CONFIGURE CHANNEL 3 DEVICE TYPE DISK FORMAT   '/rman/APSMDMP2/APSMDMP2_%T_%t_%s_%p';
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;
    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 2 TIMES TO DISK;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11203/db_1/dbs/snapcf_APSMDMP2.f';I do have several entries in V$ARCHIVED_LOG with a BACKUP_COUNT = 1 but they are all dated 21 days ago and have a DELETED status as seen here:
    SEQUENCE# ARC APPLIED   DEL S CTIME                         BACKUP_COUNT
          4625 YES NO        YES D 09-oct-2012 13:21:09                     1
          4626 YES NO        YES D 09-oct-2012 13:21:48                     1
          4627 YES NO        YES D 09-oct-2012 13:22:23                     1
          4628 YES NO        YES D 09-oct-2012 13:22:50                     1I am able to see the contents of the RMAN files but I don't see anything that would cause them not to be deleted during the RMAN runs. Here is an example of one of the files:
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    6493    Incr 0  22.75G     DISK        01:35:54     2012-10-19:04:36:13
            BP Key: 6493   Status: AVAILABLE  Compressed: YES  Tag: FULL_DAILY
            Piece Name: /rman/APSMDMP2/APSMDMP2_20121019_797050819_6508_1
      List of Datafiles in backup set 6493
      File LV Type Ckp SCN    Ckp Time            Name
      2    0  Incr 564035766  2012-10-19:03:00:19 /u05/oradata/APSMDMP2/sysaux01.dbf
      4    0  Incr 564035766  2012-10-19:03:00:19 /u05/oradata/APSMDMP2/users01.dbf
      5    0  Incr 564035766  2012-10-19:03:00:19 /u01/oradata/APSMDMP2/data_process_dt01_01.dbf
      9    0  Incr 564035766  2012-10-19:03:00:19 /u05/oradata/APSMDMP2/gmx_src_dt01_01.dbf
      10   0  Incr 564035766  2012-10-19:03:00:19 /u05/oradata/APSMDMP2/gmx_src_ix01_01.dbf
      12   0  Incr 564035766  2012-10-19:03:00:19 /u05/oradata/APSMDMP2/adm_data_ix01_01.dbf
      13   0  Incr 564035766  2012-10-19:03:00:19 /u05/oradata/APSMDMP2/patrol01_01.dbf
      16   0  Incr 564035766  2012-10-19:03:00:19 /u07/oradata/APSMDMP2/becosp_base_data_01.dbf
      18   0  Incr 564035766  2012-10-19:03:00:19 /u07/oradata/APSMDMP2/becosp_base_data_02.dbf
      27   0  Incr 564035766  2012-10-19:03:00:19 /u06/oradata/APSMDMP2/data_process_dt01_03.dbf
      30   0  Incr 564035766  2012-10-19:03:00:19 /u05/oradata/APSMDMP2/adm_data_dt01_02.dbfI do use the 'DELETE NOPROMPT OBSOLETE' after each database and archivelog backup. Here is my Incremental Level 0 command file:
    backup incremental level 0 cumulative database tag 'full_db';
    backup archivelog all not backed up 2 times tag 'full_arch';
    DELETE NOPROMPT OBSOLETE;I know I can remove the files manually and resync everything with a CROSSCHECK but I was trying to figure out why it happened in the first place.
    Any suggestions are most welcome.
    Please let me know if more information is needed.
    Thanks very much!!
    -gary

    garywicke wrote:
    Michael,
    I read Ed's thread and I understand about the timing of the Full (Incr Lvl 0) and the incrementals.
    In my case I'm not doing any incrementals (Incr Lvl 1) of the database, just Incr Lvl 0 every day. I do the archivelog backups during the day to keep the /arch mount point under control.
    So, if I have Incremental Level 0 backups on the 19th, 20th, 21st, 22nd, ..... With an 8 day recovery window I shouldn't need the ones from the 19th or 20th at a minimum and possibly the 21st depending on when the math is done. Right?
    Am I missing something?
    *************** NEWS FLASH ******************
    Whoops!!! Egg on my face! I just checked back in my email logs of the backups and now recall there were some disk space issues around that time that caused the backups to fail and it just so happens that the backups on the 20th, 21st and 22nd all failed.
    I should learn to trust RMAN more. It is obviously smarter than me!! :-)
    Sorry for the red flags. I'll do my homework more completely next time.
    Not a problem. We've all been there, done that.
    I can't tell you how many times I've been stuck on something, run out of ideas on my own research and thrown a question to the forum, and no sooner to I hit the 'send' button that a light goes on and I quickly get my own answer.
    At least I understand the recovery window scenario better.
    Thanks very much for the help and I'll see you the next time.
    Have a great day!
    -gary

  • HT1766 Why is my iCloud backup not showing up when i try to ste up my replacement iPhone?

    I just got my iPhone replaced and the man put all my data in iCloud. When I got to a Sprint store, the phone said there was no back up data. I've tried a million times and still can't do it. Please help.

    Are you running iOS 5.1.1?  If not, you may need to update the phone before you can access your backup.  (You can't restore the phone to a backup made on a phone running a newer version of the iOS than the phone you are restoring from.)

  • RMAN backups not using next available volume: uses next unlabeled volume

    Greetings.
    I've noticed that sometimes (haven't zeroed in on when yet) when RMAN backs up using OSB, the first tape in the library, an RMAN volume, is grabbed and backed up to.
    There are about 10 other RMAN-labeled volumes right below that first one. But RMAN will take an unlabeled volume further down in the library, label it as an RMAN volume, and proceed to back up to it.
    This is happening often enough where my library is filling up with partially used RMAN volumes.
    Three jobs (that I can see so far) are cron jobs calling an RMAN script. I'm looking for the other jobs which, I think, are run via OEM.
    Any thoughts?
    -Jeff

    Our daily backup is doing the same thing. That is, it's not backing up to tapes I assume it'll use. This is in the transcript:
    2010/06/08.22:00:17 (mmr) volset containing oid 21601 (vid PASDLY-000665, tag 000020L3, create_time 1275530931, mediainfo 0) is closed
    2010/06/08.22:00:17 (amh) 18 oid 21601 doesn't meet mount requirements - volume set is closed to further update (OB device mgr)
    2010/06/08.22:00:17 (mmr) volset containing oid 21607 (vid PASDLY-000667, tag 000114L3, create_time 1275617100, mediainfo 0) is closed
    2010/06/08.22:00:17 (amh) 19 oid 21607 doesn't meet mount requirements - volume set is closed to further update (OB device mgr)
    2010/06/08.22:00:17 (mmr) volset containing oid 21597 (vid PASDLY-000664, tag 000004L3, create_time 1275444068, mediainfo 0) is closed
    2010/06/08.22:00:17 (amh) 20 oid 21597 doesn't meet mount requirements - volume set is closed to further update (OB device mgr)Where do I find how the mount requirements are configured?
    -Jeff

  • RMAN: Backups not exipring after redundancy window.

    Hello,
    I run backup into sbt_tape and use the below block:
    run{
    ALLOCATE CHANNEL C1 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
    ALLOCATE CHANNEL C2 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
    ALLOCATE CHANNEL C3 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
    ALLOCATE CHANNEL C4 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
    backup incremental level 0 database filesperset=1 format '%d_L0_DF%f_%T_%u.dbf' tag 'DB_L0_DF_#_DT_UNQNO';
    backup current controlfile format '%d_L0_CF_%T_%u.ctl' tag 'DB_L0_CF_DT_UNQNO';
    backup incremental level 0 archivelog all filesperset=1 format '%d_L0_AL_%h_%e_%T_%u.arc' tag 'DB_L0_ARC#_DT_UNQNO';
    crosscheck backup of database;
    crosscheck backup of archivelog all;
    delete noprompt expired backup of database;
    delete noprompt expired backup of archivelog all;
    My backups run perfectly, but for some reason my backups don't expire even though my redudancy is set to 7 days.
    In my backup dest, I have backups as old as March '13, which should have been expired long time back.
    Any ideas what might be wrong?
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name IWTPR are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET;
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS  'SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/IWTPR/snapcf_IWTPR.f';
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/iwtpr/snapcf_iwtpr.f';
    Thanks in advance,
    aBBy.
    Env details: 4-Node RAC cluster running 11.2.0.3.4 GI/RDBMS on RHEL 5.6

    AB007 wrote:
    Hello,
    I run backup into sbt_tape and use the below block:
    run{ 
    ALLOCATE CHANNEL C1 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, 
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; 
    ALLOCATE CHANNEL C2 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, 
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; 
    ALLOCATE CHANNEL C3 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, 
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; 
    ALLOCATE CHANNEL C4 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, 
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; 
    backup incremental level 0 database filesperset=1 format '%d_L0_DF%f_%T_%u.dbf' tag 'DB_L0_DF_#_DT_UNQNO'; 
    backup current controlfile format '%d_L0_CF_%T_%u.ctl' tag 'DB_L0_CF_DT_UNQNO'; 
    backup incremental level 0 archivelog all filesperset=1 format '%d_L0_AL_%h_%e_%T_%u.arc' tag 'DB_L0_ARC#_DT_UNQNO'; 
    crosscheck backup of database; 
    crosscheck backup of archivelog all; 
    delete noprompt expired backup of database; 
    delete noprompt expired backup of archivelog all; 
    My backups run perfectly, but for some reason my backups don't expire even though my redudancy is set to 7 days.
    In my backup dest, I have backups as old as March '13, which should have been expired long time back.
    Any ideas what might be wrong?
    RMAN> show all; 
    using target database control file instead of recovery catalog 
    RMAN configuration parameters for database with db_unique_name IWTPR are: 
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS; 
    CONFIGURE BACKUP OPTIMIZATION ON; 
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE'; 
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; 
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default 
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default 
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET; 
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 BACKUP TYPE TO BACKUPSET; 
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; 
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1; 
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; 
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1; 
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS  'SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; 
    CONFIGURE MAXSETSIZE TO UNLIMITED; 
    CONFIGURE ENCRYPTION FOR DATABASE OFF; 
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; 
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE; 
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; 
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/IWTPR/snapcf_IWTPR.f'; 
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/iwtpr/snapcf_iwtpr.f'; 
    Thanks in advance,
    aBBy.
    Env details: 4-Node RAC cluster running 11.2.0.3.4 GI/RDBMS on RHEL 5.6
    You are confusing 'expired' with 'obsolete'.
    When a backupset is created, a record of that is placed in the control file.
    If you perform a 'crosscheck backup', rman checks those records against reaility.  If any backup is found to have gone missing, it's record is marked as 'expired'.  Follow that up with a 'delete expired backup', and the records of the missing (expired) backups will be removed from the repository.
    What you want is 'delete obsolete'.  That will delete any backup that is no longer needed to enforce the retention period.
    BTW, 'redundancy' and 'x days' are mutually exclusive.

  • How to find total size of RMAN backup files?

    Hi there
    env: Oracle 10gR2, RHEL 64bit
    My client has a production database where rman backups are taken: Level-0 backup every Sunday and Level-1 Monday thru Saturday.
    I have very limited access to this production database because it is being managed by third party and they won't provide me my required info (not sure why). I do not have access to their rman repository. To connect to the database I have to login to an intermediate server and then login to the database server. I have no access to Enterprise Manager. So in short, my access is limited. I want to gather the information on total size of rman backup files - both for a Level-0 and Level-1 backups separately. I understand that this info can be retrieved from rman repository. Are there any data dictionary views/tables where I may get this info?
    Best regards

    Hi,
    Have you searched in  forum check this:https://forums.oracle.com/thread/1097939
    HTH

  • Rman backup is too slow

    Hi
    I have oracle database (11gR1) 64 bit installed on Windows 2003 R2 64 bit server. MY DB size is almost 152 GB and its running in archive log mode. When i run RMAN online backup , Its taking too much time almost it has taken 22 Hours and still its running , I am not sure why it is consuming this much time ..
    I am using below RMAN script ...
    run {
    allocate channel ch1 type disk;
    backup FILESPERSET 32
    format 'F:\RMAN_BACKUP\%d_t%t_s%s_FULL' tag Full_DATABASE_07_july_13
    (database)
    CURRENT CONTROLFILE SPFILE;
    SQL "alter system archive log current";
    backup FILESPERSET 200
    format 'F:\RMAN_BACKUP\ARC_%d_%s_%t'
    (archivelog all);
    release channel ch1;
    Kindly help me and whats wrong in this please tell me . Also tell me if any other information needed ..
    Thanks & Regards,
    Vikash Jain

    hi, Till now RMAN backup not completed for single time so i cant tell how long it takes.
    I tried with parallelism 2 also but it is also not working.
    CONFIGURE DEFAULT DEVICE TYPE TO disk;   
    # backup goes to disk
    CONFIGURE DEVICE TYPE disk PARALLELISM 2;
    # three channels used in parallel
    CONFIGURE CONTROLFILE AUTOBACKUP ON;     
    #controlfile and spfile take backup automatically
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'F:\RMAN_BACKUP\%d_t%t_s%s_FULL' MAXPIECESIZE 10G; # 1st channel 
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT 'F:\RMAN_BACKUP\%d_t%t_s%s_FULL' MAXPIECESIZE 10G; # 2nd channel
    run {
          allocate channel chnnel1 type disk;
        allocate channel chnnel2 type disk;
    backup database tag Full_DB_090713_With_CH_02;
    SQL "alter system archive log current";
        backup archivelog all format 'F:\RMAN_BACKUP\ARC_%d_%s_%t';
    release channel chnnel1;
    release channel chnnel2;
    this also having below error ..
    RMAN-03009: failure of backup command on chnnel1 channel at 07/12/2013 10:38:31
    ORA-19502: write error on file "D:\APP\ADMINISTRATOR\PRODUCT\11.1.0\DB_1\DATABASE\86OEH1S5_1_1", block number 1476225 (block size=8192)
    ORA-27072: File I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 112) There is not enough space on the disk.
    channel chnnel1 disabled, job failed on it will be run on another channel
    released channel: chnnel1
    released channel: chnnel2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on chnnel2 channel at 07/12/2013 10:42:08
    ORA-19502: write error on file "D:\APP\ADMINISTRATOR\PRODUCT\11.1.0\DB_1\DATABASE\87OEHG94_1_1", block number 1476097 (block size=8192)
    ORA-27072: File I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 112) There is not enough space on the disk.
    I checked there is enough space on F drive but still its showing the above error , Also i cant see backup pieces in "F:\RMAN_BACKUP\" location ... I am sure whats wrong with the above script ...
    Thanks & Regards,
    Vikash Jain

  • RMAN Backup Clone

    Hi All,
    Oracle 10gR2. Usual RMAN backups are taken to tapes using HP Data Protector.
    Want to create a RMAN secondary backup (daily full backups) on the same SAN storage.
    So that we can restore very fast.
    What options do I have to take the backups.

    Hi,
    With backup as copy feature;
    in a case of failure, you can benefit the following example cases:
    RMAN> SWITCH DATABASE TO COPY;
    RMAN> sql 'alter tablespace users offline';
    RMAN> switch datafile 4 to copy;
    RMAN> recover datafile 4;
    RMAN> sql 'alter tablespace users online';
    What i understood is you have a production database which you backup to tape with HP data protector now.
    And i offer you forget direct backup to tape and, backup it to disk (FRA) first , then from FRA to tape.
    But you mention about primary database in your second post, do ypu backup from standby or something else?

  • Who takes RMAN backup?

    Hi all,
    I have an oracle 9.2.0.7 database instance on SLES9 sp3 64bit. And RMAN backup is taken every day by one who is I dont know although I changed sys and system passwords. It seems that the backup is taken on local machine, doesn't it? I looked at v$session_longops view then I saw backup is taken SYS user. Anyone doesn't have RECOVERY_CATALOG_OWNER role. I looked at crontab of oracle and root users, then I looked at dba_jobs. But I dont see anything about rman backup anywhere. I wonder who takes RMAN backup on my system?
    Regards
    İlke ALTINPULLUK

    hi,
    I sent one of my audit files. Then I looked at baandb machine's crontab but I didnt find anything. Then I looked at dba_jobs on baandb. I didnt find anything.
    my audit files like follow:
    Audit file /opt/oracle/oracle/product/9iR2/rdbms/audit/ora_27666.aud
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    ORACLE_HOME = /opt/oracle/oracle/product/9iR2
    System name:    Linux
    Node name:      baandb
    Release:        2.6.5-7.244-smp
    Version:        #1 SMP Mon Dec 12 18:32:25 UTC 2005
    Machine:        x86_64
    Instance name: gcam
    Redo thread mounted by this instance: 1
    Oracle process number: 22
    Unix process pid: 27666, image: oracle@baandb (TNS V1-V3)
    Thu Jan 13 01:05:50 2011
    ACTION : 'CONNECT'
    DATABASE USER: '/'
    PRIVILEGE : SYSDBA
    CLIENT USER: oracle
    CLIENT TERMINAL:
    STATUS: 0
    Dear EJR; I didnt understand what you mean?
    Edited by: ilke_altinpulluk on 20.Oca.2011 03:51

  • Why is Pfile not in RMAN - backup

    RMAN backups spfile together with controlfile. Why doesn't it support backing up pfile? Is is possible to configure it as to backup pfile too?
    Thx.
    Aliq.
    Message was edited by:
    user547746

    pfiles are obsolete, and you should stop using them.Incorrect ,obsolete means not usable but one can use it and one using it,you can say its not recommended,on the basis of human readable pfile you created spfile .
    Before spfile , pfile commented parameter mess the DBA when and what for used this parameter ,though DBA used comments by providing date and if it happens to change 20 times then he has to make comments 20 times ,with the invent of spfile you can save yours own pfile with dated version within filename i.e (initORCL15042008.ora) and then create the spfile from this pfile ,now you can maitnin yours pfile history easily as before.You can track when and what was changed.You can revert back to yours current instance as old one by creating spfile from oldpfile.
    To OP
    spfile is for single source of server parameters which is fact, thats why RMAN take spfile backup rather pfile.
    You can also change some dynamic parameter during instance working ,you can change it in the spfile as well within instance memory.
    Khurram

  • Why does power nap time machine backup not work on my August 2012 macbook pro retina?

    Hello. I got a MacBook Pro with retina display in August of this year 2012. I have done the SMC ? firmware update and I have 10.8.2 installed on my machine. Power nap still doesn't seem to work. I have the button in energy saver preferences and I have clicked it so it looks like power nap should work. When I am running Time Machine backup with the time capsule and I close the lid (plugged into power) it appears that no progress is made when I reopen the lid. I have closed the lid with activity monitor running and with network displayed. When I reopen the lid it may take up to one minutes to come out of sleep. When it does come out  of sleep I can see that there has been no network traffic.  Eventually, time machine backup resumes and I can see several megabytes per second. When I closed the lid overnight, just to make sure backup didn't restart after lid closing, I saw that no progress had been made in backup when I reopened the lid.
    What options are left if I already have 10.8.2 and I have done the required firmware?  One person has mentioned a clean install but I really don't like to have to reenter all the different passwords and all the different preferences again unless that's absolutely necessary. Are there any other options left to try before a clean install?
    One other bit of information.  I have filevault turned on; however, it looks like others have a working power nap even with file vault enabled.  If this is not an option, the power nap button should be grayed out when the machine is in filevault.
    Thank you for any help.

    Yeah I still have the same problem BTW; it still does not work.
    The second I open the lid and take it out of sleep mode, it starts to backup automagically, but when it's sleeping EVEN when it's connected to AC power, TM backups do NOT work to my OS X Server. 
    I don't understand what the problem is here.
    I didn't before but I do have FileVault turned on now -- should that make a difference?
    In either situation it didn't work, but now that I think about it, I could understand why it wouldn't backup while asleep.  Apparently the encrypted volume will stay encrypted during sleep and even at the lock screen; it's not until you open the lid and log in from the lock screen that it will unlock the encrypted boot volume.
    But even still, I did *not* have FV turned on before, and this still did not work.
    Is there some third party solution that can do what I want this to do?
    Here's my use case:
    1.) I have a mac mini at home that I use when I'm at home; it runs OS X server.app (bought and paid for) and has TM server turned on.
    2.) I have a laptop that I mainly use at work and I don't use at all when I come home (ie. when I'm ready to head home for the day I close the lid and don't open it until I'm back at work the next day, but the laptop does come home with me every day).
    What I want to have happen is this:
    1.) The minute my laptop enters my home wifi lan (even though it's still asleep with lid closed) I want it to automatically backup the boot drive.
    I thought that's what Power Nap was supposed to do, but then I found out that in order for this to work, you have to be connected to AC power; so then I tried that -- ie. every day I come home, I put my laptop in a docking station that has AC power, but TM backups while lid closed / sleeping STILL do not occur!
    Thanks for your help everyone...Looking forward to a solution that works.
    EDIT:
    I found this thread:
    https://discussions.apple.com/thread/4158709
    "It looks like Power Nap doesn't perform Time Capsule backups when the MacBook Air screen is closed."
    So apparently that is yet *another* requirement to get powernap working.  The lid can not be closed. 
    What is the difference between sleep with lid open and sleep with lid closed!?

Maybe you are looking for