When can you delete archivelogs with RMAN

My database is running in archivelog and I am using RMAN to back up the database to a SBT device (tape). The question that I have is if I do backup database plus archivelogs and this backupset is wriiten to tape can I then delete the arhivelogs from disk? On the same note when I do incremental backups can I then delete all archivelogs on disk if the backupset set is written to tape.
Thanks All!

user10784896 wrote:
My database is running in archivelog and I am using RMAN to back up the database to a SBT device (tape). The question that I have is if I do backup database plus archivelogs and this backupset is wriiten to tape can I then delete the arhivelogs from disk? On the same note when I do incremental backups can I then delete all archivelogs on disk if the backupset set is written to tape.
Thanks All!Yes, and you should let rman manage that. Go to the Fine Backup and Recovery Manual at tahiti.oracle.com and check out these options for BACKUP
archivelog delete input
archivelog delete all input
archivelog delete all not backed up n times
and several other similar options.

Similar Messages

  • Delete archivelogs with rman

    I have this setting on one database: 10.2.0.3 on linux x86
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    When a backup occurs, i issue the following at the end:
    delete noprompt obsolete device type disk;
    Which delete an old backup and old archivelogs on the server.
    Situation: It happen rarely, but still, sometimes, I have to manualy delete archivelogs to make space.
    Here is what i do: Ensure that the archivelogs which I am about to delete are backed up.
    Then I issue the following Rman command:
    crosscheck archivelog all;
    delete noprompt expired archivelog all;
    which tells Rman that the archivelogs are not on the os anymore.
    Is there a way to delete archivelogs with rman or oracle, not manually on the os?
    note: i do not want to delete a backupset will doing so.
    This is temporary solution. More disk space is comming and new backup scenario will be in place for this database.

    Exists many ways to make this, as:
    DELETE NOPROMPT FORCE COPY OF ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-1';
    or
    BACKUP ARCHIVELOG all DELETE ALL INPUT;
    or
    BACKUP ARCHIVELOG all NOT BACKED UP 2 TIMES DELETE ALL INPUT;
    ...

  • How to delete archivelog with RMAN in the Primary and Standby database?

    Hello,
    I am working on Oracle 10gR2.
    My question is :
    How could I implement a automatized and secure way of:
    1) Delete archivelogs on my PRIMARY server only when these logs are successfully TRANSFERED to all my standby databases?
    2) Delete archivelogs on my STANDBY server only when these logs are sucessfully APPLIED to the database?
    Thanks a lot for your help!

    on 10G
    CONFIGURE ARCHIVELOG DELETION POLICY TO [CLEAR | NONE | APPLIED ON STANDBY];
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rman.htm#CHDBEICE
    Coskan Gundogar
    http://coskan.wordpress.com

  • Delete archivelogs using RMAN

    Hi,
    I usually delete archivelogs with RMAN with command as "DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE -1' if i have to clear the archivelogs to freeup space from the FRA.
    My question is if i delete the archivelogs-does this deletes the records from the catalog also(I think so) if backed up to tape.In that case the catalog doesn't have info for these archives even if they are on tapes,correct?
    So in case of recovery how can i restore them?
    Thanks
    Edited by: 822424 on May 15, 2011 7:28 PM

    The RESYNC CATALOG that may be part of your backup script or implicitly executed by a Backup would synchronise from the control file to the catalog schema (repository).
    I don't think that you can selectively decide what to not resync.
    You can query RC_ARCHIVEDLOG (the STATUS column) in the repository and in V$ARCHIVED_LOG (which is against the controlfile)
    i) before the DELETE executed by RMAN and
    ii) again after the next BACKUP which does a RESYNC to see if changes are reflected.
    Hemant K Chitale

  • Rman-08137 can't delete archivelog because the capture process need it

    When I use the rman utility to delete the old archivelog on the server ,It shows :Rman-08137 can't delete archivelog because the capture process need it .how to resolve the problem?

    It is likely that the "extract" process still requires those archive logs, as it is monitoring transactions that have not yet been "captured" and written out to a GoldenGate trail.
    Consider the case of doing the following: ggsci> add extract foo, tranlog, begin now
    After pressing "return" on that "add extract" command, any new transactions will be monitored by GoldenGate. Even if you never start extract foo, the GoldenGate + rman integration will keep those logs around. Note that this GG+rman integration is a relatively new feature, as of GG 11.1.1.1 => if "add extract foo" prints out "extract is registered", then you have this functionality.
    Another common "problem" is deleting "extract foo", but forgetting to "unregister" it. For example, to properly "delete" a registered "extract", one has to run "dblogin" first:
    ggsci> dblogin userid <userid> password <password>
    ggsci> delete extract foo
    However, if you just do the following, the extract is deleted, but not unregistered. Only a warning is printed.
    ggsci> delete extract foo
    <warning: to unregister, run the command "unregister...">
    So then one just has to follow the instructions in the warning:
    ggsci> dblogin ...
    ggsci> unregister extract foo logretention
    But what if you didn't know the name of the old extracts, or were not even aware if there were any existing registered extracts? You can run the following to find out if any exist:
    sqlplus> select count(*) from dba_capture;
    The actual extract name is not exactly available, but it can be inferred:
    sqlplus> select capture_name, capture_user from dba_capture;
    <blockquote>
    CAPTURE_NAME CAPTURE_USER
    ================ ==================
    OGG$_EORADF4026B1 GGS
    </blockquote>
    In the above case, my actual "capture" process was called "eora". All OGG processes will be prefixed by OGG in the "capture_name" field.
    Btw, you can disable this "logretention" feature by adding in a tranlog option in the param file,
    TRANLOGOPTIONS LOGRETENTION DISABLED
    Or just manually "unregister" the extract. (Not doing a "dblogin" before "add extract" should also work in theory... but it doesn't. The extract is still registered after startup. Not sure if that's a bug or a feature.)
    Cheers,
    -Michael

  • What will i do..there is a message show, "your device in not more eligible to create a free i cloud acount"..and when i try a new one it ask an account number, but i dont have...can you help me with this issue..

    What will i do..there is a message show, "your device in not more eligible to create a free i cloud acount"..and when i try a new one it ask an account number, but i dont have...can you help me with this issue..?
    I try also my old icloud user but its not recognizing the accoun...

    What will i do..there is a message show, "your device in not more eligible to create a free i cloud acount"..and when i try a new one it ask an account number, but i dont have...can you help me with this issue..?
    I try also my old icloud user but its not recognizing the accoun...

  • Can't delete images with adobe bridge for days , don't know how to fix this , can you please help ?

    Can't delete images with adobe bridge for days , don't know how to fix this ? Can you help please ?

    Thank you so much for sharing

  • Hi. I have an ipod 7th Gen. Whenever i rate a song from ipod, when i connect my ipod to my pc i see that  another different song is rated on itunes. Can you help me with it? or what causes this problem?

    Hi. I have an ipod 7th Gen. Whenever i rate a song from ipod, when i connect my ipod to my pc i see that  another different song is rated on itunes. Can you help me with it? or what causes this problem?

    Hi Becki ..
    You need to "authorize" the Mac.
    Launch iTunes on the Mac then from the iTunes menu bar top of your screen click Store > Authorize This Computer.
    Now, using the same Apple ID as you used to purchased iTunes media originally, you should be able to sync all your content.
    More details here >  iOS: Syncing with iTunes

  • I just noticed Private browing option, has this been downloaded or automatically added? I dont want my kids up to no good, as how can i check what they're looking at? Can you delete the private browser?

    Can you delete the private brower option

    That has been a feature in Firefox since Firefox 3.5 was released in June, 2009, it's not '''new'''.
    Sorry, that feature can't be "removed" without breaking a security part of Firefox, and the developers didn't provide a "switch" to allow parents to turn it off. What's even worse it that there is a Bug filed to disable Private Browsing when the Parental Control's that are built into Windows Vista and Windows 7 are turned on. Nothing has been done to fix that Bug in almost 2 years since that Bug was originally filed. <br />
    https://bugzilla.mozilla.org/show_bug.cgi?id=471658 <br />
    Hell, there hasn't even been a comment posted in that Bug in almost 7 months. I have done everything I can do as a support helper to make the developers aware of how important this Bug is for parents, based upon parental feedback here - that has been accepted as ''' "Thanks .... So it's on average 2 requests for this per week." '''
    In all honesty though, even if that Bug is fixed a child can just delete their browsing history in any browser quite easily; sure you'll see that it has been deleted, but you still won't know where they have been. You really need to install some Parental Controls on that PC that tracks the web sites that are being visited outside of a web browser, and can only be accessed with a password.
    I don't have any recommendations for that type of software, as I haven't needed it myself. Never had any children, and if I did even my grand-children would probably be old enough not to need monitoring like that.

  • How can you delete an incomplete purchase/download owing to insufficient storage space?

    How can you delete an incomplete purchase/download owing to insufficient storage space?

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    You have to do it in the Video app, not in the iTunes app.

  • How can you delete an app without losing saved data/progress?

    How can you delete an app without losing saved data/progress? Is there a way through iCloud? I have an 8gb 4th gen iPod touch. I have a lot of music, so with 8gb, space is limited. Some apps I have take up 20-30 MB. Some of these games I don't play that much, but I don't delete them because I have made a lot of progress (levels, scores, acheivements). It would be nice to delete some of these 30 MB apps that take up precious space, and them redownload them in the future when I have more space, but without having to start the whole game over.
    Also, I read somewhere that there might be a way to do this with iCloud, but I don't really know how.
    Thanks!

    This is the only way I know of.  It is messy though.
    How to transfer game saves between iOS devices, without iTunes, and without jailbreaking | TUAW - The Unofficial Apple Weblog

  • I bought Itunes match, when can I delete the songs from my Ipad? It's memory is full and I bought Itunes match in order to free some memory space

    I bought Itunes match, when can I delete the songs from my Ipad? It's memory is full and I bought Itunes match in order to free some memory space. I already activate the itunes match in the Ipad, but it still keeps the songs. Can I erase them?
    Thanks,

    Hi,
    Go to settings > general > usage > storage and select music. You will see how much space is being used. Swipe to delete.
    This will clear cache. Streaming uses up storage space. If you have specifically downloaded tracks you can delete them individually. Will still appear on your ipad but with the download icon.
    Jim

  • Can't delete email with a 9 mb attachment from iphone

    can't delete email with a 9 mb attachment from iphone(3gs, software v 4.3.1) -- every time i try to delete the email with a swipe it shows the red delete button on the right but then freezes for a while and then the delete button disappears but the email does not. when i go through edit function and mark it for deletion, the same thing occurs.
    any advice??

    No. The modem is an Arris obtained from Comcast on 6/9/2014 after the prior one failed.

  • Is there any way that you can delete APPS that come on the iPad? For example, the stock app, can you delete that or is it permanently on there?

    Is there any way that you can delete APPS that come on the iPad 2 when you buy it? For example, the stock app, can you delete that or is it permanently on there?

    You cannot delete the preinstalled apps on the iPad. You can check by tapping and holding down on the icon until it wiggles. If no X appears, you cannot delete it.
    Move it to another screen or bury it in a folder called" Stuff I don't Want"

  • HT204088 How can you delete your payment details

    Can you delete your payment method?

    I asked the same question to iTunes Store To delete your credit card information from your iTunes Store account: support before and this is what they sent me:
    1) Make sure you're using the latest version of iTunes. It can be downloaded free of charge from the Apple website at:
    http://www.apple.com/itunes/download
    Note: Installing the latest version of iTunes will not affect your library or any items in your account that you haven't downloaded.
    2) To launch iTunes and be taken to your Apple Account Information page, click this link:
    http://phobos.apple.com/accountSummary
    (If you are not already signed in, you will need to enter your iTunes Store account name and password and then click the Account Info button to sign in.)
    3) The Apple Account Information page will appear. On this page, click the Edit Payment Information button, which is the second button from the top.
    4) On the Edit Payment Information page, select "None" from the list of credit card types. This will delete your billing information.
    5) Be sure to click the Done button at the bottom of the page to save your changes.
    Good luck and if you have any issues with this please contact iTunes support.

Maybe you are looking for