Can't delete obsolete and expired backups.

Every Sundays I create 0 level backup.
Every Thuesdays I create 1 level comulative backup.
Every other days I create 1 level incremental backup.
Sometimes I need a free space for new backups and I try clean old backups.
As I can understand, rman remove backups from 'list backup', but doens't delete physically from disk storage.
SQL> select banner from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE     11.2.0.2.0     Production
TNS for Solaris: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
0 level backup
CONNECT TARGET / ;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u06/backup/df_%d_%s_%U';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u06/backup/cf_%F';
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u06/backup/snapcf.f';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE MAXSETSIZE TO 20G;
BACKUP CURRENT CONTROLFILE;
BACKUP INCREMENTAL LEVEL 0 DATABASE FILESPERSET 100 ;
BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
RESTORE VALIDATE DATABASE;
RESTORE VALIDATE CONTROLFILE TO '$ORACLE_BASE/admin/rman_scripts/cf_tmp.ctl';
RESTORE VALIDATE SPFILE TO '$ORACLE_BASE/admin/rman_scripts/spf_tmp.ora';
RESTORE VALIDATE ARCHIVELOG FROM TIME 'SYSDATE-4';
REPORT NEED BACKUP;
DELETE OBSOLETE;
LIST BACKUP;
LIST BACKUP SUMMARY;
1 level comulative backup
CONNECT TARGET / ;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u06/backup/df_%d_%s_%U';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u06/backup/cf_%F';
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u06/backup/snapcf.f';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE MAXSETSIZE TO 20G;
BACKUP CURRENT CONTROLFILE;
BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE FILESPERSET 100;
BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
RESTORE VALIDATE DATABASE;
RESTORE VALIDATE CONTROLFILE TO '$ORACLE_BASE/admin/rman_scripts/cf_tmp.ctl';
RESTORE VALIDATE SPFILE TO '$ORACLE_BASE/admin/rman_scripts/spf_tmp.ora';
RESTORE VALIDATE ARCHIVELOG FROM TIME 'SYSDATE-4';
REPORT NEED BACKUP;
DELETE OBSOLETE;
LIST BACKUP;
LIST BACKUP SUMMARY;
1 level incremental backup
CONNECT TARGET / ;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u06/backup/df_%d_%s_%U';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u06/backup/cf_%F';
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u06/backup/snapcf.f';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE MAXSETSIZE TO 20G;
BACKUP CURRENT CONTROLFILE;
BACKUP INCREMENTAL LEVEL 1 DATABASE FILESPERSET 100;
BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
RESTORE VALIDATE DATABASE;
RESTORE VALIDATE CONTROLFILE TO '$ORACLE_BASE/admin/rman_scripts/cf_tmp.ctl';
RESTORE VALIDATE SPFILE TO '$ORACLE_BASE/admin/rman_scripts/spf_tmp.ora';
RESTORE VALIDATE ARCHIVELOG FROM TIME 'SYSDATE-4';
REPORT NEED BACKUP;
DELETE OBSOLETE;
LIST BACKUP;
LIST BACKUP SUMMARY;
Try delete old backups:
CONNECT TARGET / ;
RMAN> CROSSCHECK BACKUP;
Crosschecked 173 objects
RMAN> DELETE EXPIRED BACKUP;
using channel ORA_DISK_1
specification does not match any backup in the repository
RMAN> DELETE OBSOLETE;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 3 days
using channel ORA_DISK_1
no obsolete backups found
RMAN>
Edited by: 848540 on 31.10.2011 23:15

I try to ask one more time.
I make all backups in the folder \u06\backup.
I make full backups every week.
After command "crosscheck backup" all backups older 2 weeks must be mark as "OBSOLETE". This operation works correctly, becouse in "list backup" i look all backups for last two weeks and no older (for today they all made earlyer then 06/11/2011)!
After crosscheck operation i try to delete old backups from HDD.
RMAN> delete expired backup;
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=2 device type=DISK
specification does not match any backup in the repository
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 3 days
using channel ORA_DISK_1
no obsolete backups found
But after this operation I look in my backup folder files since 02/10/2011. How to sync backups (delete obsolete backups from HDD) in rman list (command 'list backup') and in operation system list (command 'ls' in sun10)?
Edited by: 848540 on 14.11.2011 0:32

