Backups not deleting

Hi All
Here is our RMAN Configuration.
RMAN configuration parameters for database with db_unique_name test are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 32 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
CONFIGURE MAXSETSIZE TO UNLIMITED;
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/11GR2/dbs/snapcf_test.f'; # default
The backups are valid till 32 days. When i execute report obsolete today it shows even backup taken on 15th Dec.
Could anyone please explain on this?

user9244137 wrote:
Hi Johan
We take full backups on sunday.And incremental backup from mon-friday.
Sun-- Level 0
Mon-Fri--Level 1.
As per my understanding
For Today(17th) the last full backup will be on 15th plus the incremental backup on 16th. When rentention policy is set to 7 Days the backup taken on 8th would be expired.
Please let me know if my understanding is wrong.Well, no. Since you specify that you want to be able to recover your database to any time during the last 7 days (rentention policy is set to 7 Days), rman needs to save the latest full (incremental 0) prior to when the recovery window begins, plus the incremental leading up to this point (unless you have cumulative incremental backups).
I.e. If you want to restore the database as of friday noon, you need the full backup from last sunday, and then apply all changes since then, up to the last change prior to friday noon.
The full backup from last sunday (the 8:th) is outside the retention period, and should be obsoleted, but since there's no other way of restoring the data from last thursday (the 12:th, inside the retention window), rman will not mark the full backup as obsolete.
Have a look at the pictures here, these might be helpful.
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmcncpt.htm#BRADV99966
Brgds
Johan

