Backup and recovery questions

Hi,
I am a newbie in Oracle database 11g Release 11.2.0.1.0 and Oracle Linux and I have questions regarding backup and recovery.
I used the “Schedule Oracle-Suggested Backup” and have it run nightly to back up to local disk. In the Backup Setting, on the Retention Policy, I selected “Retain backup that are necessary for a recovery to any time within the specified number of days (point-in-time recovery) day = 7”
With the setting above, I checked the “Manage Current Backups” and I have many back sets for SPfiles, controlfiles, datafiles, and archivelogs for the last several days. However, for image copies, I have only one set and it get over write nightly. With the configuration above, is that true that I can only recover to any point in last 24 hours?
My goal is to be able to recover any “point-in-time” in the past 5 days, should I change my Retention Policy to “Retain at least the specified number of full backups for each datafile” to 5 backups (each full daily backup)?  Please provide some advices. Thanks

By looking the following, it looks like by default its 24 hours but it depends upon the recovery window you choose.
Enterprise Manager makes it easy to set up an Oracle-suggested backup strategy for backups to disk that protects your data and provides efficient recoverability to any point in the a recovery window of your choosing. (In the simplest case, examined in this section, this window is 24 hours.) The Oracle-suggested strategy leverages Oracle's incremental backup and incrementally-updated backup features to provide faster backups than whole database backups, and faster recoverability than is possible through applying database changes from the archived log to your datafiles.
The Oracle-suggested backup strategy is based on creating an image copy of your database. This copy is rolled forward by means of incrementally updated backups. Oracle Enterprise Manager schedules RMAN backups jobs for you to run during the overnight hours.
For each datafile, the strategy calls for backups as follows:
At the beginning of day 1 of the strategy (the time the first scheduled job actually runs), an incremental level 0 datafile copy backup. It contains the datafile's contents at the beginning of day 1. In a restore-and-recovery scenario, the redo logs from day 1 can be used to recover to any point during day 1.
At the beginning of day 2, an incremental level 1 backup is created, containing the blocks changed during day 1. In a restore-and-recovery scenario, this incremental level 1 can be applied to quickly roll forward the level 0 backup to the beginning of day 2, and redo logs can be used to recover to any point during day 2.
At the beginning of each day n for days 3 and onwards, the level 1 backup from the beginning of day n-1 is applied to the level 0 backup. This brings the datafile copy to its state at the beginning of day n-1. Then, a new level 1 is created, containing the blocks changed during day n-1. In a restore-and-recovery scenario, this incremental level 1 can be applied to the datafile rolled forward on day n-1 to the beginning of day n, and redo logs can be used to recover the database to any point during day n.
The datafile copies used in the Oracle-suggested backup strategy are tagged with the tag ORA$OEM_LEVEL_0. The level 1 incremental backups for use in this strategy are created for use with datafile copies that are so labelled. You can safely implement other backup strategies without concern for interference from the backups for the Oracle suggested strategy.
There are also Oracle-suggested strategies that use tape backups along with disk backups, but those are beyond the scope of this chapter.

