Backup and Redundancy Oracle 11g

Hi,
1. If we set the redundancy to 2, does it mean 2 level 0 backups taken at 2 different points in time one after another or does it mean 2 copies of the same level0 backup?
2. What is the effect of redundancy 2 on incremental backups? Are they also going to be 2 copies?
Thanks & Regards,

Vijay.Cherukuri wrote:
Hi,
Have you read the above link ?
Assume a different case in which REDUNDANCY is 1. You run a level 0 database backup at noon Monday,
a level 1 cumulative backup at noon on Tuesday and Wednesday, and a level 0 backup at noon on Thursday.
Immediately after each daily backup you run a DELETE OBSOLETE. The Wednesday DELETE command does not remove
the Tuesday level 1 backup because this backup is not redundant: the Tuesday level 1 backup could be used to recover
the Monday level 0 backup to a time between noon on Tuesday and noon on Wednesday. However,
the DELETE command on Thursday removes the previous level 0 and level 1 backups.
Also please see : http://web.njit.edu/info/oracle/DOC/backup.102/b14191/rcmconc1007.htm
As far i know RMAN does not delete backups if they are needed for recovery although they are obsolete (crossed retention policy )Not until you issue DELETE OBSOLETE.
Please note that backups are not marked obsolete. They are evaluated for obsolescence when a command that references obsolescence (DELETE ... or REPORT ...) is issued. You can change your retention policy all you want, but until you actually DELETE OBSOLETE, nothing happens to those backups. Then they will be deleted (or not) as per the retention policy that is in effect at the time of the DELETE OBSOLETE command.
That said, it is my understanding that if you keep your backups in the FRA, oracle will automatically delete obsolete backups if needed to free up space for newer backups. I've not personally investigated this so could be wrong. If this is the case, I would imaging that oracle still would not be deleting a backup as soon as it becomes obsolete, as that would require constant re-evaluation, but rather when it determines that it needs to find some space for a new backup.

