Delete of archivelogs after backup

rman 9.2.0.4.0
aix 5.2.0.0
we have the following problem:
when rman backups and deletes archivelogs, the disk-space in the arch-dest remains occupied for a while.
our arch-dest went full, so we did a backup with delete all input. but as we could see in the alert-file, after rman ended, there was still a write-problem to this arch-dest. df-k . showed 100%. but later (we don't know exactly when) the space was free.
is this a normal behavior of rman / aix?

You can backup the archives and delete them once you back them up.
RMAN>backup archivelog all not backed up 1 times delete input;If you have archives that have been backed up and still existing on the disk, then you can try as:
RMAN>delete archivelog all completed before 'SYSDATE-5';This deletes archives that were generated 5 days back but make sure that they have been backed up before deleting.

Similar Messages

  • Unable to delete the iPhone4 old backup data after move to iPhone5 ToT HELP!!

    Unable to delate the iPhone4 old backup data after move to iPhone5 ToT
    How can I delete the old phone backup file to release iCloud space?

    I have done some digging, but no dice. It seems to be a known bug in the system. Some suggested going to an Apple Retail Store about the problem, but no solutions as of yet. Sorry I couldn't be more help.
    One board post I saw said taking it to the retail store did get it fixed for him. Maybe you will have the same luck?

  • One of the e-mails in my ipad deletes messages automatically after reading without backup.  what do I do to correct this so that my mails would remain in the inbox after reading for reference purpose

    One of the e-mails in my ipad deletes messages automatically after reading without backup.  What do I do to correct this so that my mails would remain in the inbox for reference purpose?

    As you are on a residential service you have to wait for engineer availability priority is given to Business users as they get a different service level agreement also using a residential line for business use can leave you open for suspension or cancellation of service as it breach's the terms and conditions
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Time machine is deleting all my old backups after moving to different iMac

    Hi - I had to move my data to a different machine and so I prepared a different iMac (early 2008). This is what I did:
    I booted into Snow Leopard from my DVD
    erased the HD
    installed SL 10.6
    booted into SL
    ran software update to upgrade to 10.6.8 (to get the App Store)
    installed Mountain Lion 10.8.2
    used Migration Asistant to restore all my data, apps, and settings from my time machine backup
    This all worked fine and at some point time machine asked me whether to inherit the time machine history. I confirmed this and all seemed fine until I noticed that time machine was backing for a long time and a lot of space was being freed on the time machine volume. I found that it was deleting all my old backups. Before I had data going back to 2010 but now I only have backups left from JAN 2012 onwards.
    After some searching I found the excellent Pondini time machine site and performed the actions under B6 ("Reconecting" to your backups):
    exxi:~ michael$ sudo tmutil inheritbackup /Volumes/tm2/Backups.backupdb/exxi
    Password:
    exxi:~ michael$ sudo tmutil associatedisk -a / /Volumes/tm2/Backups.backupdb/exxi/2013-02-03-150320/exxi_hd
    I restarted the backup after applying the command above but it still is deleting old backups. I tried the same comand by associating it with an older backup but still it keeps deleting my backups.
    What can I do to stop it from erasing all my backups?
    Cheers
    Michael

    Just found this info in the Backup dashboard widget:
    Starting manual backup
    Backing up to: /Volumes/tm2/Backups.backupdb
    Inheritance scan required for /, associated with previous UUID: [deleted]
    Event store UUIDs don't match for volume: exxi_hd
    Deep event scan at path:/ reason:must scan subdirs|new event db|
    First backup after disk inheritance for / - complete scan required
    Finished scan
    Found 839161 files (154.88 GB) needing backup
    188.83 GB required (including padding), 145.37 GB available
    Deleted backup /Volumes/tm2/Backups.backupdb/exxi/2012-03-04-160328 containing 2.25 GB; 147.63 GB now available, 188.83 GB required
    Deleted backup /Volumes/tm2/Backups.backupdb/exxi/2013-02-05-181442.inProgress/57E7F008-929C-4 DF8-B062-F034FEE7A606 containing 4 KB; 147.63 GB now available, 188.83 GB required
    Deleted backup /Volumes/tm2/Backups.backupdb/exxi/2013-01-07-112745 containing 130.8 MB; 147.76 GB now available, 188.83 GB required
    Removed 3 expired backups so far, more space is needed - deleting oldest backups to make room
    Deleted backup /Volumes/tm2/Backups.backupdb/exxi/2012-03-11-191620 containing 2.08 GB; 149.86 GB now available, 188.83 GB required
    Removed 4 expired backups so far, more space is needed - deleting oldest backups to make room
    Backup deletion was canceled by user
    Deleted 4 backups containing 4.46 GB total; 149.86 GB now available, 188.83 GB required
    Backup date range was shortened: oldest backup is now Mar 31, 2012
    Backup canceled.

  • URGENT-Does Erase all Data and restoring from a previously made backup permanently delete text messages after that backup??

    Does restoring from a previously made backup permanently delete text messages after that backup?
    I made a Icloud back up two days ago. I have text messaged and sent emails since. I haven't backed up again yet and I was wondering that if I erase my phone and back up to that Icloud Back up made two days ago, the texts and emails I have sent SINCE then will be permanently deleted? AKA they can never be found again by anyone?

    That is correct you can only get back data that was backed up.

  • Server Does not start after backup complition

    Dear All,
    We are facing following problem some times after backup completion.
    Our Setup is : SAP ECC 6, Oracle 10g, HP-UX 11.31.
    We are scheduling the whole database offline + archive log backup during night.
    After completion of backup the SAP does not start. I have checked the following things.
    1. Database is started : OK.
    2. SAP related services at O/S level : OK
    3. Listener is OK
    4. No startup log generated related to SAP
    But I am not able to connect to SAP thru SAP GUI.
    If I tried to start SAP using startsap it will not respond for long time. Even I have tried to startsap after shutting down database, kill all SAP related services at O/S level. But startsap doesn't respond.
    When I restart the server, after that I am able to start SAP.
    Is there any memory fragmentation related problem ?
    Before some time same thing is happened with our production server, but at that time I have deleted Archivelog files manually before tacking backup. In this case if I take backup "whole database offline + archive log " then server doesn't start. At that time also I have to restart the server. So the Problem is identified.
    But in this case i.e on our Quality Server not able to trace out problem.
    Thanks in Advance,
    Nirav

    Hi,
    Yes the problem is related to memory. I think during the backup  memory is allocated but not release after completion of database backup.
    in case of archive log backup what option your are using means are you using save and delete option  or other.
    In the case of the production server archive log backup you to use to the option  save and delete.
    Please also check wheather core file getting gernerated should be deleted frquently from work folder.
    Thanks & Regards,
    Vidyadhar K

  • RMAN-08138: WARNING: archived log not deleted - must create more backups

    I ran:
    1. CROSSCHECK ARCHIVELOG ALL
    2. DELETE EXPIRED ARCHIVELOG ALL
    I am getting this error. I am trying to free my arciver after an ORA-00257 error.
    Can anyone help me out?

    Basically this error means you are trying to delete archivelogs still needed for recovery (according to your retention policy). Develop a strategy which backs up the archivelogs in regular intervals, after a successful backup delete the archivelogs from disk, for example:
    backup archivelog all delete all input;
    Werner

  • Archivelog RMAN backup

    In my database I have configured rman backup.
    when i use the following command to perform archivelogs backup, it delete all archive logs after the backup. I want to keep 3 days retention on my server after completion of archivelog all backup. Can any one guide me pls.
    backup archivelog all delete input format 'ARC_%d_%s_%p.bks' ;

    If you use delete input command then it will take the backup of your available archivelogs and delete them from the archive destination. Just exclude the delete input command and try again.
    backup format '/oracle/rman_backup/RMAN_ARCH_SMS<%s:%t:%p>.bkp' archivelog all;
    Also, connect into RMAN prompt and to keep retention of 3 days run the command.
    RMAN > CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
    RMAN > show all;
    Regards
    Asif Kabir
    Edited by: asifkabirdba on Mar 16, 2010 11:57 AM

  • Cannot delete old iPad iCloud backup "because it is in use"

    I previously owned an iPad 3 which I sold a few weeks ago. After buying an iPad Air, I restored it from the iPad 3 backup in iTunes, and now I want to delete the iCloud backup of the old iPad 3. However, when trying to delete the iCloud backup I get the popup:
    "This backup cannot be deleted because it is in use."
    I've tried to delete the iPad 3 iCloud backup both from my iPad Air and on my iPhone 5 devices, but the same popup appear. Worth mention is that after buying the iPad Air, I first tried to set it up from the iPad 3 iCloud backup, but all items wasn't fully restored, so decided to restore the new iPad Air from the iPad 3 backup in iTunes.
    Is the anyone who has experience the issue of not being able to delete an old iCloud backup? How can I try to solve it? I've tried to restart my devices and I've also deleted both my iPhone 5 iCloud backup and my new iPad Air backup, but it's still not possible to delete the old iPad 3 backup.

    Hi, I'm having the same issue.  I found this in the Apple Support page
    You'll be notified if a backup is in use.
    If you try to delete a backup but get an alert that the backup is in use, wait 48 hours before trying again. A backup is considered in use if it was recently created by another iOS device or is being restored by another iOS device. If you can't delete the backup after 48 hours, contact Apple Support.
    Find the full article here: iCloud: Deleting an iCloud backup
    Hope this helps.
    H

  • How to Delete Non-System State Backups in Windows 2008R2

    Hello,
    I am running a Windows 2008R2 server which uses Windows Server Backup to do the backups. We are using the backup-tool to create non-system state backups of the data-directories on this machine. The backup is done on a dedicated disk connected through iscsi
    (to a Synology box). This backup disk has become too small and we have now replaced the Synology box with a bigger one. Here i created a new LUN again for the backup purposes.
    Now for my question; The wbadmin.exe tool supplied with W2008R2 does not offer a way to delete the old backups. I know that in Win2012 (which we we also have running) I could add the new iscsi location and then (when enough backups are available on the new
    target) use wbadmin.exe delete backup  to delete the old non-system state backups; e.g.
     wbadmin delete backup -version:08/07/2013-21:00
    This (very undocumented) feature of Windows 2012 and higher works quite nice and is exactly what i am searching for on the W2008R2 machine; a way to delete the old backups (and under the hood delete the corresponding snapshots)
    I've done quite a bit of research and it should be possible to do something similar in 2008 but then manually, The howto is described in the following link: http://blogs.technet.com/b/filecab/archive/2009/06/22/backup-version-and-space-management-in-windows-server-backup.aspx .
    Basically it describes that you should use DiskShadow.exe to remove e.g. the oldest snapshot with a  command like :
    Delete shadows OLDEST \\?\Volume{7fc1871b-2e1f-11dd-a339-001e4fb7af35}
    Windows Server backup (wbadmin) should then on the next run 'see' this deletion and update its list of available backups:
    "You can perform the same steps manually to delete backups on demand. However, the backup catalog update cannot be done manually and it will happen instead during
    the next backup."
    I've done this on our box and it indeed removes the shadows from the list. However, in the Windows Backup 'dashboard' it still lists the backups as available. Also after a new backup has finished (according the the article this is when it should 'update'
    its backup catalog). When I try to restore a backup from a date that i just removed it gives a nice message that this is impossible because the snapshot is not available (duh :)) ;
    Unable to browse Local disk. The shadow copy of the backup stored on the backup destination cannot be found.
    So it seems that the aforementioned method works; it removes the snapshot and frees diskspace, but it doesn't update the Windows Backup catalog. As a result the management tool (GUI) still lists the backups which are no longer available! How can i change
    this? Is there any way to do this? I found one article which mentions that the Dashboard bases its screen on the Windows Logs and not on the actual VSS snapshots available:
    http://forum.wegotserved.com/index.php/topic/23757-start-afresh-with-server-backup/ (WHS) In my situation however this seems unlikely because i don't have any logs that date back as far as my backups go.
    In my opinion this is a real bug and it leaves us with a in-consequent backup schema. Does anyone have similar situations or even a solution to my problem?
    Kind Regard, Martin

    Hi Mandy,
    Yes! I think i got my answer and I now get how windows backup works in Windows 2008 :-) It turns out that I dismissed some suggestions a bit too soon. The answer lies in the command mentioned earlier : 
    Wbadmin delete catalog
    This command does delete all the backups from a perspective of the Windows Backup UI, but leaves the VSS snapshots intact. This means that the backups are still available, but you just can't restore them with the User Interface. In order to 'update' the
    UI with the current available snapshots (which you can list with diskshadows list shadows all), you have to re-add the existing media on which the backups took place using the Wizard of the UI. It will then inform you that existing backups are available and
    if you want to keep these for restore purposes. If you click 'yes', and THEN perform a backup ... All the current available backups will be shown in the User Interface :-) 
    So for my steps taken to change from one iscsi (iscsi1) to another (iscsi2):
    - Add the 2nd iscsi target with the Windows Backup UI
    using Backup schedule , Modify backup -> [desired options] => Add more backup destinations -> iscsi2
    - Remove the 1st iscsi target with the Windows Backup UI
    using Backup schedule , Modify backup -> [desired options] => Remove current backup destinations -> iscsi1
    - Run some backups on the new destination. Old restore points are now still available. When enough restore points are available on the new volume iscsi2 start deleting old data from iscsi1 as follows:
    - Run diskshadow
    diskshadow
    - list all the current snapshots
    list shadows all
    - remove all the snapshots of iscsi1  (repeat until all shadows are gone of iscsi1)
    delete shadows oldest \\?\volume{yourvolumeid}\
    - delete the windows backup catalog
    wbadmin delete catalog
    - Restart the windows backup UI and re-add your schedule on the new volume iscsi2. It will now ask if you want the keep the existing data for restore purposes; click yes. 
    - After the next backup only the backups of volume iscsi2 will be listed and everything is fine ! 
    I Hope my post will help others with similar questions. It was quite a search before I understood the way it works. Basically as long as your VSS snapshots are still available and listed by diskshadow you still have the backups and you will be able to get
    this in sync with the steps above (delete schedule and re-add originating targets containing the snapshots). After the next backup the UI will update itself. 
    (In my case someway along the way I lost my originating snapshots, but because I already had my new backup set it didn't bother me; It kept me from having to delete all 510 old backups :) with diskshadow)
    Regard, Martin

  • I am trying to delete a Time Machine backup from a Time Capsule.

    I am trying to delete a Time Machine backup from a Time Capsule.  The file is about 400GB and my MacBook has been trying to delete it for 5h now. It still says "deleting" but has not given me a "time remaining" yet. Any idea of what I could do????

    You should not attempt to delete backups using the Finder. The result can be a corrupted backup.
    I recommend you let it complete, no matter how long it takes. That could be days, if your TC is connected via wireless.
    It is not necessary to delete backups, since Time Machine will delete old backups some time after they have been deleted from your source volume. For more information read Apple Support Communities contributor Pondini's explanation here: Should I delete old backups? If so, How?

  • HT1414 Some videos that are stored in iCloud remain on my iPad after backup.What can I do to store them in the cloud again?

    After watching tv shows that were stored in iCloud, they remain on the iPad device even after backup is performed on iCloud.
    This limits my iPad storage.  How do I get them back to iCloud as soon as I have finished watching?

    Backing up your iPad won't change what is stored on your iPad, and you can't put TV programmes into the cloud - they will only show there whilst the TV company has them for sale in your country's store.
    How did you download them onto you iPad e.g. via the Purchased tab in the iTunes store app or syncing, or do you have videos in the cloud showing (Settings > iTunes & App Store > Videos 'on') and tapped on a cloud TV programme in the Videos app ? If the former then you should be able to delete them directly in the Videos app, either via the Edit button on the TV programme selection screen, or by selecting the series and swiping across the episode from right to left. If the latter then do they show in Settings > General > Usage > Videos (under the 'Storage' heading) ? If they do then you should be able to delete them by swiping across them from right to left.

  • Can An Individual Item be Deleted from Time Machine Backup?

    I'm beginning to notice that my disk space is getting limited on my external drive that Time Machine uses to do its backups. Is it possible to go into TimeMachine and delete individual items i.e., a movie etc. in order to regain disk space? If it does a back up of each movie or TV show, and at some point I no longer want/need them so I delete them, they are still on my TimeMachine Backup. I would like to also delete it from the Backup. Is that possible?
    Thanks !
    Chuck :- )

    ChuckLD wrote:
    I'm beginning to notice that my disk space is getting limited on my external drive that Time Machine uses to do its backups. Is it possible to go into TimeMachine and delete individual items i.e., a movie etc. in order to regain disk space? If it does a back up of each movie or TV show, and at some point I no longer want/need them so I delete them, they are still on my TimeMachine Backup. I would like to also delete it from the Backup. Is that possible?
    Thanks !
    Chuck :- )
    It's probably not a good idea to change anything in the TM file system. The data are not actually stored as files but for the first time. After that they are stored as "deltas" or changes. When TM restores a file, it uses the original and all the bits and pieces to recreate the most recent file. Disturbing the TM structure is dangerous.
    TM will automatically start deleting old files when it gets full, so don't be concerned with filespace.
    If any old files are on TM that you don't want it to delete, simply restore them, let TM back them up again, and TM will eventually delete the old original copies, leaving your new ones.
    If you have a continual problem with the TM disk getting full, then you need a larger disk.

  • Using RMAN to delete unwanted archivelog files..??

    Hi All,
    How can i remove the unwanted archivelog files from the disk, to manage the disk space usage, using RMAN?
    My 10g database is in ARCHIVELOG mode and the OS is RHEL ES Release 3
    when i tried with 'delete expired archivelog all;', i got the result as follows:
    RMAN> delete expired archivelog all;
    released channel: ORA_DISK_1
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=363 devtype=DISK
    specification does not match any archive log in the recovery catalog
    Please update...
    Many Thanks in advance.....!!!

    with the delete all input, can i assume that the archivelog files has been got deleted...Don't you trust Oracle ? :-)
    You should see two series of messages, like below
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=73 recid=1 stamp=599697994
    input archive log thread=1 sequence=74 recid=2 stamp=599698064
    input archive log thread=1 sequence=75 recid=3 stamp=599698103
    input archive log thread=1 sequence=76 recid=4 stamp=599698138
    input archive log thread=1 sequence=116 recid=44 stamp=600271740
    input archive log thread=1 sequence=117 recid=45 stamp=600271859
    input archive log thread=1 sequence=118 recid=46 stamp=600277637
    channel ORA_DISK_1: starting piece 1 at 04-SEP-06
    channel ORA_DISK_1: finished piece 1 at 04-SEP-06
    piece handle=/home/ora102/flash_recovery_area/DB102/backupset/2006_09_04/o1_mf_annnn_TAG20060904T154722_2hrcmh13_.bkp tag=TAG20060904T154722 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:37
    channel ORA_DISK_1: deleting archive log(s)
    archive log filename=/home/ora102/flash_recovery_area/DB102/archivelog/2006_08_28/o1_mf_1_73_2h6ok83j_.arc recid=1 stamp=599697994
    archive log filename=/home/ora102/flash_recovery_area/DB102/archivelog/2006_08_28/o1_mf_1_74_2h6omjb9_.arc recid=2 stamp=599698064
    archive log filename=/home/ora102/flash_recovery_area/DB102/archivelog/2006_08_28/o1_mf_1_75_2h6onq39_.arc recid=3 stamp=599698103
    archive log filename=/home/ora102/flash_recovery_area/DB102/archivelog/2006_08_28/o1_mf_1_76_2h6oosvn_.arc recid=4 stamp=599698138
    archive log filename=/home/ora102/flash_recovery_area/DB102/archivelog/2006_09_04/o1_mf_1_116_2hr5tw8c_.arc recid=44 stamp=600271740
    archive log filename=/home/ora102/flash_recovery_area/DB102/archivelog/2006_09_04/o1_mf_1_117_2hr5ym80_.arc recid=45 stamp=600271859
    archive log filename=/home/ora102/flash_recovery_area/DB102/archivelog/2006_09_04/o1_mf_1_118_2hrcm58z_.arc recid=46 stamp=600277637
    Finished backup at 04-SEP-06

  • Regarding deletion of archivelogs.

    Hello,
    my database is in archivelog mode and i am taking hot backup of datafile everyday.now because of disk space i have to delete some archivelog files.
    so till which date i can delete archivelogs???
    thanks in advance...

    Assuming you're using RMAN, you can set a retention period and just tell RMAN to delete the obsolete archived logs as part of the backup.
    In general, you can delete archive logs whose maximum SCN is earlier than the earliest hot backup you want to be able to restore and roll forward. Depending on the organization and the database, different folks have very different retention periods-- some folks keep archived logs for months, others for a couple days. Of course, if you've backed up the archived logs already, you can likely delete them on disk, depending on how many copies of any particular log your recovery plan requires you to have.
    Justin
    Hans beat me to it.
    I should also note that I'm assuming that archived logs in your environment are being used exclusively for backup & recovery purposes. You may need to keep them longer because they're required for auditing purposes, for Streams or other replication technologies, etc.
    Message was edited by:
    Justin Cave

Maybe you are looking for