Require backup script which deletes the daily backups after weekly backup

Hi,
I am new to Oracle administration. I require a backup script which will delete the daily backups (incremental) after weekly backup is taken (full database backup).
Currently I use Oracle 10g for one of my production server.
My backup strategy is given below.
I would like to take full database backup weekly(online). To be precise, on Saturday.
I need to have daily incremental backup and they should get deleted on Saturday after the weekly full database backup is taken.
Also I would like to keep 4 weeks full backups. After that one by one we need to delete the backup.
For example, if I have 4 weeks fullbackup of February, after taking full backup for first week of March, the backup of first week of February should get deleted.
Kindly help with your suggestions.
Thanks & Regards,
Rafnas

Hi,
Thank you for pointing to the blog. It was very much useful.
I was testing the backup strategy using your script. It worked fine for first set of daily backups.
After weekly backup is taken, the daily backup script fails for taking the backup from next day onwards.
It gives the following error stack.
Starting backup at 05-MAR-09
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 03/05/2009 01:47:55
ORA-01455: converting column overflows integer datatype
Could you please let me know why integer datatype comes into picture while taking backup?
Please advice.
Thanks & Regards,
Rafnas
Edited by: user10698483 on Mar 5, 2009 3:38 AM

Similar Messages

  • Why am I unable to delete the default track (which seems to act as the master, right?) after making a rough mix?  Is it possible to delete the default track after having rendered a mix?

    Why am I unable to delete the default track (which seems to act as the master, right?) after making a rough mix?  Is it possible to delete the default track after having rendered a mix?  I did a rough mix and now cannot change the song as the tracks that were a part of the rough mix seem to remain in the song even though I mute the tracks for a new mix.  For instance, I played and recorded a different bass line.  Muted the original, but when trying to create the new mix I can hear the original bass line even though I have muted that track.  It seems to remain in the previous master (default) track.  Please send help.  Thank you.

    Before answering your question, you have to make sure you understand the difference between the different track types in GarageBand.
    Tracks, you record your music on
    There are three types of those Tracks.
    MIDI Tracks (aka Software Instrument Tracks)
    Audio Tracks (aka Real Instrument Tracks)
    Drummer Track (only one per Project)
    Global Tracks
    These are the Tracks that can be shown/hidden at the top of the Tracks Area for specific purposes.
    Arrangement Track
    Movie Track
    Transposition Track
    Tempo Track
    Master Track
    This Track can also be shown/hidden in the Tracks Area. Please note, you cannot delete that Track, only hide it, similar to the Global Tracks
    Regarding the Tracks you record your music on,  you can delete any of those. It doesn't matter if you created them or there are part of a Template (maybe that  is what you refer to as the default track). Once you delete the last Track, the "New Track Window" will pop up to add a new track.
    I will explain all that in much more detail in my manual "GarageBand X - How it Works".
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • Recently, after cancelling the tick of a song, which is the next song after the one I am listening, in the song list, the canceled song will still run for the next song. I remember that it used not to happen like this. How can I solve this problem?

    Recently, after cancelling the tick of a song, which is the next song after the one I am listening, in the song list, the canceled song will still run for the next song. I remember that it used not to happen like this. How can I solve this problem?

    This looks like a change of behaviour in iTunes 12. Once songs are queued up to the Up Next list then they play whether ticked or not. If you want to skip certain songs already queued click the Up Next tool, then click the small X to the left of the song that appears when you hover over it.
    tt2

  • I paid for a one year subscription to the daily and after 6 days I was notified my subscription had expired.  The Daily support does not respond. How can I resolve this?

    I paid for a one year subscription to "the daily" and after 6 days I was notified my subscription had expired.  The Daily support does not respond. How can I resolve this?

    Hi there,
    Your subscription was started on Mar 27, 2014 and ended on Mar 27, 2015. Since then no new renewal has happened.
    If you have received a new code from your college then please visit https://creative.adobe.com/redeem to start your membership again.
    ^Ani

  • I can't purchase The Daily App after the 14 day free trial it gives me an error code that it can't connect t the iTunes store.

    I can't purchase The Daily App after the 14 day free trial it gives me the following error code.  We were unable to process your purchase because we encountered the following error:  Cannot connect to the iTunes Store.  Please try subscribing again by going to Subscription Offer in the settings menu.  The app does show up and indicates that it is installed I can't figure out what is going on........any ideas would be greatly appreciated.

    If you're having problems with the App Store you might try this:
    1 - enable the Debug menu in App Store:
    open the Terminal application.
    copy the command below and paste into the Terminal window:
    defaults write com.apple.appstore ShowDebugMenu -bool true
    followed by Enter.
    launch App Store, login.
    2 - select the Debug ➙ Reset Application option:
    3 - launch App Store, login and try again.
    OT

  • Hello. My account is dosen t work. Please. If u can delete the account and after to make another. Thnks

    Hello. My account is dosen t work. Please. If u can delete the account and after to make another. Thnks

    We are all just volunteer users like you and don't work for Apple. If you're having a problem with your Apple ID, please say exactly what the problem is and perhaps we can help you.

  • "**Deleting the CMOS RAM after flashing**"

    I am thinking about flashing the BIOS on my MSI 875P motherboard from v1.4 to latest v1.7 and I just read a few posts regarding flashing:
    Quote:  Have you deleted the CMOS RAM after flashing? Most people forget to do this after flashing to a new BIOS version.  Unquote.
    Does the quote; "deleting the CMOS RAM after flashing", refer to "clearing the CMOS" by removing the jumper from JBAT1 (Clear CMOS motherboard jumper) to short pins 2-3 while the system is off, or is there another way to "delete the CMOS RAM" after flashing?
    Regards

    If your system is known to boot under BIOS default voltages and settings, then alternatively, you can just go to BIOS setup immediately after a successful flash, then select Load BIOS Setup Defaults.
    If a problem occurs, then that's the time you head for the JBAT/ CMOS CLR jumper.

  • Script to delete the line which is small in length and line on one another

    I have lot of small unwanted lines which to be deleted manually any script which can help to deleted small line and If I delete one line i can see below it one or two line on the same line any script which can delete it.
    Please help me, just by cleaning the drawing views my eyes and hands are paining
    thanks in advance...
    regards
    Laks

    this will take care of getting rid off the small paths
    #target illustrator
    // deletes pathItems smaller than the supplied length
    var idoc = app.activeDocument;
    var howLong = prompt ("Enter the length in points of small paths to be deleted", 10, "Delete Small Paths");
    for (i=0 ; i< idoc.pathItems.length; i++)
              var ipath = idoc.pathItems[i]
                   if ( ipath.length < howLong)
                             ipath.selected = true;
    app.redraw();
    if(confirm ("Proceed to delete selected items?", "yes", "Confirm Delete"))
              app.cut();

  • Unzip issue: Could not delete the zip file after unzip it

    I have issue with the following code, the purpose is to unzip first then delete the zip file. But I could not delete the zip file. When I put a break point before my delete() call, I manually delete it and get the file is used by another process. Please help. Here is my code;
    try{
    File primeZip = new File(dir, fileName);
    ZipInputStream zipStream = new ZipInputStream(new FileInputStream(primeZip));
         ZipFile zf = new ZipFile(primeZip);
         OutputStream out = null;
         for (Enumeration em = zf.entries(); em.hasMoreElements();){
              String fileName = em.nextElement().toString();
              out = new FileOutputStream(fileName );
              byte[] buf = new byte[16384];
              int len;
              while ((len = zipStream.read(buf)) > 0) {
                   out.write(buf, 0, len);
              out.flush();
              out.close();
         out.flush();
                   out.close();
                   zipStream.close();
    primeZip.delete();
    }catch(FileNotFoundException e){          
    }catch(IOException e){         
    }

    I put close() for ZipFile object which is zf.close() befoer I delete the zip file resolve this issue.
    Thanks.

  • Sender File adapter not deleting the source file after reading

    Hi everyone,
    In the sender Communication channel i have choosen the "Delete" option after reading the source file. But it is reading the file, but it is not deleting the file. I have checked the file status. it is with full persmission.
    can anyone give solution to this.
    Thanx
    Bala

    Hi,
    1. set the mode to delete
    2. make sure the file is "deletable"
    3. check xiserver:port/MessagingSystem/monitor log to see what happens with the file
    (chec both audit and log in that link)
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How to delete the unwanted Remains after interrupt an installation.

    I was trying to install EVE online on my mac book air. But during installation, I decide not to  and then interrupt the process. I was expecting that the disk space it took be freed after cancelling, but it wasn't. And because that program's size is of several gigabytes, It occupies a significant amount of my disk space. And I don't like that at all.
    I tried to delete whatever about eve stored in /Applications in terminal with "rm -rf EVE\ Online.app", but the disk is still not freed, so I wonder if the remains is in somewhere else. Anybody know how to locate the junk files and delete them? I do cherish the limited disk space on my air...
    Thanks...

    Hello,
    It is not easily possible to delete the workitems from UWL in MSS except using Batch program in backend ECC.
    Check again in the ECC, the workflow is got trigered and there is surely workitem in the manager's SAP Inbox. Check the tcode swia, enter the workflow task number and the workflow is got triggerred.
    Use swi5 tcode to see the Completed Workitems and to be completed workitems for that Employe (manager).
    The other reason could be.....somebody might hv executed this wf item, but still lying in UWL lists in  MSS.
    Try to re-register the system using UWL Wokflow Administrator in System Administration.
    Hope this helps.
    Regards,
    Anil Kumar.

  • How to delete the doubled file after exporting through iTunes?

    When I exported an iMovie project from the iPad to Mac via iTunes, it created another file about the size of the movie project (about 5GB in my case).
    Now that I exported the project, I want to keep the movie on the iPad but free that extra 5GB used to prepare the file for export. How do I do that?
    Thanks for any hint.

    Just delete the project in the iTunes/Apps/Sharing pane.
    Once you have saved the file off, you can delete it from the Sharing Pane.
    IMovie uses an internal area to save the project it edits, so the project in the sharing pane is a duplicate as you say.
    You can only delete this file in iTunes though.

  • AP Invoice Validation Program deleting the tax lines after reclassification

    Hi,
    Environment:
    R12 Oracle Payables
    Database: 10.2.0.4.0
    Whenever I run the AP Invoice Validation Program after reclassification, it is deleting the original and reclss tax entries.
    Does anybody know the reason for this, and how to prevent the deletion of tax lines ?
    Thanks in Advance
    Karbi

    THanks V.kras for the information...
    Is is possible to make the system find rules after reclassification....??
    Is it a bad idea to perform validation after reclaasification, as I am losing the existing (original) tax lines....??
    Thanks in Advance
    Karbi

  • In the Mail App how do I delete the MobileMe account after I've moved my second email account to iCloud?

    I have moved two accounts to iCloud. Both iCloud accounts appear on my iPad's Mail App. The MobileMe account is still there, however. In Settings only the iCloud account appears. How do I get rid of the now redundant MobileMe account?

    This works for me: In the iPod's Settings select 'Mail, Contacts, Calendars' and delete the account that appears twice in the Mail App. The add same account. Go to Mail to affirm that the second account appears only once. Bingo!
    Once the second account is in iCloud it can be deleted and added to iOS devices without worries.

  • I want a FM which displays the friday of every week

    Hi Team,
                I have two columns,where in one column the sy-datum will be displayed and in the other column every weeks friday should be written.
    Please share if you have any idea.
    Regards,
    Pradeep P

    Hi Dude,
    Use the FM
    HR_GBSSP_GET_WEEK_DATES
    to get the last day of that particular week.
    Pass the parameters as
    Import parameters               Value
    P_PDATE                         22.08.2008
    the output will be,
    Export parameters               Value
    P_SUNDAY                        17.08.2008
    P_SATURDAY                      23.08.2008
    P_DAY_IN_WEEK                   6
    P_WEEK_NO                       200833
    we want Friday so use the FM,
    HAZMAT_GET_PREVIOUS_DAY
    Keep this Code Contains FM's in a LOOP.
    in side the loop,
    import parameter   P_PDATE  =  value(P_SATURDAY).

Maybe you are looking for