Backup archivelog all delete all input

RMAN> backup archivelog all delete all input;
i have backed up all my archivelogs using the above command, but after the backup archivelogs are not deleted from its default location .ie my default archive location is '/oracle/archive' . After executing the above command, I can see all the archivelogs still available in that location. why is it so
Db:10.2.0
OS: solaris 10
Edited by: user13364377 on Aug 22, 2010 10:44 AM

>
My control_file_record_keep_time is 7 days. My understanding is that when we specify the below command,
Rman>backup archivelog all delete all input;
rman will backup all the archive logs(one copy of each log sequece) from the archive location and then delete all the archive logs from the archive location. is it not correct?
>
That is generally right. But that assumes that RMAN knows about these archivelogfiles. It knows about them because of entries in the controlfile. If they are nolonger present - RMAN will not know them and not Backup & delete them.
Kind regards
Uwe Hesse
http://uhesse.wordpress.com

Similar Messages

  • HT1766 If I restore my new iphone from my last backup will it delete all of the new things that i have on my phone

    If i restore my new iphone from my last backup will it delete all of the new content that I currently have on my phone? would it be better off to set it up as a new iphone? and if i set it up as a new iphone what will that do?

    If you restore from your last backup, it will replace what you now have on your phone. If you set it up as new, you will have a phone just out of the box without any of your data on it. You can download any apps again. You can sync your music through iTunes.

  • So here's my problem. I just used the "reset all settings" option, and accidentaly restored an old backup. It deleted all my photos and contacts, but for some reason I still have all the apps from after the backup date, is there a way to get it all back?

    So here's my problem. I just used the "reset all settings" option, and accidentaly restored an old backup. It deleted all my photos and contacts, but for some reason I still have all the apps from after the backup date,and it also kept the notes from after the backup. The "reset all settings" option clearly says no loss of data or media, so I don't understand why some stuff got deleted. My question is, is there a way to get it back?

    If you still can find a recent backup listed in iTunes/Edit/Preferences/Devices, use this one to restore from.
    If there are no recent backups listed, your data is gone. Only if you included the iTunes backup folder into your computer backup routine, you could be able to restore this folder and find one of your latest backups listed again.
    iTunes: About iOS backups

  • If i delete my icloud backup , will it delete all of my photos in my photo stream?

    If i delete my icloud backup , will it delete all of my photos in my photo stream?

    No, but try
    How to delete photos from My Photo Stream
    http://support.apple.com/kb/HT5125

  • When is there going to be a select all/delete all option in email? I need to search for certain emails and delet them from my phone but not my email program (Outlook)

    when will there be a select all/delete all option in Emails? I have a large number of emails that come to my phone which i dont want to delete from my outlook mail account (On my PC). However, i want to be able to search, select all and delete these emails from my phone? I do not use ICloud either as it causes issues with my calendars at work.
    These features should be a standard as there are plenty of other users out there that are trying to do the same thing and as yet there has been no progress? The email on the iphone is one of the biggest downfalls of the phone, blackberry and android handle them much better, but i dont have an option with my phone at work. Please help??

    No one here would have any idea when or if such a feature would be introduced until and unless Apple announces it.

  • Time Capsule hangs in initial backup after having deleted all data.

    Hi,
    I'm having a big problem trying to set up my time capsule after deleting all data on it again.
    In the beginning the problem was that I have used the time capsule as a file server and a backup volume. I guess it was the main problem was that the disk was full and time machine had no more place to backup any longer.
    So I always got an error that the time machine had a problem to backup.
    I decided to delete all data on time capsule and start from the beginning.
    After deleting all data and trying to start from zero, Time Machine is trying to initiate the backup.
    But nothing more happens. It seems to hang up while initiating. I tried to delete the disc several times but the problem is still occuring.
    Maybe you had the same difficulties and found a solution?
    Thanks a lot for your help!
    Carsten.
    Macbook Pro Core 2 Duo 2,2 GHz Mac OS X (10.5.4) 4 GB Ram

    same here although I get to "finishing Backup" and then mine hangs and it can be hard to shut down. I discovered the only way I could get it to stop once was to launch Disk Utility and eject the sparsebundle listed there. I have no backups at all.I will call Apple on Monday and see if they have anything floating around there that might fix us. I will report back-If you make any progress please let us know here! We will get this thing working I am sure of it!

  • I recently got a new iPhone 4 and finally plugged it into my Mac. I hit "restore from backup" and it deleted all of my photos. How do I get those photos back? My iCloud isn't showing them.

    I recently got a new iphone 4. Before plugging it into my Mac, I had taken a ton of pictures with it. I finally plugged it in to update my phone and get my music from my Mac. In the process, I selected "restore from backup". After losing all of my new pictures on my phone, and not syncing my music, it seemed like the worst thing I could have done. Is there any way to retrieve these pictures? Any help will be appreciated.

    The pics are gone.  This is what a restore is.  You erased your iphone, reinstalled your software, then added back your settings from the date of the last backup.
    You should have imported your photos to your computer as you would with any digital pictures, before any restore or update.
    Sorry

  • Backup archivelog all (RMAN)

    For the first time Rman archive log backup, say for example log sequence 100 through 200 was backed.
    After few days, log sequence has increased to 267, now if i run the same archive log backup command will rman backup 100 through 267 or 201 through 267. Am bit confused with this.
    Help me
    kumareshan

    So i need to configure retention policy (Recovery window or redundancy) so that after certain period of time entry will be removed from the catalog so that RMAN will not backup the archived logs again.. Am i right??Partially.
    You need to configure the retention policy AND add a instructions to delete the backuped archivelogs, with 'delete archivelog (all)'.

  • OMG... Time machine deleted ALL the backups, even latest..

    Hey All...
    I have just experienced a nightmare.  If anyone can help I would be in your debt.
    Here we go...
    I was trying to move the backup of old computer ( partition A ) to a new partition ( B ) on same ext. hard drive.   Not enough space in partition b so I looked into deleting some old backups before copying A to B using restore in disc utility.
    Inside time machine I was using the cog thing to select delete backup... selected the oldest backup, thinking this would delete only the oldest backup. 
    It deleted ALL the backups on A, including the latest. 
    This had work files on it that are important so it's a bit of a disaster.  I have had a great backup stradegy for the last 15 years and have NEVER before lost anything.  Here is my details...
    Macbook Pro 2.2 GHz
    10.7.5
    External drive 4 partitions
    Partition A was backed up using 10.6
    From a G5 which I deleted the files from.
    I am hoping the files could be recovred from either the G5 or the hard drive or my trash on the macbook pro?
    I have and will not do too much on my computer like disc utility stuff or empty trash etc.
    It's a long shot, but anyone have any ideas..? 
    Thanks in advance..

    The...........Haggis wrote:
    Thanks for your prompt reply Pondini,
    I could have selected all in error but I am sure I didn't.  I guess I must have.. grrr.
    I cannot see any when I enter time machine.
    Ok.  It's just that I've never heard of it erasing more than what was selected.     
    It's possible something went wrong, and at least some of the other backups are still there. Especially if no other changes have been made to the TM drive, you might try running Repair Disk on it with Disk Utility.  Unlikely to help, but it's worth a try.
    The G5. I erased the drive using disk utility and haven't used it since.  There is 2 drives on that machine, the drive we are talking about is not bootable it's just storage.
    Since you already have it, you might want to try running the File Salvage app on it (you'll probably need another HD, or at least partition, to receive whatever it finds).   The results might be more usable than the results from the TM drive, since they're "ordinary" files and folders, not all the "hard links" Time Machine uses.
    EDIT: 
    I had the ext drive hanging off my Mac Book pro 10.7.  Ext drive had TM backups of 2 laptops and G5.
    Hold on a minute -- how were all those backups made -- by connecting the drive directly to each Mac, or were any made over a network (wired or wireless)?  Are they / were they all in the same partition, or separate ones?
    Message was edited by: Pondini

  • Deleting all backed up archives using RMAN

    Hi,
    I used 'delete input' to delete all the archives backed up.
    I am storing archives in dest1 and dest2...i.e, in two locatiions in production.
    Although archive in dest1 is getting deleted I am unable to delete those in dest2.Please help to delete archives in dest2 too.

    Ed,
    Probably there is missing one "all" in your command :
    C:\>rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Thu Jul 5 17:37:57 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: ORCL (DBID=1308204436)
    RMAN> backup archivelog delete ALL input;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "delete": expecting one of: "all, from, high, like, low, scn, sequence, time, until"
    RMAN-01007: at line 1 column 19 file: standard input
    RMAN> BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
    Starting backup at 05-JUL-12
    current log archived
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=70 device type=DISK
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=325 RECID=300 STAMP=786108184
    input archived log thread=1 sequence=326 RECID=301 STAMP=786108634
    Finished backup at 05-JUL-12
    RMAN>Regards
    Girish Sharma

  • Why is there no way to delete all emails from my iphone?

    Why is there no way to delete all emails from my iphone? IOS 7.1. Every other phone in the market allows you to 'select all' then delete.
    This trick of selecting one, then holding move, then unchecking (and subsequently moving all the emails to trash) doesn't work. I've read these suggestions and while it appears to work the emails just show up again once you leave and return to the inbox. Perhaps it worked on an older version of IOS.
    It blows my mind this is not a standard function. I get a few hundred emails at work every day, and most of the time I just want to delete all of them from the phone as I've read them already. Currently it seems i can only click edit and then have to check each email individually to be able to delete them at the same time; this is the definition of tedious. I would think there are millions of other iphone users who get their company email on their phones that must experience the same thing. It seems now i either spend 20 minutes a day deleting emails, or just let thousands of emails accumulate on the phone (taking up space and also making it hard to just review the most recent emails which is all I want to be able to do when checking email on my phone).
    I am hoping I am just missing some simple solution here that everyone else uses. Please help!!
    Mark

    Only Apple could answer as to why there is no "select all/"delete all" function in the iOS mail app. Users have been bemoaning this lack of functionality for years now. Like everyone else, you can submit feedback to. Apple here.
    Apple - iPhone - Feedback
    While I understand the whole idea of being able to use the phone on the run, if you have an IMAP email account, and if you have access to a computer at work during the day, use your "select all" function on the server and delete all of the unwanted email there and it will be removed from the phone as well.
    That doesn't solve the problem on the phone, but it gets rid of the email which is your ultimate goal anyway.

  • RMAN backup archivelog all delete input

    Hello DBAs,
    what does this command will do?
    RMAN> backup archivelog all delete input;
    DN

    I have set cron job for RMAN> backup archivelog all delete input; and its work.
    But I got following message in my log file.
    Please give ur feed back.
    Recovery Manager: Release 10.1.0.4.0 - 64bit Production
    Copyright (c) 1995, 2004, Oracle. All rights reserved.
    RMAN>
    connected to target database: SIDNAME (DBID=XXXXXXXX)
    using target database controlfile instead of recovery catalog
    RMAN>
    Starting backup at 10-FEB-06
    current log archived
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=269 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=268 devtype=DISK
    channel ORA_DISK_1: starting compressed archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=5701 recid=2412 stamp=581958928
    input archive log thread=1 sequence=5702 recid=2413 stamp=581961105
    input archive log thread=1 sequence=5703 recid=2414 stamp=581964532
    input archive log thread=1 sequence=5704 recid=2415 stamp=582025325
    input archive log thread=1 sequence=5705 recid=2416 stamp=582029976
    input archive log thread=1 sequence=5706 recid=2417 stamp=582031922
    channel ORA_DISK_1: starting piece 1 at 10-FEB-06
    channel ORA_DISK_2: starting compressed archive log backupset
    channel ORA_DISK_2: specifying archive log(s) in backup set
    input archive log thread=1 sequence=5707 recid=2418 stamp=582037207
    input archive log thread=1 sequence=5708 recid=2419 stamp=582038471
    input archive log thread=1 sequence=5709 recid=2420 stamp=582043538
    input archive log thread=1 sequence=5710 recid=2421 stamp=582048518
    input archive log thread=1 sequence=5711 recid=2422 stamp=582055205
    channel ORA_DISK_2: starting piece 1 at 10-FEB-06
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 02/10/2006 18:00:
    12
    ORA-19502: write error on file "/u02/backup/backup_6ehb2t97_1_1", blockno 6145 (
    blocksize=512)
    ORA-27063: number of bytes read/written is incorrect
    IBM AIX RISC System/6000 Error: 28: No space left on device
    Additional information: -1
    Additional information: 1048576
    channel ORA_DISK_1 disabled, job failed on it will be run on another channel
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 02/10/2006 18:00:
    12
    ORA-19502: write error on file "/u02/backup/6fhb2t97_1_1", blockno 6145
    (blocksize=512)
    ORA-27063: number of bytes read/written is incorrect
    IBM AIX RISC System/6000 Error: 28: No space left on device
    Additional information: -1
    Additional information: 1048576
    channel ORA_DISK_2 disabled, job failed on it will be run on another channel
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 02/10/2006 18:00:
    12
    ORA-19502: write error on file "/u02/backup/backup_6ehb2t97_1_1", blockno 6145 (
    blocksize=512)
    ORA-27063: number of bytes read/written is incorrect
    IBM AIX RISC System/6000 Error: 28: No space left on device
    Additional information: -1
    Additional information: 1048576
    RMAN>
    Recovery Manager complete.
    DN

  • Rman error when taking backup archivelog all delete input

    archive log filename=+FRA01/osondemand/archivelog/2012_02_27/thread_2_seq_15028.7182.776323223 recid=122876 stamp=77
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 02/27/2012 05:23:14
    RMAN-10015: error compiling PL/SQL program
    RMAN-10033: error during compilation of job step 3: ORA-00603: ORACLE server session terminated by fatal error
    ORA-04030: out of process memory when trying to allocate 272 bytes (PL/SQL DIANA,PTG: No
    10.2.04
    windows
    two node rac
    please help me with above error
    thanks for help

    Hi;
    Duplicate post
    Re: rman error when i am doing backup archivelog delete input
    Regard
    Helios

  • Backup archive log with delete all input clause

    Our database is 10.2.0.3 RAC db and database server is window 2003.
    Our RMAN catalog db was down for a couple of weeks. During this two weeks period we use control file instead. But when I compare the log files before using control file and after going back to catalog db I found the following differences. I also pasted backup script below. It looks like that after we reuse the catalog db it is able to delete all archive logs as soon as it is backed up. The only change I can think of is one of the archive log destination is changed from F:\archive to G:\archive. This db has a physical standby db which is not up to date. Can you help me to figure out why this differences in the backup process since I am kind of worried if we bring the standby db up to date we will not be able to ship the archive log since they are deleted from the backup process. Thank you so much for your help. Shirley
    10> resync catalog;
    11> #change archivelog all crosscheck;
    12> crosscheck archivelog all;
    13>
    14> #Backup Database and archive log files.
    15> backup as compressed backupset
    16> incremental level 0 format 'F:\backup\%d_LVL0_%T_%u_s%s_p%p' filesperset 5 tag 'INDRAC'
    17> database plus archivelog format 'F:\backup\%d_LVL0_%T_%u_s%s_p%p'
    18> filesperset 10 tag 'INDRAC'
    19> delete all input;
    Before using control file:
    channel ORA_DISK_2: finished piece 1 at 24-MAY-08
    piece handle=F:\BACKUP\PRODRAC_LVL0_20080524_04JH7588_S41988_P1 tag=INDRAC comment=NONE
    channel ORA_DISK_2: backup set complete, elapsed time: 00:04:17
    RMAN-08137: WARNING: archive log not deleted as it is still needed
    archive log filename=F:\ARCHIVE\PRODRAC_004_04966_0575926036.ARC thread=4 sequence=4966
    RMAN-08137: WARNING: archive log not deleted as it is still needed
    archive log filename=E:\ARCHIVE\PRODRAC_004_04966_0575926036.ARC thread=4 sequence=4966
    RMAN-08137: WARNING: archive log not deleted as it is still needed
    archive log filename=F:\ARCHIVE\PRODRAC_004_04967_0575926036.ARC thread=4 sequence=4967
    RMAN-08137: WARNING: archive log not deleted as it is still needed
    archive log filename=E:\ARCHIVE\PRODRAC_004_04967_0575926036.ARC thread=4 sequence=4967
    After went back to catalog:
    channel ORA_DISK_2: backup set complete, elapsed time: 00:02:47
    channel ORA_DISK_2: deleting archive log(s)
    archive log filename=G:\ARCHIVE\PRODRAC_004_05760_0575926036.ARC recid=51689 stamp=660017344
    archive log filename=E:\ARCHIVE\PRODRAC_004_05760_0575926036.ARC recid=51688 stamp=660017344
    archive log filename=G:\ARCHIVE\PRODRAC_004_05761_0575926036.ARC recid=51697 stamp=660032069
    archive log filename=E:\ARCHIVE\PRODRAC_004_05761_0575926036.ARC recid=51696 stamp=660032069
    archive log filename=E:\ARCHIVE\PRODRAC_004_05762_0575926036.ARC recid=51704 stamp=660051690
    archive log filename=G:\ARCHIVE\PRODRAC_004_05762_0575926036.ARC recid=51705 stamp=660051690
    archive log filename=E:\ARCHIVE\PRODRAC_004_05763_0575926036.ARC recid=51710 stamp=660061718
    archive log filename=G:\ARCHIVE\PRODRAC_004_05763_0575926036.ARC recid=51711 stamp=660061718
    archive log filename=E:\ARCHIVE\PRODRAC_004_05764_0575926036.ARC recid=51716 stamp=660069980
    archive log filename=G:\ARCHIVE\PRODRAC_004_05764_0575926036.ARC recid=51717 stamp=660069980
    archive log filename=E:\ARCHIVE\PRODRAC_004_05765_0575926036.ARC recid=51720 stamp=660081117
    archive log filename=G:\ARCHIVE\PRODRAC_004_05765_0575926036.ARC recid=51721 stamp=660081117
    archive log filename=G:\ARCHIVE\PRODRAC_004_05766_0575926036.ARC recid=51723 stamp=660087215
    archive log filename=E:\ARCHIVE\PRODRAC_004_05766_0575926036.ARC recid=51722 stamp=660087214
    channel ORA_DISK_1: finished piece 1 at 14-JUL-08
    piece handle=F:\BACKUP\PRODRAC_LVL0_20080714_1MJLG8GQ_S45110_P1 tag=INDRAC comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:04:43

    Shirley,
    If there was no change to the E: then the logs should have been kept (RMAN-8137) unless they were possibly aged out of the controlfile (unlikely since it defaults to 65K) or have been applied already. (The F: logs would have been marked as EXPIRED at the next crosscheck). Check to see which are EXPIRED:
    RMAN> list expired archivelog all;
    To see the earliest log:
    select sequence# from v$log_history where rownum <2;
    Have you checked the V$MANAGED_STANDBY to insure they were not already applied? Given that your latest rman log shows logs being deleted with no RMAN-8137 raised would indicate that they are not needed for the standby.

  • Rman error when i am doing backup archivelog delete input

    archive log filename=+FRA01/osondemand/archivelog/2012_02_27/thread_2_seq_15028.7182.776323223 recid=122876 stamp=77
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 02/27/2012 05:23:14
    RMAN-10015: error compiling PL/SQL program
    RMAN-10033: error during compilation of job step 3: ORA-00603: ORACLE server session terminated by fatal error
    ORA-04030: out of process memory when trying to allocate 272 bytes (PL/SQL DIANA,PTG: No
    10.2.04
    windows
    two node rac
    please help me with above error
    thanks for help

    Hi;
    Duplicate post:
    rman error when taking backup archivelog all delete input
    Please close your othere thread as answered and keep updating your other thread here
    Regard
    Helios

Maybe you are looking for

  • You cannot make direct posting to the g/l account

    Hi While creating the std po I am getting the message you cannot make direct posting to the g/l account 165000 I am working on chart of accounts INT I have not checked the check box for automatic posting error mesage that I am getting No direct posti

  • Flash won't import mp4 from Camtasia, demands an FLV; Media encoder won't convert to FLV; H264 isn't accepted either.

    Flash won't accept the basic mp4 output from Camtasia, it tells me to use Media Encoder to convert it to FLV. Media Encoder won't convert to F4V or FLV. I used Media Encoder to convert to H264, but Flash will still not import it. Could somebody pleas

  • ITunes movies captions stuck onscreen on 1Gen AppleTV

    Just purchased Argo and the captions that are included in the movie (for example the country they're in at the time...) are staying on the screen well after the scene is over.  I'm playing the movie on a 1st generation Apple TV and that's where the t

  • Grouping of Credit/Debit memo if I want to use Individual payment

    Hi Experts, My Client need to select the "Individual Payment" indicator in Vendor master data for E-banking Payment/ Remittance Advice. Can credit/debit memo Grouped together with Payment if We use "Individual Payment" Indicator ? Please anyone give

  • BW - HR Master Data Report

    Hi Experts, As per my BW report requirment i need to extract Position ID Position Name Position Status (Occ,Unocc,Obsolete) * FTE Staff ID Staff Name Staff FTE Pay Scale Group Pay Scale Level Position Reports To Organisational Unit Date Selection Sta