How do i set up this backup strategy?

Hi All,
I am currently running Oracle Suggested Backups using RMAN. I set it up through enterprise manager. The Oracle suggested Backups took a level 0 backup two weeks ago and has been doing incremental backups everynight. Here is the RMAN script that runs nightly:
Daily Script:
run {
allocate channel oem_disk_backup device type disk;
recover copy of database with tag 'ORA$OEM_LEVEL_0';
backup incremental level 1 cumulative copies=1 for recover of copy with tag 'ORA$OEM_LEVEL_0' database;
I want to change this up. I want to take a full hot backup every week (sunday) and then do incremental backups each night. I also want to backup the archive logs and delete any files that are outside the retention policy. I want to keep 14 days worth of backups.
I want to set this up in enterprise manager. Do i have to set one weekly job on Sundays to take the full lev0 backup and then another job to run nightly to take the incremental backups? Can someone please put me on the right track?
I want to conserve disk space and currently all my archive logs and backup files are not being deleted.
Thanks,

Hi
Personally I don't think that it' s a good idea to set a retention polity to 14 days and delete the archive log if older than a week.
If you don't want to delete the archive logs that your are just backing up you can remove the world delete input from the above script.
run {
allocate channel ch1 type disk format '/db/ARON/BACKUP/RMAN/backup_%d_%t_%s_%p_%U.bck';
backupincremental level 0
database
plus archivelog;
backup current controlfile;
backup spfile;release channel ch1;
}If the backup was successful than I suggest you to program a script (UNIX shell ...) that delete the archive logs.
Using rman you can execute command like:
RMAN> delete archivelog until time "sysdate - 7" backed up 2 times to device type disk;
released channel: ORA_DISK_1
released channel: ORA_SBT_TAPE_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=15 devtype=DISK
specification does not match any archive log in the recovery catalogor
RMAN> delete backup of archivelog until time "sysdate - 7" device type disk;
released channel: ORA_DISK_1
released channel: ORA_SBT_TAPE_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=15 devtype=DISK
List of Backup Pieces
BP Key  BS Key  Pc# Cp# Status      Device Type Piece Name
3222    3221    1   1   AVAILABLE   DISK        /db/ARON/BACKUP/RMAN/backup_ARON_572546229_217_1_6ph20n5l_1_1.bck
3242    3240    1   1   AVAILABLE   DISK        /db/ARON/BACKUP/RMAN/backup_inc1_ARON_573346395_221_1_6th2p4ir_1_1.bck
3243    3241    1   1   AVAILABLE   DISK        /db/ARON/BACKUP/RMAN/backup_inc1_ARON_573346395_220_1_6sh2p4ir_1_1.bck
3262    3261    1   1   AVAILABLE   DISK        /db/ARON/BACKUP/RMAN/backup_inc1_ARON_573346438_224_1_70h2p4k6_1_1.bck
3375    3374    1   1   AVAILABLE   DISK        /db/ARON/BACKUP/RMAN/backup_ARON_580506186_229_1_75h9jkia_1_1.bck
3398    3397    1   1   AVAILABLE   DISK        /db/ARON/BACKUP/RMAN/backup_ARON_580506438_230_1_76h9jkq6_1_1.bck
3405    3404    1   1   AVAILABLE   DISK        /db/ARON/BACKUP/RMAN/backup_ARON_580506464_231_1_77h9jkr0_1_1.bck
3445    3443    1   1   AVAILABLE   DISK        /db/ARON/BACKUP/RMAN/backup_ARON_581273242_233_1_79hab1kq_1_1.bck
3446    3444    1   1   AVAILABLE   DISK        /db/ARON/BACKUP/RMAN/backup_ARON_581273242_234_1_7ahab1kq_1_1.bck
3465    3464    1   1   AVAILABLE   DISK        /db/ARON/BACKUP/RMAN/backup_ARON_581273291_237_1_7dhab1mb_1_1.bck
Do you really want to delete the above objects (enter YES or NO)?Bye, Aron

Similar Messages

  • HT3669 Since I starting using my MacMini (2011 version) I have not been able to print double sided from my HP Photosmart plus - there is no option for this in the Printer dialog box as there was in the similar dialog box on my PC. How do I set up this opt

    Since I starting using my MacMini (2011 version) I have not been able to print double sided from my HP Photosmart plus - there is no option for this in the Printer dialog box as there was in the similar dialog box on my PC. How do I set up this option?

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

  • HT5312 It says i will have an option to send an email to my "rescue email" because i forgot the answers to my sequrity question...How do i set up this "rescue email"

    How do i set up a rescue email address??

    You can't after forgetting the answers and need to contact Apple. Use the link to contact the iTunes Store staff in the 'Additional Information' section of that article.
    (90055)

  • How do I set up this calculation?

    Hello everyone, this is my first post, and I'm happy to become part of the Acrobat community!
    So I have been trying to create a form, and I mostly got it all figured out, except for this bit of calculation that I simply can't get to work.
    This is for a purchase proposal, and I need to have it so that clients only need to fill some fields, and others are automatically calculated. There are 4 fields, let's call them Field A, Field B, Field C and Field D. In Field A, which is for currency, the client will type the proposal value, and in Field B he will type the percentage of the value in Field A that he will pay in advance. Field C is set to automatically figure how much, in currency, he will have to pay from the calculation between Field A and Field B. For example, if the client sets 100000$ in Field A and 10% in Field B, Field C will automatically say that the value to pay in currency is 10000$. Now, this was not that hard. I looked around and found a Java Script that does just that.
    Now, Field D is supposed to tell the client how much, in currency, he will pay in the final contract, after he has already payed the 10% advance. So, in other words, Field D should be Field A minus Field C. So the question is, what Script do I need to make this calculation automatically after the client types in the values of Field A and Field C?
    I hope I was able to explain it properly.
    Thank you so much!

    Where is the script located?
    What is not working about this script?
    Have you looked at the JavaScript console for errors?
    Try the following script in Field D:
    function GetField(cName) {
    var oField = this.getField(cName);
    if(oField == null) app.alert("Error accessing field named " + cName, 1, 0);
    return oField;
    } // end GetField funciton;
    // custom calculation for Field D;
    // define some feild names;
    var cTotalPayment = "Field A"; // total payment due;
    var nPercentDown = "Field B"; // percentage down (assumes non-decimal value);
    var nDownPayment = "Field C"; // downpayment amount;
    // end of field names
    // some debugging help;
    console.show();
    console.clear();
    console.println("Total Payment: " + GetField(cTotalPayment).value);
    console.println("Percent for downpayment: " + GetField(nPercentDown).value);
    console.println("Downpayment amount: " + (GetField(cTotalPayment).value * (GetField(nPercentDown).value / 100)));
    console.println("Balance due: " + (GetField(cTotalPayment).value - (GetField(cTotalPayment).value * (GetField(nPercentDown).value / 100))));
    // end debugging help;
    // compute the downpayment amount;
    GetField(nDownPayment).value = GetField(cTotalPayment).value * (GetField(nPercentDown).value / 100);
    // compute balnance due;
    event.value = GetField(cTotalPayment).value - GetField(nDownPayment).value;

  • How would I set up this table of Contents?

    I want a TOC that looks like this:
    Chapter title.......................................author's name......................................page number
    Is this possible? I have always done it manually.
    Thanks
    Ian

    I can give you something that will be a little less manual, although not completely automated. It might seem like a lot of work, but it only takes a bit of time in the setup, and after that, it's all copying and pasting. Have a look at this screenshot:
    I put in some placeholder text, created a headline style, and another style (the 6pt magenta text) called For TOC. I put in the title and author placeholders, separated by a tab and set the width of the text frame to something just below the width of the text frame that holds the body text, and I collapsed the height to fit the text. I set the placeholder text frame to non-printing with Window>Output>Attributes, copied the frame, and pasted it just after the headline paragraph (with a space between the headline and the now-anchored placeholder frame).
    I then set the inline object to a custom position so that no matter where the headline was on the page, the anchored frame would be at the top of the page away from the spine. And, because the inline frame is set to non-printing, it won't show up on printouts or when exported to PDF. Once that's all set up, just copy the anchor and the space (you can use the story editor to make sure you are selecting just those two things) and paste them next to any headlines (or titles, in your case). You then copy the titles from the main text and paste them over the Title in the placeholder (I used Edit>Paste Without Formatting so that the style of the headline would change to the style of the placeholder). You would also type in the name of the author when you are entering the title into the placeholder.
    In the table of contents, you would select the For TOC style, instead of the headline style for inclusion into the TOC. Make a paragraph style for the actual TOC, and set the tab stops there, and you will have:
    Title..............Author................Page #
    The placeholder will travel with the title, so as long as you remember to update any text in the placeholder if you choose to update the titles, you should be good to go.

  • How would you set up this network?

    ingredients: Mac Pro, Macbook Pro, Apple TV, 1 G airport express, 1 N airport express, Airport Extreme Bass Station, 1 medium sized 1 floor apartment.
    the current problem is that the network runs perfectly except for my main computer - the Mac Pro (1 year old) which always disconnects and gives me constant problems. would be nice for everything to work well so i can finally play music throughout the place.
    wireless N? G? mixed? extend the wireless signal? interference robustness? and most importantly - how can i choose a channel that i know the neighbours aren't on?
    any help appreciated! this has been driving me mad for 6 months now

    thanks for the help! by going N I lose 1 airport express but it's worth it if it will fix things.
    Like many people on here i have changed settings 9000 times to try and get the airport expresses from dropping out when streaming to them.
    The main problem is the airport card in this Mac Pro - I think it is a bad one.
    Running a cable would fix things probably although I dont really want cables running through the apartment, I think I will do this to avoid any further headaches.
    Thanks for the input! Maybe in 1 week I will be able to buy a new Mac Pro with a new Airport card - depends on the expo!

  • Is this the backup strategy easily recoverable??

    hi,
    I m not good at backup recovery tasks, i have to set an AUTO backup strategy for HOTEL MANAGEMENT SYSTEM in ORACLE 11g R2.
    the strategy is:
    The database is in archive log mode, the backup is through backup set.
    Weekly 1 full online backup at night and daily incremental backup of datafiles,control file, spfile and archives.
    is this the backup strategy easily recoverable and how??

    Bilal Tahir wrote:
    hi,
    I m not good at backup recovery tasks, i have to set an AUTO backup strategy for HOTEL MANAGEMENT SYSTEM in ORACLE 11g R2.
    the strategy is:
    The database is in archive log mode, the backup is through backup set.
    Weekly 1 full online backup at night and daily incremental backup of datafiles,control file, spfile and archives.
    is this the backup strategy easily recoverable and how??It's easily recoverable - if you have properly protected your backupsets and if you have practiced several different recovery scenarios. And by "practice" I mean actual, hands on recovery in a test environment. 2:00 am with the production system down is not the time to start "practice" or to discover some weakness in your backup strategy.
    And the fact that it is a HOTEL MANAGEMENT SYSTEM (why the shouting, btw) is really irrelevant. To oracle, it's all just data. Hotel management data is no different than automobile manufacturing data.

  • My Firefox system seems to automatically use a town to provide information those automatic banner displays, but it is NOT my town. How do I set or reset this feature to be my hommetown versus another?

    Several different advertisers seem to use an embedded setting to display a map within their banner display, however, it is not my town, but one close by.
    A couple weeks ago, a Firefox window popped up, without my involvement, asking me to verify certain information on it. It seemed to be a 'general settings' window from Firefox and I noticed it had the name of the 'other' town listed in the field labeled "Your Location" (or something close to that), so I changed it to the 'correct' name of my hometown and closed the window properly.
    This action caused no issues (i.e. it wasn't a Trojan virus or anything) and seemed to have cleared up the incorrect banner maps, maybe as I didn't pay too close attention recently. However, today I again noticed the system using the 'other' town's name when displaying those banner map ads.
    How can I set/reset this setting to the name of my correct 'home'town?

    You can automatically save downloads without seeing the Open/Save/Cancel dialog in the Options:
    orange Firefox button (or Tools menu) > Options > General > "Saves files to"
    However, I can't think of a way to have the Open/Save/Cancel dialog always default to Save. I think mine suggests whatever I did last for the same type of content, but I haven't paid close attention.
    I'm out of time to address the problem with "do this automatically" but there is one suggestion for why it could be grayed out in this article: [[Change what Firefox does when you click on or download a file]].
    Is it possible you had a download-related extension before? To compare settings and extensions, please retain the Old Firefox Data folder on your desktop. Aside from checking the extensions in there, it would be interesting to run a text file comparison on your currently active prefs.js file and your old one in that folder.

  • LR5 multi-platform backup strategy

    > PC (2010):
    SSD: Intel SSD 120Gb (Installed apps: Windows 7, CS6 Master Collection, Lightroom 5)
    HDD1: 1TB (Lightroom gallery 1)
    HDD2: 1TB  (Lightroom gallery 2)
    HDD3: Backup 1 (3TB SDD + HDD1 + HDD3 + OS X)
    > rMBP (2013): i5 2.6 GHz/16GB/512GB (Lightroom temporary Gallery)
    OS X: (200GB): LR5, Windows 7 (300GB): CS6, LR5
    > External Western Digital HDDs (current backup strategy):
    WD1 2TB – Backup 2 (copy of Backup 1)
    WD2 1TB – Backup 3 (copy of Lightroom gallery 1, 2)
    Hi guys, I have recently purchased Lightroom 5 and would appreciate some advice on how to set up a backup strategy prior to syncing all my images with it. Currently, above PC is my primary machine (HDD1, HDD2 with image galleries and HDD3 is primary backup). I also have a mac where OS X and Windows 7 (bootcamp) both have LR5 installed. Images stored on the laptop is temporary while I am out and about which eventually gets moved back to HDD1/HDD2 (with backups in HDD3, WD1). I also a spare 1TB external HDD that I would like to utilize to exclusively store Lightroom files.
    My queries are as follows:
    1) What's the best way to move my laptop's (OS X and bootcamp) temporary LR5 files to my primary PC (HDD1, HDD2)? Can I do this over home network easily?
    2) Best way to sync all Lightroom files (from HDD1 and HDD2) with 1TB external HDD? This is so that I have a copy of my images on the go and can sync the laptop to external drive on longer trips.
    3) As my images (along with other data) gets backed up to HDD3 automatically, should I exclude this drive from sycing with LR5?
    4) Is there any backup software I can use to simplify this backup process?
    Cheers!

    it is interesting topic!
    how do you solve this?
    user-friendly  and   multi-platform-friendly
    backup strategy for LR and PS is maybe interesting for everybody
    (I am looking for help for about 5? main LR install and backup configurations ...   )

  • How to restore a corrupted encrypted backup?

    I have a problem restoring backups. My mom wanted me to upgrade her iPad 1 from iOS 4.2 to iOS 5. I'm running Windows 7 with the latest iTunes. So I plugged her iPad in and clicked update. iTunes promted me to update and I clicked it. Then it told me that it would backup the iPad and then wipe it and update it. So I accepted the prompt and it upgraded successfully to iOS 5. Now I wanted it to restore the backup so I selected the backup file, entered the password, and the restore completes half way then tells me that iTunes cannot restore the backup because the backup is corrupt or not compatible with the device.
    I am at a loss on how to fix this problem as this is the only backup file as my mom never plugged her iPad in since she bought it.
    I understand that there are apps to read from the backup file and extract stuff from it but they don't support encrypted files. I tried one program and it told me that the backup is complete and intact except for the fact that it is encrypted.

    Generally immediate backup. Call the shots from. Or daily incremental backups.
    This article is in linux, mysql 4.1.14 version of the Nikon D70 Camera Battery  next test, after appropriate modifications may be suitable for mysql 4.0,5.0 and other versions.
    This did not start replication for the Toshiba Tecra M3 CPU Fan  mysql, if you start a copy, you may need to take this backup strategy or need to modify the relevant parameters.
    Everyone's backup strategy may be Compaq Presario V2600 Laptop Keyboard different, according to practical situation, learn by analogy, do not copy, may result in unnecessary losses.
    I hope you understand what this script to work!

  • How to Restore a Catalog From Backup

    Hi,
    PSE8 on Windows7
    My drive crashed recently and I had to restore from my backup.  The backup was not an Adobe backup but one done using Windows Backup (I also have Carbonite)...I reinstalled PSE8 and then restored the contents of the the USERS folder, but now when I start PSE8 nothing is shown in the Organizer. 
    Any ideas how to get the catalog back?

    Generally immediate backup. Call the shots from. Or daily incremental backups.
    This article is in linux, mysql 4.1.14 version of the Nikon D70 Camera Battery  next test, after appropriate modifications may be suitable for mysql 4.0,5.0 and other versions.
    This did not start replication for the Toshiba Tecra M3 CPU Fan  mysql, if you start a copy, you may need to take this backup strategy or need to modify the relevant parameters.
    Everyone's backup strategy may be Compaq Presario V2600 Laptop Keyboard different, according to practical situation, learn by analogy, do not copy, may result in unnecessary losses.
    I hope you understand what this script to work!

  • How can I set up an E-mail address?

    Hello,
    I just buy a mac book. I have created an e-mail address for i chat (mac.com); I want to use the same address to read my E_Mail, therefore I tried several times to set up this new address in the software "Mail" but it does not work.
    I have see that the mobileme address are not used anymore...but how can I set up this new E-mail adress?
    Thanks to help me
    Regards

    Try changing the email address using https://appleid.apple.com/
    If you can't change it with that site, you'll have to create a new account.

  • HT4356 How can I set up a Canon MX410 to print from my iPad?

    How can I set up this printer on my iPad?

    If it is not an AirPrint enabled printer
    iOS: AirPrint 101
    you need an app to print via. Search the App store. Start searching for a  cannon printer app and general print app like Print Central

  • Need Advice on Backup strategy

    Hi,
    Database version:10.2.0.
    Database Size:60GB.
    Daily Updation Approximately :2GB.
    I need some advice on my backup strategy.
    My backup startegy:
    Monthly Once, Date: 1 Full backup (Incremental level 0).
    Daily Incremental level 2 backup from Date: 2 to 6.
    Weekly Once Incremental leve 1 backup on Date:7.
    Daily Incremental level 2 backup from Date:8 to 13.
    Weekly Incremental level 1 backup on Date:14.
    Daily Incremental level 2 backup from Date:15 to 21.
    Weekly Incremental level 1 backup on Date:22.
    Daily Incremental level 2 backup from Date:23 to 28.
    Weekly Incremental level 1 backup on Date:29.
    My system requirments are i have only 70GB disk to store the backups, i can store only the full backup in it.So what i am doing is, Am storing the full backup in my disk and am transfering the Incrmental level 1(weekly Once backup) to the Tape and deleting the Daily level 2 backups, after taking that weekly backup.
    Is my strategy correct or should i do anything different plz give me some advice.
    TIA,

    This backup strategy doesn't look bad. However the 70G of free space will be a pain in the neck. I suggest you to increase storage. Have you considered archivelog too? This average 2G daily transaction rate will increase storage requirements, sooner or later, so backup storage requirements.
    ~ Madrid

  • URGENT! How do I set up a cogeco email account?

    I have a Cogeco email account, [email protected] I need to know how I can set up this account to receive email on the iPhone. If you have any information that would greatly appreciated. Also what would I use for the incoming and outgoing servers?
    Thanks.

    Since the email is cogeco.net would the server be pop.cogeco.net, or still .ca?
    Thanks