Similar Messages

  • How to take a backup manually in oracle 11g express edition?

    how to take a backup manually in oracle 11g express edition? i want to take backup of a database and want to restore later on on a different computer .

    Stop database, and copy all files to another machine.That sounds to me to be the closest answer to the question posted. And perhaps the easiest solution.
    Install XE on the "another machine", shut it down. Shutdown the source database. Copy the datafiles to the new host. Startup your "new" database, it will be an exact clone of the original.
    To find out what files need to be copied, as system (or sysdba) run:
    select name from v$datafile;
    ... file1, file2 ...
    show parameter control
    ... control_files ... file1 ...
    alter database backup controlfile to trace [reset logs];
    show parameter diag;
    ... diagnostic_dest ... <drive:>|/diag_pathTo do a proper database clone its better to recreate the controlfile and reset the archive sequence number- leave out the controlfile copy part. In the diag_path location find the trace file under diag/rdbms/$ORACLE_SID/<db_name>/trace it should be the latest ora*.trc file.
    The trace file has the commands to recreate the controlfile, which includes the datafiles and putting the tempfile back in place. If the datafiles are in a different location, i.e. in Windows going to a different drive, or you want do put datafiles in a different folder location, the create controlfile statement is the easiest time to get the file directories right.
    If you add the "reset logs" qualifier (don't use the brackets!) you'll get just the reset logs version of the create controlfile statement, otherwise you'll get both NORESETLOGS and RESETLOGS versions of a create controlfile statement, run one or the other. Not both. Not the entire trace file, just the create controlfile, alter database open [reset logs], alter tablespace temp add tempfile ... bits. No recovery is needed for a database that is shutdown when datafiles get copied to a new location/host.

  • When is delete all obsolete backups triggered in Oracle 11g DB

    I have a query as to when delete all obsolete backups triggered in Oracle 11g DB. We changed the RMAN retention policy to 10 days from 14 days in our setup. Is it triggered manually by delete all obsolete from Availablity->Manage Current Backups in OEM or is it triggered automatically every time RMAN backup is done?
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards

    975148 wrote:
    I have a query as to when delete all obsolete backups triggered in Oracle 11g DB. We changed the RMAN retention policy to 10 days from 14 days in our setup. Is it triggered manually by delete all obsolete from Availablity->Manage Current Backups in OEM or is it triggered automatically every time RMAN backup is done?
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards
    First, I would never manage my backups in OEM.  When the crunch comes at 2:00 am, I don't want ever more moving parts to be involved in recovery.
    Second, the only thing approaching a "triggering" of deletion of backups is if your backups are in the FRA ... rman will, at the time of making a backup .. attempt to delete obsolete backups if necessary to free up space in the FRA.
    Other than that, oboslete backups are only deleted in response to a direct DELETE OBSOLETE command.  This command may optionally ( as shown by TigerDBA) include a run-time obsolesence rule, or it may depend on the standing configuration.
    Another thing to note is that backups are NOT marked as obsolete.  They are EVALUATED for obsolescence in response to a DELETE OBSOLETE or REPORT OBSOLETE command.
    And one final thing to not is that all recovery must begin with a full backup.  That would be the most recent full (or level 0 incremental) backup prior to the point in time to which you need to recover.  That means the most recent full (or level 0 incremental) backup will never be considered obsolete, regardless of how old it is.

  • Monitor the online backup progress in Oracle 11g (RMAN)

    Hi,
    is there  a simple way to see the progress of the online backp for oracle?
    We are using oracle 11g and using RMAN td level-0 and level-1 backups in the SAP environment(SAP Netweaver 7.01)
    Regards,
    Rakesh

    Thanks Siva!
    I was looking for something like a script which tells me the running backup progress.
    Like the following script which tells the status of RMAN backup (completed/failed):
    col STATUS format a9
    col hrs format 999.99
    select
    SESSION_KEY, INPUT_TYPE, STATUS,
    to_char(START_TIME,'mm/dd/yy hh24:mi') start_time,
    to_char(END_TIME,'mm/dd/yy hh24:mi')   end_time,
    elapsed_seconds/3600                   hrs
    from V$RMAN_BACKUP_JOB_DETAILS
    order by session_key;
    regards,
    Rakesh

  • DB13: Execute Redo log backup of remote Oracle 11g database fails

    Dear Experts,
    First of all I have to state I am not very experienced in administrating (Oracle) databases, but I would like to ask you all the following:
    We run two SAP Systems with each their own database on the same host:
    1. SAP SRM ABAP system on Oracle 11g
    2. SAP NetWeaver WebAS Java (Portal) on Oracle 11g
    We would like to schedule backups of the Java database in transaction code DB13 on the SRM ABAP system.
    Actions already taken:
    - We have maintained the proper database connection to the Java database and have set file system permissions correctly (according SAP Note 102570). Connection in transaction DB02 is fine and stats are showing for both databases.
    - We have maintained enviroment settings for <SID>_ORACLE_HOME and <SID>_SAPDATA_HOME and for the shell (csh).
    - Destination SAPXPG_DBDEST_<host> is maintained in SM59.
    When we schedule a Redo log backup of Java System in DB13 and execute immediately, we receive the following error:
    Process died due to signal 11
    SXPG_COMMAND_EXECUTE mislukt voor BRARCHIVE - oorzaak: unknown
    Any tips?
    Thanks in advance & Best regards,
    Jan Laros

    Hi Eduardo,
    Thank you for your reply.. Today I am at another customer, so I can not check it. But is seems to me that the BRTOOLS are up-to-date as we installed the system fresh and imported the Support Package and kernel updates right afterwards.
    I will check which BRTOOLS are used tonight, anyway.
    Best regards,
    Jan

  • Are backup notifications in Oracle 11g DB covered in notification rules

    I had a query whether a notification for backup job completion in Oracle 11g database is covered in the notification rules section available in enterprise manager. I could not find any other way of sending notification from EM so was wondering if the notification for backup job completion is covered in the notification rules section.
    Please revert with the reply to my query.
    Regards

    My understanding from your answer is as follows:-
    1) The email addresses have to be entered in Preferences->General. Say I enter [email protected] & [email protected]
    2) In Preferences->Notification Schedule, we can specify either of [email protected] or [email protected] and we cannot specify [email protected] as it is not included in Preferences->General?
    I have tried to put the observations as examples, request you to please check and revert with examples if my understanding is not correct.
    Regards

  • Image not displaying in pdf report using XSL-FO and using Oracle 11g databa

    Good Afternoon,
    I have created over 15 reports using XSL-fo, with the following syntax to display an image on the pdf:
    fo:block margin-left="0.24cm" margin-right="0.27cm" margin-top="0.0cm" ><fo:external-graphic content-width="scale-to-fit" content-height="scale-to-fit" width="1.73cm" height="1.57cm" >
    <xsl:attribute name="src">'url("http://readiness:7780/i/marforcom_symbol_rpts.gif")'</xsl:attribute></fo:external-graphic>
    </fo:block>
    This syntax works fine when using Oracle 10g, now my database has been upgraded to 11g and my image no longer displays in the reports. I have already upload the image into the database as a workspace image.
    I have tried to point the image @ the image by using url(#WORKSPACE_IMAGE#marforcom_symbol_rpts.gif)
    or <img src ="#IMAGE_PREFIX#marforcom_symbol_rpts.gif")
    and it still doesn't work.
    I have searched this forum trying to come up with a solution that will fix my problem and am unable to.
    Current config: Oracle 11g, using pl/sql gateway.
    I need to know how to point the xsl-fo file to the database, where the image now resides.
    Thanks,
    Mary
    Edited by: MaryM on Jul 25, 2012 3:15 PM
    Edited by: MaryM on Jul 25, 2012 3:51 PM

    Hi,
    I think you need load images to database XDB virtual directory /i/ and then use #IMAGE_PREFIX# substitution.
    This might help to access /i/
    http://www.apex-blog.com/oracle-apex/accessing-i-using-ftp-170.html
    Or use this to load images
    http://oracleinsights.blogspot.fi/2012/05/loading-images-into-oracle-xdb.html
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How to shutdown and startup oracle 11g R1 from dbcontrol (EM)?

    Dear All,
    I have already installed oracle 11g R1. The database is running smooth including the dbcontrol / EM.
    I have difficulty in shutdown and restart database from EM.
    How to set EM, so that I can start and shutdown the database from EM?

    Hi,
    If you are in windows, this is a very common problem.
    You can try setting the logon as batch job to the OS user from local security policy
    1.Go Control Panel, Administrative Tools.
    2. Click on Local Security Policy.
    3. Local Policies, User Rights Assignment.
    4. Double click, 'Log on as a batch job'
    Here provide username along with domain name like co.uk\foo
    Regards

  • SESSION_PER_USER limit of the user profile and memory Oracle 11g

    Hi,
    I am new to oracle 11g.
    My applications are facing some problem hosted over oracle 11g and this issue appearing because of there is not sufficient sessions available.
    Here is current setting
    CPU count                    2
    Parallel Thred per CPU               2
    Resource Manager CPU allocation     2
    Shared mamory address          0
    Memory MAX target               6GB
    Memory Target               6GB
    Total Size of DB               75
    Used Size of DB               55
    Sessions -MAX               555
    Processes-MAX               500
    We want following settings
    Total Size of DB               75
    Used Size of DB               55
    Sessions -MAX               1200
    Processes-MAX               800
    Here is my qurey
    Is there any relationship between memory allocated to database and Sessions -MAX & Processes-MAX or CPU allocated .
    and whats best setting we can get for Sessions -MAX & Processes-MAX for given configuration of CPU and memory ?
    Thanks
    Edited by: user13714831 on Jul 22, 2011 12:54 PM

    limit number of session per user using wired dot1x is not available in 1.3

  • 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.

  • Windows 7 64-bit and need to install both 32bit and 64bit Oracle 11g client

    Hello
    First I am sorry for asking what is probably a common knowledge answer from most in the forum. I just cannot find a straight forward answer searching these forums or via google.
    We have Windows 7 64-bit planned as our next desktop upgrade. We have several Oracle databases, and all of the client software in our environment is 32 bit.
    I want to try and be ahead of the curve so I want to deploy the latest 64-bit 11g client instead of our current client (10g 32bit).
    The simple question is this: Can we actually do that with our 32bit application suite or do I need to install the 32bit client for 32bit applications side-by-side with the 64bit 11g Oracle client for future 64-bit clients?
    For a follow up to that, if I do, then does anyone have good instructions on that? I found one article on this but it seemed custom and made use of the mklink command, so I have my doubts this is correct.
    Thanks

    Thanks for the tip. What I wonder though is should I do that or does the 64-bit client have a 32-bit layer that works with 32-bit applications or, am I forced to still deploy a 32-bit client because of my 32-bit software?
    Thanks

  • Certification Authority Backup and Redundancy

    Hi,
    I have installed Certification Authority on One of my DCs (Windows 2008 R2 Standard), to serve certificated for Exchange and Lync and other applications, I have few questions if you guys can reply me.
    1- What will happen if this server goes down , All certificated installed on Client server will stop working
    2- How can i backup this CA server to restore it.
    3- Is there any way that i can make redundant of this CA.
    Regards
    Usman Ghani
    Usman Ghani - MCITP Exchange 2010

    1 - Certificates cannot be validated anymore if the most recent revocation list (CRL) expires and the CA is not available to sign new CRLs. If you had used default settings delta CRLs are valid for one day so after one day application checking CRLs (not
    all do!) would report issues.
    2 - You should backup the CA's key and certificate (manually, only after setup or renewal, certsrv.msc). The registry key of the CertSvc service (config.) and the database should be backed up regularly (certutil -backupdb). Restoring the CA is similar to
    migrating a CA to a new server: You import the key and add the role, using the option "Existing key and certificate".
    3 - There is no option for 100% redundancy: Setting up a second CA (with a different cert. and key) only makes the service for issuing certificate high-available, but the second CA cannot sign CRLs on behalf of the first. (And you cannot have two CAs with
    the same Subject name in AD). You could use Windows Clustering but in this case the database is on a Shared Storage - but I guess that is not an option anyway if the CA is on a DC.
    I would rather recommend planning CRL validity periods and overlaps (new CRLs published while the existing one still valid) so that you would have enough time to restore the service in case of a disaster. If the CA goes down before a few days of bank holidays:
    How long would it take for somebody to be notified and the backup to be restored? I would not use delta CRLs unless you plan for extremely frequent revocations and have bandwidth issues but rather use only base CRLs.
    Elke

  • Oracle Forms 6i and database oracle 11g

    Hello!
    Today we have Oracle Forms 6i running against databse 9i. We are in the process of upgrading our db to 11g.
    Will our Forms application still work? What steps do we need to do to make it work?
    Any input is valuable.
    We have the same quetsion oabout Oracle reports 6i.

    Hello,
    I you follow the Note:338513.1 on Metalink, you can see the following:
    Forms / Reports 6i patchset 16 or patchset 17 was certified to work against Oracle Server (RDBMS)+
    +10g Rel 1 (10.1.x)+
    Forms / Reports 6i has never been certified, nor will it ever be certified against Oracle Server (RDBMS) 10g Rel 2 (10.2.x) or Oracle Server (RDBMS) 11g (11.x).
    +(This is because Forms / Reports 6i is now de-supported - see important note below)+
    Important Note: Forms / Reports 6i is now de-supported e.g.
    - If running in client-server mode, Forms / Reports 6i was desupported at end of January 2005
    - If deploying over the web, Forms / Reports 6i (Oracle 9iAS Rel 1 Forms / Reports Services) was desupported at the end of June 2004
    This means that Forms / Reports development will no longer provide an error correction service for Forms / Reports 6i (unless an organisation has purchased extended maintenance support) Therefore, Oracle strongly recommends that customers using desupported versions upgrade to a supported version e.g upgrade to Oracle Developer Suite 10g Rel 1 or 2 / Oracle Application Server 10g Rel 1 or 2
    Francois

  • To export and import oracle 11g table data only

    Hi Gurus,
    Just not sure of the procedure to follow in the export just the table data and then truncate the table do some changes(not table structure changes ) and then import the same table data in to the relevent table .
    Could some please help me in the setps involved in it .
    Thanks a Lot in advance

    If you can use Data Pump, here are your commands:
    expdp table_owner/password directory=<your_directory> dumpfile=table_name.dmp tables=table_name content=data_only
    impdp table_owner/password directory=<your_directory> dumpfile=table_name.dmp tables=table_name table_exists_action=append
    Data Pump requires version 10.1 or later.
    Dean

  • Log switch and checkpoint - Oracle 11g

    Hi
    I've read a documentations and forum, but I can't find clean explanation. I'd like to ask - does switch log trigger checkpoint? I've heard, that from 8i version checkpoint doesn't occur on log switch, but can't find information
    in documentation.
    Thanks awfully for help.
    Regards

    before 8i , logfile switch caused full checkpoint
    8i and above , logfile switch no longer causes full checkpoint , it causes a "log switch checkpoint"
    A log switch checkpoint write the contents of "some" dirty buffers to the disk

Maybe you are looking for