Similar Messages

  • RMAN OBULETE and Expired Backup

    HI Experts
    i need a query which can tell me about my expired backups and Obsolete backups . my recovery window is of 14 days
    My database version is 10g(10.2.0.4) on AIX 6.1
    regards,

    AMIABU wrote:
    HI Experts
    i need a query which can tell me about my expired backups and Obsolete backups . my recovery window is of 14 days
    My database version is 10g(10.2.0.4) on AIX 6.1
    regards,Use command:
    Rman > crosscheck backup;
    Rman > crosscheck archivelog all;
    Rman > list backup;
    Rman > list archive logall;
    Expired Backup: List Expired
    Then use report obsolete command it show the backup that you dont need it and after that use Delete obsolete command
    It will delete the backup that you dont need it.
    The term obsolete does not mean the same as expired. In short obsolete means "not needed " whereas expired means "not found."
    reference: http://download.oracle.com/docs/cd/B14117_01/server.101/b10734/rcmconc3.htm
    http://www.geekinterview.com/question_details/66392

  • Please help.. I have just tried to install lion on my iMac and it can't complete because of 'disk error'.. can i delete lion and go back to leopard as there was no problem there?? can't get past grey screen

    Please help.. I have just tried to install lion on my iMac and it can't complete because of 'disk error'.. can i delete lion and go back to leopard as there was no problem there?? can't get past grey screen

    Just restore your bootable backup/clone or Time Machine backup.

  • HT201250 I only want to keep the latest backup version of my files.  Can I delete all the earlier backups & if so, how?

    I only want to keep the latestTime Machine backup version of my files.  Can I delete all the earlier backups to save my external drive space, & if so, how?

    Jamarac wrote:
    I only want to keep the latestTime Machine backup version of my files.  Can I delete all the earlier backups to save my external drive space, & if so, how?
    Doesn't sound like much of a backup plan, but why not just wipe your backup drive and make a fresh backup of your current system? Be easier and safer,
    Cheers
    Pete

  • Can I delete individual Time Machine backups using Finder

    I recent fount necessary to do a complete install and restore.  As I was having trouble with system performance, I chose to restore Applications from Time Machine and set the system parameters manually.  In the process, I wound up with some very large (50 Gbytes) on my Desktop.  I neglected to turn off time Machine backup while doing the restoration and wound up with several big(!) files in the back ups taken during the restoration.  There is nothing useful on the backups taken during the restoration and they have really filled  up my backup disk.  Looking at the structure of the backup disk, it seems you could just delete the backups after I started to restore things.  Are there other considerations?  Are there hidden tables laying around that might become unsynchronized?

    Hi Kappy,
         Thanks for the lead.  I did not realize there were these capabilities other than restoration in Time Machine.  I looked in the help for Time Machine and found this
    "You can move, copy, or delete the Backups.backupdb folder on your Time Machine backup disk as you would other folders. You can also delete folders within the Backups.backupdb folder. You can’t delete individual items inside the dated folders."
         Seems like I can just delete, with the Finder, the backups taken after I started the restore.

  • I have two Apple ID, how can I delete one and use the email address associates to the main one?

    I have two Apple ID, how can I delete one and use the email address associates to the main one?

    If you abandon one of the Apple IDs you will also basically be abandoning any content that you have acquired with that Apple ID. Content can only be updated and re-downloaded with the Apple ID that was used to buy it. Apple will not combine the content of Apple IDs and Apple will not transfer the content from one Apple ID to another Apple ID.

  • I have apps from old work account that I can't remember the password to. On my personal phone those apps keep showing up but I can't update them because I can't remember the password. How can I delete them and download on my new account?

    I have apps from old work account that I can't remember the password to. On my personal phone those apps keep showing up but I can't update them because I can't remember the password. How can I delete them and download on my new account?

    Tap and hold an app until they all start jiggling and an X appears in the icon's top left corner. One by one tap the X to delete the app. when they are all gone you are free to buy them again with your own account.

  • I just downloaded the newest version of Itunes.  I can't delete anything and I can't sync to my MP3 player.  I tried deleting it and installing an earlier version of Itunes but it can't read the library.  Please help.

    I just downloaded the newest version of Itunes on my Windows 7 PC.  I can't delete anything and I can't sync to my MP3 player.  I tried deleting it and installing an earlier version of Itunes but it can't read the library.  Please help.

    With iTunes 11 on PCs the drop-down menus are hidden by default - control-B should get the menus to show
    This screenshot is from a Mac, but it should be similar on a PC :

  • I downloaded a song on iTunes, it won't play (it's name is grey), it shows up in purchased and says "play", but it won't play, I can't delete it, and I can't re-download it.....this is confusing please help!!

    I downloaded a song on iTunes, it won't play (it's name is grey), it shows up in purchased and says "play", but it won't play, I can't delete it, and I can't re-download it.....this is confusing please help!!

    Hello CTGame,
    Welcome to Apple Support Communities.
    It sounds like there’s a grayed out song in your iTunes library that can’t be played or downloaded again like other past purchases. Try taking a look at the article linked below and verify the computer is authorized to play that content.
    How to troubleshoot iTunes Match - Apple Support
    Songs appear to be missing
    Songs containing DRM (Digital Rights Management) might not appear in iCloud, or might appear grayed out. This can occur if your computer is not authorized to play that content. Try authorizing your computer, then manually update iTunes Match. To determine what Apple ID your computer needs to be authorized for to play a specific song:
    Locate and select the song in your iTunes library.
    Choose File > Get Info.
    In the Summary tab, locate the Account Name field in the right column. Write it down.
    Click OK.
    Choose Store > Authorize this Computer.
    Type in the account name from the Summary field and enter its password. Click Authorize.
    Choose Store > Update iTunes Match.
    So long,
    -Jason

  • I am freeing up some space and am using osx lion, but i have 12gb of back ups, how can i delete these and what are they?

    I am freeing up some space and am using osx lion, but i have 12gb of back ups, how can i delete these and what are they?

    Gotcha.
    Back-ups are what they are: a safety copy. If you feel you don't need them, you can trash them. They could be of a previous System if you upgraded, or something else. You wont get the full picture from looking at system profiler.
    You may want to look into getting an external drive and offloading some stuff to it.

  • I have two new problems that started today- I can't delete drafts and I can't move emails from my inboxes to folders in mailboxesleft column ( I work on a MacBook 10.7.5- I have 2 active email accts in Apple Mail

    I have two new problems that started today- I can't delete drafts and I can't move emails from my inboxes to folders in mailboxes in the far left column. I work on a MacBook 10.7.5- I have 2 active email accts in Apple Mail. Any suggestions for steps I can take short of going to genius bar?

    However after part of the Itune update completed a message came up on the screen
    saying   "The feature you are trying to use is on a net work resource that is unavailable.
    Which particular .msi file does the message go on to say cannot be found? (Several different .msi files might be mentioned in this context: itunes.msi, bonjour.msi, AppleSoftwareUpdate.msi, etc.)

  • Can I delete Mail and then reinstall?

    Am a new user with an iPad 2 and with Mail did a sync to bring in my Outlook contacts. Somehow it found some old contact folders too and now have a totally cluttered contacts list!
    Can I delete Mail and download it and start again?
    Thanks

    You cannot delete the application, but you can delete the account.
    In Settings, just select the account with the messed up contact list and choose to delete all the info from the iPad 2.
    Then, find the mistakes and extra contacts in Outlook, take care of them, and re-sync your iPad.

  • My external drive won't mount. Disk Utility says it can't repair disk and to backup the disk and reformat, but how can I do that if it won't mount?

    My external drive won't mount. Disk Utility says it can't repair disk and to backup the disk and reformat, but how can I do that if it won't mount?

    See mount section in 1st linked article.
    Disk Unmount Using Terminal
    Disk Utility – Force Mount Disk

  • I'm using my new imac and now my safari is redirecting me to a russian search engine which is "yandex.ru" !! I can only enter a few websites without being redirected... !!! is that a virus and if yes how can I delete it and get! Do I have to have AV !

    I'm using my new imac and now my safari is redirecting me to a russian search engine which is "yandex.ru" !! I can only enter a few websites without being redirected... !!! is that a virus and if yes how can I delete it and get! Do I have to have Anti virus !
    Please help me ASAP!
    Thanks
    Dee

    safari is redirecting me
    Dee....
    It's not a virus.
    Your ISP (Internet Service Provider) is redirecting your browser. Use Open DNS to avoid that. Open DNS adds security and anti phishing filters and it's free.
    Open System Preferences / Preferences then select the Network tab. Click the Advanced tab then click the DNS tab.
    Click +
    Enter these numbers exactly as you see them here.
    208.67.222.222
    Click +
    208.67.220.220
    Then click OK.
    More about OpenDNS here.
    Topic : Manually provided DNS server addresses are higher priority than DHCP's
    http://www.opendns.com/newsletter

  • ITunes Match is having errors d/l songs to my iPhone 4s. Then I can't delete them, and it says some songs are playing when they aren't. I've restored my iPhone, same issue.

    iTunes Match is having errors d/l songs to my iPhone 4s. Then I can't delete them, and it says some songs are playing when they aren't. I've restored my iPhone, same issue.

    According to this article  Using iPhone on an airplane  you should be able to listen to music with Airplay Mode enabled.
    Make sure you have Music switched on in Settings > Store or your music won't download via Wi-Fi.

Maybe you are looking for

  • Display error message in portal

    Hi, I am working on SRM Netweaver portal. Can you please tell me how to display an error message in the portal. I tried using the function module BBP_PD_MSG_ADD. But it fails as it is not able to find the log. Thanks, Hema.

  • [SOLVED] GNOME Shell 3.4 : Volume Control Missing

    Hi all, I have an Acer netbook with Arch Linux i686. I installed GNOME-Shell 3.4, but there is no volume control applet. When playing music, i can't control the volume. Can you help me? (Sorry for my bad English) Last edited by masnormen (2012-06-05

  • 2nd HDD Bracket for SFF P300?

    I recently purchased a Thinkstation P300 SFF machine that came configured with a 3.5" 1TB primary HDD. I would now like to add a second 3.5" hard disk drive, but I need a bracket to install it into. That should be simple, right? Unfortunately, after

  • Could not read from the source. Please check if it has moved or been deleted

    hi all, when i try to render a afx project from media encoder i get the following message "Could not read from the source. Please check if it has moved or been deleted" i've read on the forum that this is due to an old installation of Premiere. I'm u

  • Facing problems in LMS 3.0.1 ( IPM not making graphs / visuals )

    Yes. I think i am doing some mistake. 1. i have two switches. both are 6509. 2. i have configured snmp properly and can see them in rme and can do ssh also to them from cisco works 3. in ipm i try to pull reports i says "no data to poll " 4. i have t