Maybe you are looking for

  • How to check which fields of a table are changed

    Hi I have a FM in which i pass VBAK and VBAP. I store records of table in internal tables and update the values during execution and at the end of this i have to cpmare VBAK and VBAP with internal tables to chcek which field value is changed in both

  • Resize a PDF File

    Hi all. I have created a multi-page PDF document containing text and images which I want to send to a printer. The printer has told me that the page sizes are too big and that part of the content will be cropped in the print process and that I must r

  • Question about Note 870814.1 - Backing up EM Database Control Data

    Quick question -- why would you want to downgrade OEMDC after upgrading to 11gR2? "After upgrading to Oracle Database 11g release 2(11.2), if you want to downgrade Oracle Enterprise Manager Database Control you must save your Database Control files a

  • Workflow from form

    I am trying to initiate a workflow from a form. I have seen several posts in the forums and confusing. I have a form called example user form. In that form I have placed a button. I want as soon as I press the button; test workflow should initiate. W

  • Plug-in stopped working in Internet Explorer after upgrade to JDK 1.4.2

    I've been struggling with this one for a week now with no success, hope someone can help. I have Windows 2000, SP4, IE5.5, everything was working fine with the initial installation of JRE 1.3.2, then upgrades to 1.3.4, 1.3.7, 1.4.1 and finally 1.4.2.