Similar Messages

  • Cannot delete R&R backups, not enough space

    I have R&R V3.01.1037.00 installled on my son's laptop.  It has some old R&R backups which I want to delete.  I've run R&R from the Programs list and found the Advanced tab which allows me to delete backups ... however when I try and delete one it says (after confirmation prompt and "Please wait while the backups are deleted"):
    "Rescue and Recovery does not have enough disk space to perform the requested operation"
    and then doesn't do anything.  I've tried turning the Recycle Bin properties to "Do not move files to the Recycle Bin" in case this was the problem but that didn't help.
    Backup file is 15 GB (!), free space on disk is 5 GB.
    Solved!
    Go to Solution.

    leamphil, welcome to the forum,
    deleting the last backup that was made on it's own and then the others has worked for other members.
    Hope this helps
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • What would happen if I turn off my backup and delete backup data From my device? Will it delete my music and everything for ever or just stay in the cloud but not on my device?

    What would happen if I turn off my backup and delete backup data From my device? Will it delete my music and everything for ever or just stay in the cloud but not on my device?

    If you have multiple devices backing up to the Cloud, you will see all of them listed. You would click on each device to change what is backed up from that device. You can then delete your individual back-ups.
    Once you have all your settings to your liking, you can then go back to Settings>iCloud>Storage & Backup, and click on Back Up Now (bottom of the screen) to create a fresh backup with your new settings.
    Cheers,
    GB

  • How do I delete a folder that I moved to Trash from my external backup drive when a virus was detected? Trash will not delete the folder.

    I have tried unsuccessfully to remove a folder from Trash. My anti-virus program (Sophos) detected a virus which had to  be manually removed. I tried (unsuccessfully) to find and remove the infected file. I moved the Folder from my external backup drive and placed it in Trash. Now I cannot get Trash to delete the folder. It asks me if I wish to delete "unlocked" or "all" items. Either selection does not delete the folder. I went to change the permissions to "read & write" and unlocked the folder, but it is still there. I tried to "move" the folder from Trash back to the external harddrive but it seems I can only "copy" it and not "move" it. I am afraid that by copying it, I will not have the folder in two locations (Trash & External HD).
    Would appreciate any suggestions and guidance on this. I hope that I have explained the problem clearly!
    Thank you!

    Before deleting it we should know more about this folder and its contents.
    If it is invected and is using other apps, or other apps are still using it, then it cannot be deleted in the normal manner.
    You might contact Sophos and ask them about it.
    If you are using TM or have a backup of your system before the infection occurred, then you can delete the item(s) in Trash, but there is the possiblity of system corruption and the need for a reinstall, if any of these files are necessary for the OS to work properly, even though they are infected.
    Sophos may not have been able to remove the infection from inside a file which is why they suggested manual removal.
    You might consider downloading and running ClamXav first and see if it can't do better than Sophos.
    All that being said, you can always remove the contents of the Trash using the terminal. Usually as administrator, or in some cases as root (su). Unless you are very familiar with the terminal I do not suggest doing this without some study.

  • I'm having some difficulty with Time Machine.  It appears to be deleting backups from random dates on my external hard drive.  I am not deleting them.  Are they hidden and how do I prevent this from happening?  Can I retrieve them?

    I'm having some difficulty with Time Machine.  It appears to be deleting backups from random dates on my external hard drive.  I am not deleting them.  Are they hidden and how do I prevent this from happening?  Can I retrieve them?

    ... I didn't know that Time Machine was more a last resort back up instead of main back up.
    Don't rely upon Time Machine to the exclusion of all else. I compliment Time Machine with a periodic "clone". TM is much better than nothing, but it's a safety net, not a hammock
    Here is my understanding of Time Machine's file deletion algorithm, distilled from Pondini's FAQ, Apple's KB articles, and my own observations.
    Time Machine deletes ("thins") files from the backup disk as follows:
    Hourly backups over 24 hours old, except the first backup of the day
    Daily backups over 30 days old, except the first backup of the week
    Older backups get deleted when Time Machine requires space and you deleted them from the source disk.
    Therefore, assuming TM has been performing at least one backup per day, backup files will remain available:
    at least thirty days, if they existed on your Mac for at least a day
    until you run out of space, if they existed on your Mac for at least a week
    In addition to the above, Time Machine always keeps one complete copy of your source disk so that the entire volume could be restored if necessary. Any files that remain on your source volume will be present on the TM backup, no matter how old they are.
    If you are using 250 GB of space on your source disk, its Time Machine backups are likely to require at least twice that much. A good estimate of the minimum required backup volume size would be about three times the size of your source disk - 1.5 TB in your case.
    A more thorough explanation would require Pondini since he has plumbed Time Machine's mysteries far more than I have.
    http://support.apple.com/kb/HT1427

  • Time Machine Backup Error. Time machine could not delete the backup disk image .sparsebundle

    Time Machine is giving an error message.  Time Machine couldnt complete the backup.  I am using the Seagate GoFlex Home.  Error message states Time Machine could not delete the backup disk image "/volumes/Go Flex Home Backup/iMAc.sparsebundle".  Does anybody have any ideas?

    I have deleted all files in the Time Machine backup via Windows, Finder, and GoFlex UI.
    I think this is your problem.. you need to follow the exact setup from seagate to get TM running again.. please read the manual... I do not have one but I do have another brand of NAS and setting up TM involves a fairly complex set of instructions.. because it is not a native Apple device.. your computer does not recognise it as TM capable.. you need to use the work around the manual will explain.

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

  • Backup disk is full ... Time Machine not deleting old backups

    In my Time Machine preferences it says "The older backups are deleted when your disk becomes full." Well ... my disk is full but Time Machine is not deleting its old backups to make more room.
    So now TM is failing to backup.
    Any suggestions for freeing up some disk space and getting back to getting backed up?
    Thanks.
    Ramone

    ramonekalsaw wrote:
    In my Time Machine preferences it says "The older backups are deleted when your disk becomes full." Well ... my disk is full but Time Machine is not deleting its old backups to make more room.
    So now TM is failing to backup.
    What message does it send? See #C2 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html] (or use the link in *User Tips* at the top of this forum).
    It will show you how to locate the message(s) that describe the problem, then help you fix it. If that doesn't help, post back with details, including all the messages, your setup (especially the destination for the backups), what you've done, and the results.
    Any suggestions for freeing up some disk space and getting back to getting backed up?
    Do you have other data on the disk, in the same partition? If so, that's not a good idea, and may be the source of the problem. See #3 in [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of this forum).

  • Time machine not deleting old backups...

    I am on Mavericks 10.9.1 and get the following error:
    "The backup disk needs48.93 GB for the backup but only 30.99 are available.  Select a larger backup disk or make the backup smalled by excluding files."
    I recently had to unplug my external HD which I use for time machine back-ups, this error started when I plugged it back in just a few days ago.  I have exlcuded some files from the back up and still get the error.  My internal HD has 475.62GB of data on it, and I am trying to back up to a 500GB external HD, the total size of my backup is roughly 465GB. 
    Seems like I should have enough space for a back-up and TM should delete the old back-ups.  I have been through a search of the forum and online and have not found a solution.  Has anyone ran into this?
    Thanks for the help!

    I believe I was told that If you had older backups like ML and your disk is getting full it will not delete these because you are now backing up a new OS (Mavericks).  It only deletes older backups of the same OS you are now using.

  • Time machine not deleting old backups of recovery partition

    I have a Mac Mini running Lion Server. I have an external disk partitioned with a space for network backups and a smaller partition for backing up the server itself. The server has a 160GB disk, it is only using 29.27GB, the partition for backing up the server is 152GB (it's what was left over after creating the partition for the network backups). I figured since I'm only using about 30GB, 152GB should be plenty of space. However after 3 months of use I get the error "the backup is too large for the backup disk". In the past I have formatted the partition and restarted the backups, however it always fills up after 3 months. This time I decided to dig into it a bit more. I looked to see what was available in my backup, it only has one previous restore point. I browsed the disk and opened the backups.backupdb folder, checked the size of the folder with the computer name, it is only 9.44GB. I was wondering where all of the space went so I enabled hidden files, I found the .RecoverySets folder and found it was taking up 141.95GB. I looked at the recovery sets, there are 295 copies of com.apple.recovery.boot which all seem to contain the following files:
    .disk_label                         749b
    BaseSystem.chunklist       2KB
    BaseSystem.dmg              454.6MB
    boot.efi                              864KB
    com.apple.Boot.plist          431b
    kernelcache                       24.1MB
    PlatformSupport.plist         2KB
    SystemVersion.plist           478b
    Of those files, the only file not dated Aug 11, Oct 6 or 12, 2011 is com.apple.Boot.plist which has a date that corresponds to when the backup was performed. These backups go all the way back to Jan 30, the last time I formatted the partition, but the user data backups only go back to the 27th and it hasn't been able to complete a backup since.
    I thought Time Machine was supposed to only backup data that had changed since the last backup, and delete old revisions when space is running low, it seems that it is copying more than just the data that changed since the last backup and only deleting old revisions of user data, not system data. Is there a way to fix this permanently?

    See C18 in the first linked article. Also, your backup drive should be 2-4 times your hard drive capacity.
    Time Machine Troubleshooting
    Time Machine Troubleshooting Problems

  • I backup to an external hdd with Time Machine, when it ran out of space it did not delete old backups, now my internal hdd says its full when before it had heaps of space. I have searched for extra files but cant find any. Can anyone help, please.

    I backup to an external hdd with Time Machine, when it ran out of space it did not delete old backups, now my internal hdd says its full when before it had heaps of space. I have searched for extra files but cant find any. Can anyone help, please.

    First, empty the Trash if you haven't already done so. Then reboot. That will temporarily free up some space.
    To locate large files, you can use Spotlight as described here. That method may not find large folders that contain a lot of small files.
    You can also use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means.
    When you're done with ODS, quit it and also quit Terminal.

  • I have just tried to sync my iphone. Error message saying it cannot be synced has popped up quoting error code (-50). I have just removed old iphone backups from itunes but was very careful to not delete the current one. What does this code mean?

    Hi there,
    I have just tried to sync my iphone.
    Worryingly an error message saying it cannot be synced has popped up quoting error code (-50)
    I have just removed old iphone backups from itunes but was very careful to not delete the current one
    What does this code mean?

    http://support.apple.com/kb/TS1583

  • Does not say "The oldest backups are deleted when your disk becomes full."

    I am helping someone set up her backup, but I noticed that in the Time Machine window, there is no line that says: "The oldest backups are deleted when your disk becomes full."
    She is running Mac OS 10.5.8, on a 2.66 GHz Quad-Core. Her first backup ran fine, but we're concerned that it will not delete older backups automatically to make space.

    It works differently in Leopard and Snow Leopard.
    In Leopard, the box is titled +Warn when old backups are deleted,+ and Time Machine will fail with a message when it runs out of room and that box is checked.
    On Snow Leopard, the title is +Notify after old backups are deleted,+ and that's what happens -- the old backups are deleted, then you get a notice.
    See #C4 in Time Machine - Troubleshooting (or use the link in *User Tips* at the top of this forum).

  • Deleting expired backup not working.

    Hi,
    I am cleaning up the backup by deleting all the expired backups. My OS is RHEL 4 and DB is 10.2.0.3 and the backup is Veritas Netbackup using RMAN
    Recovery Manager: Release 10.2.0.3.0 - Production on Mon Mar 28 12:51:16 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database: WHSEPROD (DBID=2974933951)
    connected to recovery catalog database
    RMAN> delete expired backup;
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: sid=136 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_1: Veritas NetBackup for Oracle - Release 6.5 (2007072400)
    allocated channel: ORA_SBT_TAPE_2
    channel ORA_SBT_TAPE_2: sid=145 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_2: Veritas NetBackup for Oracle - Release 6.5 (2007072400)
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=181 devtype=DISK
    List of Backup Pieces
    BP Key  BS Key  Pc# Cp# Status      Device Type Piece Name
    255513  255464  1   1   EXPIRED     SBT_TAPE    arch-s254-p1-t662126514
    484866  484825  1   1   EXPIRED     SBT_TAPE    arch-s5711-p1-t680801187
    1256712 1256637 1   1   EXPIRED     SBT_TAPE    arch-s257-p1-t724703694
    1433633 1433540 1   1   EXPIRED     SBT_TAPE    arch-s5681-p1-t733340847
    Do you really want to delete the above objects (enter YES or NO)? yes
    deleted backup piece
    backup piece handle=arch-s254-p1-t662126514 recid=254 stamp=662126515
    deleted backup piece
    backup piece handle=arch-s5711-p1-t680801187 recid=5674 stamp=680801188
    deleted backup piece
    backup piece handle=arch-s257-p1-t724703694 recid=254 stamp=724703695
    deleted backup piece
    backup piece handle=arch-s5681-p1-t733340847 recid=5674 stamp=733340848
    Deleted 4 EXPIRED objects
    RMAN> delete expired backup;
    using channel ORA_SBT_TAPE_1
    using channel ORA_SBT_TAPE_2
    using channel ORA_DISK_1
    List of Backup Pieces
    BP Key  BS Key  Pc# Cp# Status      Device Type Piece Name
    255513  255464  1   1   EXPIRED     SBT_TAPE    arch-s254-p1-t662126514
    484866  484825  1   1   EXPIRED     SBT_TAPE    arch-s5711-p1-t680801187
    1256712 1256637 1   1   EXPIRED     SBT_TAPE    arch-s257-p1-t724703694
    1433633 1433540 1   1   EXPIRED     SBT_TAPE    arch-s5681-p1-t733340847
    Do you really want to delete the above objects (enter YES or NO)?Even after it says it deleted 4 EXPIRED objects, why does it show those same four pieces? How can I get rid of it? Obviously, it is EXPIRED, so I don't need it. I ran crosscheck command too. That didn't worked. I ran the delete with force and obsolete options too. They also did not worked. Please help. What am I missing?

    I tried that change command. But I am getting
    RMAN> change backupset completed before '01-Jan-2011' uncatalog;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of uncatalog command at 04/06/2011 12:55:34
    RMAN-06122: CHANGE .. UNCATALOG not supported for BACKUPSET
    The action change suggested was to use
    RMAN> change backupset ....  delete;
    This says deleted. But again when I list backup this shows.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • HT3275 Is it possible to delete older backups manually? I have tried and the files will not delete (Files remain in trash when emptied)

    Is it possible to delete older backups manually? I have tried and the files will not delete (Files remain in trash when emptied)
    I am Backing up to a Lacie HD 1tb.
    I also use the drive to store Current work on as well as my Time Machine Backup.
    Thanks!

    Read the following link to get a clearer idea on how to approach trash problems.
    Solving Trash Problems    and this is a link to download Trash it. 
    Download Trash It! for Mac

Maybe you are looking for

  • Delivery report shows status of Pending for external address. Email sent to both internal and external addresses.

    We have an Exchange 2013 on-premise server and seem to have an issue with emails sent to internal and external users at the same time. The issue came to light because someone sent an email to 44 recipients, of which one was internal. None of the exte

  • Black screen after login. Windows 8 is not opening

    After login,  I only have a black screen with a cursor.  Windows 8 does not open. Cannot get to "System Restore" or Control Panel. HP hardware self- diagnostic tests were negative & didn't help. Please offer possible solutions for recovery.

  • Date format in  DD/MM/YYYY HH:MM:SS

    I have some date data coming from microsoftsql database, iawant to convert and display in this format can any one help me i want in this format DD/MM/YYYY HH:MM:SS thanks

  • Calling Methods in BADI

    Hi, Can anyone tell me how to invoke a method in a BADI from another method which is in the same class. Sample code will be more useful. Thanks Sowmmya VB

  • Print - JTable with a TITLE on each page

    Hi! someone know haw can I print a MY TITLE on each page that I print ? ----->MY TITLE<---- | co1 | col2 | col3 | col4 | |dtxxz|dtxyz|dtxyz|dtxyz| |dtxxz|dtxyz|dtxyz|dtxyz| |dtxxz|dtxyz|dtxyz|dtxyz| PAGE 1 I try that : g.drawString("MY TITLE", 100,50