Similar Messages

  • Need clarification for cold backup and recovery

    Hello Everyone ..
    I have much confusion on cold backup and recovery topic.
    Already i posted a scanario regarding this and i want to know some clarity points to understand.
    1. I had cold backup two days before
    2. I am creating an object *(EMP)* and inserting some records then issue log switch continiously.
    3. Manually i removed all physical files (datafiles , control files , log files , redolog files ...)
    4. then i issued STARTUP FORCE MOUNT;
    5. here i am getting error identifying control file.
    6. cold backup two days before all files restored
    6. then i issue recover database using backup controlfile until cancel;
    7. i am trying to issue select * from emp; i am getting error
    select * from emp
    *ERROR at line 1:
    ORA-00942: table or view does not existMy QUESTION IS
    After cold backup finished , i created emp table ..
    when restoring old back " There is no emp table"
    *- then , can i recover emp table ? - If so , please explain about this ..*
    Note : REF - LINK https://forums.oracle.com/forums/message.jspa?messageID=11056341#11056341
    - Above link says what i did ? . In this thread i am asking concept & logic ..
    please do NOT consider as "*DUPLICATE*"

    When you recover the database using backup controlfile until cancel, you have to apply archived logs. Did you apply all of them?
    If the create command was in the online redo, not yet archived, and you lost the online redo, then you won't have it. This is why you want to have redo multiplexed, it is a critical piece.
    In some recovery scenarios, if you haven't lost the online redo, you need to specify those files as if they were archives.
    It is normally easier to just be sure you have the latest controlfiles and let Oracle figure it out automatically (which is why you want to use online RMAN backups rather than cold backups). But yes, it is important to understand what is going on for different scenarios. I used to have manual standbys, and one of the disaster instruction sets explained to try to get online redo over to the standby to lose as few transactions as possible. That could still be useful for some snapshot hardware type scenarios, assuming the business is too cheap to do proper failovers.

  • Making data in tables online and offline - Backup and Recovery

    Hi All,
    I'm working on a project where the functionality is similar to 'Backup and Recovery' for database tables.
    Lets say we have a set of 6 tables T1, T2.... T6. They do have relationship between them. The tables in questions are simple standard tables, which are not table partitioned.
    - I want remove the records from live tables based on user entered date ranges and store it in some offline medium.
    - I might want make the data online again from the offline medium; Application should be able use that data without any modifications.
    - Different offline mediums can be
    a) Flat file
    b) Different table space
    c) Any other secondary medium (like XML, tape..Etc,)
    The total number of records will run in millions.
    The proposed solution should consider,
    1. Performance - Java solutions not feasible. Anything in SQL, PL/SQL or runs in DB itself(tools) are OK.
    2. Reliability - Should be highly reliable, Data corruption simply unacceptable.
    3. Security - Users should not be able to make out of the file.
    Few options include:
    1. Use partition
    2. Use SQL*Loader
    3. Export and import of tables.
    My main targets:
    1. Reduce space.
    2. Increase performance for queries.
    Please pass on your suggestions, any help is highly appreciated!
    Thanks In Advance!

    Few points to note:
    1. I agree partition would be right solution, but as I mentioned in my earlier statement, 'The tables in questions are simple standard tables, which are not table partitioned.'. The tables right now are not partitioned and I believe we cannot add/modify partitions, if the table were not created with the partition option. One work around is to build a partitioned table and copying all the properties(indexes,rows,constraints) from the existing non-partitioned table. But I suspect this is highly riskier and we can't afford to it.
    2. I need to support Oracle database versions starting from 8.0.6.
    3. Flat file is mandatory, others are optional. I can restrict our discussion just for a file.
    4. Considering the above points, the only option I could think of is I can move the records from the table to flat file and remove from tables. When required rollback the file data to the table and application would be able to use it. For export/import few options are: SQL*loader, exp/imp utilities, PL/SQL file UTL packages
    Thanks In Advance

  • About Backup and Recovery in a distribuited enviroment

    Hi.
    I've read that if you more that one DB (say 2) connected in a distribuited enviroment, all DBs must be recovered in case one of your DBs fails.
    I'd like to clarify the folloiwng issues:
    - It that 100% true, i mean isn't an exception to that rule?.
    - What happens if one DB is in archive mode and the other is not?
    - Why do i have to restore both DBs if there's one one in trouble?.
    - Isn't there a way to tell recovery process that you don't want restore or apply the distributed data, since you know that data is already there (at least in the case of complete recovery)?
    Thanks in advance ...!

    I couldn't find much info on the topic for 9i (you don't mention your version), but found this in the Backup and Recovery Concepts manuls:
    "If the database is a member of a distributed database system, then all databases in the system should operate in the same archiving mode. Note the consequences and constraints contained in the following table.
    Mode Constraint Consequence
    ARCHIVELOG
    Closed cleanly
    Backups at each node can be performed autonomously, that is, individually and without time coordination.
    NOARCHIVELOG
    Closed cleanly
    Consistent whole database backups must be performed at the same global time to plan for global distributed database recovery. For example, if a database in New York is backed up at midnight EST, the database in San Francisco should be backed up at 9 PM PST."
    Therefore, I wouldn't recommend having one database in archivelog mode and the other not. As far as your last question is concerned, I'd say that Oracle won't try any recovery if there isn't a need for it (if the data is already there), but that could be tested to confirm. I think that you need to read carefully the RAC concepts manual, and try some backup/recovery scenarios hopefully on a test box.
    Daniel

  • HP Backup and Recovery Manager for Windows 7

    I installed all the softwares and drivers that came along with the HP upgrade DVD. But, I find that the Backup and Recovery Manager missing on the DVD. Is there a Backup and Recovery Manager for Win 7? I liked the backup and recovery manager that was available on my Vista when I bought this laptop but is now unavailable because of the upgrade!! Any solutions for this? I do not want to use the default Windows Backup as I do not have a separate HDD at the moment to store the backup there and do not wish to populate my local hard disk with backup data!! Thanks.
    This question was solved.
    View Solution.

    Yea, basically. There's no working program for your laptop so it seems that you can use from within Windows 7.
    However, if you have problems, recovery discs will work. As well, if your recovery partition still exists, you can still access it by pressing F11 when you see the HP logo at startup.

  • Backup and recovery oracle XE

    Hi, oracle guru.
    I have searched in google how to backup and recover to and from removable disk or hard disk (in separated folder) in oracle XE 10g, but I didn't found any.
    I tried to use backup and recovery database given from oracle itself, and I analyze which file is added and modified. I do somekind of trial and error action. First, I backup my database and then I copy 2 files (I forgot the names, 1 is about 853 kb, and one is the backup file (about 500 mb)). And then I do some user deletion (I have several users) and then I backup and copy again to different folder from the previous one. Note that I am not using archive log: on.
    Unfortunately, when I copy the previous backup (the one with complete users) to oracle folder, the restore database does work until, I guess starting database, it throws error saying that something error in SYSTEM.DBF, thus making my oracle doesn't work, even I canot go to database home page.
    My question is that how to backup and recover database to and from removable disk or harddisk with different folder? Which files do I need to copy or should I add backup and recover script?
    Thanks for the reply.

    Yes, as I already mentioned, previously (assumes) that I have database with several users (say 5 users). And I use backup database and restore database from oracle folder in start menu, and it works perfectly (assuming that I delete one user and then restore database).
    However, I tried to copy the backup file (which I mentioned before, but I am not sure the files I am copying is backup file since I only analyzed it). So, I test it. First I backup, and I copy to separate folder. Next, I do some user deletion, and I do backup. Say, for example I want to use that backup file in another computer. I copy the files to oracle installation folder. One in product/database/ folder, and one in flash-recovery area. When I try to use restore database (in start menu), it works, until, I guess, starting database, and it throws error saying that error in SYSTEM.DBF.
    So, my point is that, how do I backup my database so that the backup file can be in separated folder (for example in removable disk), thus I can also select backup file to be restored.

  • Backup and Recovery Procedures for S&OP

    Hi Team,
    My customer is trying to evaluate S&OP and has the following quesitons around backup and recovery.  If you have any info on this, can you pl. share with me?
    What is the SLA on Cloud based system availability?
    How often does the backup happen for Cloud based system?
    When a system goes down and there is a recovery, how much data would be lost – i.e., what is the lapse time between backups?
    Thank you
    Kamala

    Hi Kamala Rao,
    Please follow this link. Hope it will help your question.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/805fbf53-8295-3110-1d89-f4cfc211687f?QuickLink=index&…

  • Backup and Recovery of Enterprise

    I've inherited an instance of Enterprise XI R2, and have discovered that it is a critical system, but is not being backed up.  I'm new to this, please bear with me.
    I found the backup and recovery guide (https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09a069c-6a3f-2b10-3399-e0ed04d866f8), and it gives a good high level overview, but I need a little more info.
    Questions: 
    1.  The guide states that "The Central Management Server (CMS) and all job-processing and Performance Management servers should be stopped by an automated script."  Is there a specific order that the servers need to be stopped and started in?  Would anyone be willing to share their script?
    2.  I assume that when the servers are down, anything scheduled to run during that time will be lost.  i.e., the server won't check for missed jobs caused by the stopped state once the it resumes, correct?
    3.  The only thing that I need to back up on the file system is the contents of FileStore (C:Program FilesBusiness ObjectsBusinessObjects Enterprise 11.5FileStore*.*), correct?
    4.  This looks like a vanilla install using MySql.  Would anyone be willing to share their MySql backup scripts?  Is there a default password for MySql?  How can I determine this password?  How many databases are there? 
    5.  I plan to create a backup script that stops the servers, copies the FileStore path to a backup folder (using xcopy to preserve the archive attribute), have MySql generate a backup file to the same folder, and then start the servers.  This folder will be written to tape nightly (fulls on weekends, incrementals during the week).  Is there anything else that I might need to backup?  Config files?  Ini's?
    Thanks!!!

    1. There is no specific order, but last to go down should be CMS and first to come up should be CMS.
    @echo off
    Stop Business Objects Services
    echo
    net stop "BOBJCrystalReportApplicationServer"
    net stop "BOBJEventServer"
    net stop "BOBJProgramServer"
    net stop "BOBJOutputFileServer"
    net stop "BOBJProcessServer"
    net stop "BOBJInputFileServer"
    net stop "BOBJDestinationServer"
    net stop "BOBJCrystalReportspageserver"
    net stop "BOBJJobServer_Report"
    net stop "BOBJCentralMS"
    exit
    Similarly to Start services, instead of stop use start and put CentralMS at the top and save it as a batch file.
    2. Jobs running when the server goes down will fail, other recurring jobs will wait till the server comes up.
    3. Yes, backup File Store & Database.
    4. Not sure about the default password for My SQL, you should be able to backup the MySQL database, I have done that once.
    5. Backup FileStore & Database.

  • Can't find folder created by Backup and Recovery app

    Hi all,
    I have A316i phone and when I select "Backup and Recovery" app and backup my SIM contacts it shows it created backup (and I can see it in the restore tab). But when I want to find that backup on my phone's SD memory card in order to copy it to my PC hard disk I can't seem to find it.
    How do I copy backup folder from phone to PC ( and how do I find it)?
    Thanks.
    Solved!
    Go to Solution.

    Go to contacts > press the settings button (bottom left side)>Import/Export.
    You can also export contacts to your google account... That way every time you change your Android phone just connect with your google account and all your contacts and the data (birthday, address, photo.. )you add to them will show up.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as ''ACCEPT AS SOLUTION"! 
    Unsolicited PM's will not be answered! ....Please post your question/s in the appropriate forum board.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Oracle9i AS Backup and Recovery Utility

    Hello,
    Our customer has some applications on oracle 9iAS and oracle db 9.2. I’m trying to find the Oracle9i Application Server Backup and Recovery Utility. It doesn’t seem to be included in the install of Oracle 9iAS. Does anyone have an idea where it could be found any more?
    Kind regards

    Hello
    Thanks for your question.
    It seems it has existed in Oracle 9i because there is this Oracle White Paper in technetwork in which it is described:
    Oracle9i Application Server:
    Backup and Recovery
    An Oracle White Paper
    December 2003
    http://www.oracle.com/technetwork/middleware/ias/9ias-br-128138.pdf
    But I wasn’t able to get the download links working.
    The backup and recovery utility is also mentioned on the pages of Oracle-Base:
    http://www.oracle-base.com/articles/9i/Oracle9iASBackupRecovery.php#DownloadSoftware
    But the links weren’t working there either.
    Regards,

  • I want to find any backup and recovery solution for SharePoint server 2013 enterprise

    Dear Expertise,
    Recent set up SharePoint server 2013 Enterprise, and looking for backup and recovery solution, does the built in Windows Backup can handle it, and how?
    KF

    Hi,
    According to your post, my understanding is that you wanted to know some backup and restore solution for SharePoint 2013.
    There are two Technet articles about the backup and restore, you can have a look at them.
    http://technet.microsoft.com/en-us/library/ee428315(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/ee662536(v=office.15).aspx
    You can also use some third-part software tools to achieve the same scenario.
    http://www.avepoint.com/products/sharepoint-infrastructure-management/data-protection/
    http://www.sharepointreviews.com/sharepoint-reviews-articles/sharepoint-administration/254-sharepoint-backup-recovery-evaluation
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • LIVE Video Tutorial! How to Prepare for Backup and Recovery - HP Expert Day "How-To" Video Series – Today at 2:00pm PST

    Join us at 2:00pm Pacific time for a LIVE video tutorial of how to prepare for system backup and recovery! The video features HP experts who work with the products every day!
    I am an HP employee.

    #test

  • Windows 8.1 recovery problem and install dell backup and recovery software...

    i had upgrade my windows to 8.1, the problem is that i cant install Dell backup & recovery, when i installing and updating PE I get FACTORY SETUP ERROR 5
    is there any technical help me please...thx
    however...its cant recovery or reset my laptop back to factory image...
    just like this photo...
    recovery cant... refresh also cant...

    Same problem here: windows 8.1, dell backup and recovery 1.6.2.4. During the installation, when the box of "updating PE environment" appears, i get "factory error 5"
    Is there any solution?
    Regards

  • Logical backup and recovery using export/import

    Hi,
    Anyone provide me the clear steps and command to take logical backup and recovery using the import and export method...??.
    im using oracle 9i database and redhat linux server version 4.0.........???.
    thanks,
    vasanth.......

    user12864080 wrote:
    Hi,
    Anyone provide me the clear steps and command to take logical backup and recovery using the import and export method...??.
    im using oracle 9i database and redhat linux server version 4.0.........???.
    thanks,
    vasanth.......Vasant,
    Though you have got links already for using the exp/imp , I would strongly suggest that when you mention backup/recovery, RMAN is the tool that you should be using. Exp/imp is/was never considered as a backup tool. You should read this paper to get the answer of "why rman" ?
    http://www.evdbt.com/TD_Rman.pdf
    Aman....

  • Issue with backup and recovery of WLS

    I have installed WLS 10.3.6 in my 64-bit Linux box, now I am trying to take backup my server. I have a web-application deployed to my WLS, the path to my war file was something like:
    <home_dir>/install_files/myapp.war
    Now to take backup I ran tar command on my current Linux box, now I copied the .tar files to my new Linux box and extracted it. When I am starting my weblogic server it is looking for the war file from the path <home_dir>/install/myapp.war which does not exist on my new machine. So I logged into Admin console of WLS on my new machine and trying to change the path for myapp.war by clikcing update button. But I am getting this error when I change the path:
    weblogic.management.ManagementException: [Deployer:149007]New source location, '/u01/Oracle/install_files/myapp.war', cannot be deployed to configured application, 'myapp'. The application source is at '<home_dir>/myapp.war'. Changing the source location is not allowed for a previously attempted deployment. Try deploying without specifying the source.
    Update operation failed - no deployments changed.
    Please help me how to deploy my files. I'm expecting backup and recovery option should also take care of deployed files but it is not happening in my case, is that wrong?

    1. There is no specific order, but last to go down should be CMS and first to come up should be CMS.
    @echo off
    Stop Business Objects Services
    echo
    net stop "BOBJCrystalReportApplicationServer"
    net stop "BOBJEventServer"
    net stop "BOBJProgramServer"
    net stop "BOBJOutputFileServer"
    net stop "BOBJProcessServer"
    net stop "BOBJInputFileServer"
    net stop "BOBJDestinationServer"
    net stop "BOBJCrystalReportspageserver"
    net stop "BOBJJobServer_Report"
    net stop "BOBJCentralMS"
    exit
    Similarly to Start services, instead of stop use start and put CentralMS at the top and save it as a batch file.
    2. Jobs running when the server goes down will fail, other recurring jobs will wait till the server comes up.
    3. Yes, backup File Store & Database.
    4. Not sure about the default password for My SQL, you should be able to backup the MySQL database, I have done that once.
    5. Backup FileStore & Database.

Maybe you are looking for

  • HT1476 Charging is not supported by this accessory?

    I'm really frustrated because I have tried every possibly way to fix my iPod Touch fourth generation. There are two things wrong with it and I have already purchased things to fix them- a home button and a new charger. I am not sure this new charger

  • HP LaserJet P1102w Wireless setup

    So I'm currently living on camus, and I had finishing building my own desktop, without CD reader. And my printer is in no position of reaching my USB ports for my desktop. I'm trying to setup my printer for wireless printing, but my campus uses, Myre

  • Free goods in return order

    Dear All, We are creating return order with reference to billing document.Billing document has free goods as second line item .When I create return order only main item is getting referenced not the free goods . Is it a standard behavior ? can we ach

  • Problem in using objbase.h ,help!!!

    Hi I have some problems in using the header file <objbase.h> when I want to use the functions defined in objbase.h,such as " WINOLEAPI  CoInitialize(IN LPVOID pvReserved)", labwindows cvi will give error information:   Undefined symbol '_CoInitialize

  • How can i change the name of my iphone on itunes and register under a new name?

    how can i change the name of my iphone on itunes and register under a new name?