BACKUP AND RECOVERY USING RMAN

제품 : ORACLE SERVER
작성날짜 : 2003-08-04
BACKUP AND RECOVERY USING RMAN
==============================
1. Backup Method
1.1 backing up in noarchivelog mode
SVRMGR> shutdown;
SVRMGR> startup mount
rman을 가동시킨 후 다음을 수행
run {
# backup the database to disk
allocate channel dev1 type disk;
backup (database format '/oracle/backups/bp_%s_%p'); }
1.2 Backing up databases and tablespaces in archivelog mode >
- database 단위 backup script
run {
allocate channel dev1 type 'sbt_tape';
backup skip offline (database format '/oracle/backups/%d_%u');
release channel dev1;
- tablespace 단위 backup script
run {
allocate channel dev1 type disk;
backup
(tablespace system,tbs_1,tbs_2,tbs_3,tbs_4,tbs_5
format '/oracle/backups/bp_%s_%p');
- datafile 단위 backup script
run { 
allocate channel dev1 type disk;
backup
(datafile '?/dbs/t_dbs1.f'
format '/oracle/backups/%d_%u');
- control file backup script
control file은 system datafile의 첫번째 화일을 백업받을 때 백업되며 다음과
같은 방법으로도 백업받을 수 있다.
run {
allocate channel dev1 type 'sbt_tape';
backup
(tablespace tbs_5 include current controlfile
format '%d_%u');
- archived logs backup script
NLS_LANG=american
NLS_DATE_FORMAT='Mon DD YYYY HH24:MI:SS'
run {
allocate channel dev1 type 'sbt_tape';
backup
(archivelog from time 'Nov 13 1996 20:57:13'
until time 'Nov 13 1996 21:06:05'
all
format '%d_%u');
run {
allocate channel dev1 type 'sbt_tape';
backup
(archivelog low logseq 288 high logseq 301 thread 1
all delete input
format '%d_%u');
- copying datafiles
run {
allocate channel dev1 type disk;
copy datafile '?/dbs/tbs_01.f/dbs/tbs_01.f' to '?/copy/temp3.f';
- incremental backups
새로운 데이타화일이 추가되거나 테이블스페이스가 추가된다면 level 0의 backup을
반드시 수행한다.
run {
allocate channel dev1 type 'sbt_tape';
backup incremental level 0
(database
format '%d_%u');
run {
allocate channel dev1 type 'sbt_tape';
backup incremental level 1
(database
format '&d_%u');
2. Recovery Method
- tablespace recovery
run { 
allocate channel dev1 type disk;
allocate channel dev2 type 'sbt_tape';
sql "alter tablespace tbs_1 offline immediate" ;
set newname for datafile 'disk7/oracle/tbs11.f'
to 'disk9/oracle/tbs11.f' ;
restore (tablespace tbs_1) ;
switch datafile all ;
recover tablespace tbs_1 ;
sql "alter tablespace tbs_1 online" ;
release channel dev1;
release channel dev2;
- point-in-time recovery
TBS_1 테이블스페이스는 두 개의 데이타 화일 소유. TEMP1은 백업이 없으나 user
data는 없는 temporary segemnt만 가지고 있음.
NLS_LANG=american
NLS_DATE_FORMAT='Mon DD YYYY HH24:MI:SS'
SVRMGR> shutdown abort;
SVRMGR> startup nomount;
run { 
# recover database until 3pm after restoring tbs_1 to a new location
allocate channel dev1 type disk;
allocate channel dev2 type 'sbt_tape';
set until time 'Nov 15 1996 15:00:00'
set newname for datafile '/vobs/oracle/dbs/tbs_11.f'
to '?/dbs/temp1.f' ;
set newname for datafile '?/dbs/tbs_12.f'
to '?/dbs/temp2.f' ;
restore controlfile to '/vobs/oracle/dbs/cf1.f' ;
replicate controlfile from '/vobs/oracle/dbs/cf1.f';
sql "alter database mount" ;
restore database skip tablespace temp1;
switch datafile all;
recover database skip tablespace temp1;
sql "alter database open resetlogs";
sql "drop tablespace temp1";
sql "create tablespace temp1 datafile '/vobs/oracle/dbs/temp1.f' size 10M";
release channel dev1;
release channel dev2;
- 전체 데이타베이스를 복구하려 할때
current redologfile이 존재할때 다음과 같은 작업으로 전체 데이타베이스를 복구할
수 있다.
replace script restore_recover_db_cf {
execute script restore_cf;
sql 'alter database mount';
execute script restore_db;
execute script recover_db;
sql 'alter database open resetlogs';
replace script alloc_1_disk {
allocate channel d1 type disk;
setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200;
replace script rel_1_disk {
release channel d1;
replace script restore_cf {
execute script alloc_1_disk;
restore
controlfile to '/private/db_files/twih/dbf/ctrl_twih_1.ctl';
replicate
controlfile from '/private/db_files/twih/dbf/ctrl_twih_1.ctl';
execute script rel_1_disk;
replace script restore_db {
execute script alloc_1_disk;
restore
(database);
execute script rel_1_disk;
replace script recover_db {
execute script alloc_1_disk;
recover
database;
execute script rel_1_disk;
Reference Documents
<Note:104796.1>

Hi Alok,
why there is a need for standby here? you mean to say standby db?
what i exactly need is , whether i will be making use of archivelogs which are all archived during that backup period (in mount stage) after some days, if i face any problem with the PRODUCTION Database..

Similar Messages

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

  • Regarding RMAN backup and recovery using archivelogs during cloning process

    Hi there,
    We are running 9i database (RAC) in archivelog mode.We are in the process of cloning DEVELOPMENT database using our PRODUCTION database.
    For this we planned to take RMAN backup by keeping the production database in MOUNT stage.
    In this regard, will it be possible to make use of archivelogs generated during and after this backup (in mount stage), after some days during recovery time, if it asks for recovery after cloning process.
    Thanks,
    Balu.

    Hi Alok,
    why there is a need for standby here? you mean to say standby db?
    what i exactly need is , whether i will be making use of archivelogs which are all archived during that backup period (in mount stage) after some days, if i face any problem with the PRODUCTION Database..

  • Need help on Oracle manual Backup and Recovery?

    Dear Gurus,
    I want to study Oracle manual Backup and Recovery(without RMAN) in detail.
    Is there any book or site, which describes more scenarios and explanation on manual backup and Recovery(without RMAN)
    Regards
    Sanjeev

    user12868781 wrote:
    Dear Gurus,
    I want to study Oracle manual Backup and Recovery(without RMAN) in detail.Why?
    My car has a flat tire. The manufacturer packed a spare tire, jack, and lug wrench in the trunk of the car at no additional cost, and described the process in the owners manual. I want to replace the flat tire without using any method other than the one involving the use of the tools designed for and provided for the job.
    Is there any book or site, which describes more scenarios and explanation on manual backup and Recovery(without RMAN)
    Regards
    Sanjeev

  • Oracle 11g  Backup and Recovery

    Hi ,
    Please let me know which is the best book for Backup and Recovery perferbable RMAN which also include Oracle 11G fundamentals for recovery .
    Looking forwrad for your responsce ..
    Thanks
    Nitin

    rajeysh,
    I do agree with you on the book and the online docs but nowadays i do think that the oracle online documentation could have wrong or misplaced information. So reading the online documentation along with a book that has some hands on experience parameters should be the best solution. Also you can support the knowledge by searching the internet.
    Regards.
    Ogan
    Edited by: Ogan Ozdogan on 19.Ağu.2010 13:46
    Dear 789393,
    What you can possibly do is go to the amazon and search for RMAN. See the results and search web and comments about those specific books. You can purchase whichever you want that meets the criteria of yours.
    Regards.
    Ogan

  • Doubt about database point in time recovery using rman

    Hi Everyone,
    I have been practising various rman restore and recovery scenarios . I have a doubt regarding database point in time recovery using rman. Imagine i have a full database backup including controlfile scheduled to run at 10 PM everyday. today is 20th dec 2013. imagine i want to restore the database to a prior point in time ( say 18th dec till 8 AM). so i would restore all the datafiles  from 17th night's backup and apply archives till 8 AM of 18th dec . in this scenario should i restore the controlfile too from 17th dec bkp ( i am assuming yes we should ) or can we use the current controlfile ( assuming it is intact). i found the below from oracle docs.
    Performing Point-in-Time Recovery with a Current Control File
    The database must be closed to perform database point-in-time recovery. If you are recovering to a time, then you should set the time format environment variables before invoking RMAN. The following are sample Globalization Support settings:
    NLS_LANG = american_america.us7ascii
    NLS_DATE_FORMAT="Mon DD YYYY HH24:MI:SS"
    To recover the database until a specified time, SCN, or log sequence number:
    After connecting to the target database and, optionally, the recovery catalog database, ensure that the database is mounted. If the database is open, shut it down and then mount it:
    2.  SHUTDOWN IMMEDIATE;
    3.  STARTUP MOUNT;
    4. 
    Determine the time, SCN, or log sequence that should end recovery. For example, if you discover that a user accidentally dropped a tablespace at 9:02 a.m., then you can recover to 9 a.m.--just before the drop occurred. You will lose all changes to the database made after that time.
    You can also examine the alert.log to find the SCN of an event and recover to a prior SCN. Alternatively, you can determine the log sequence number that contains the recovery termination SCN, and then recover through that log. For example, query V$LOG_HISTORY to view the logs that you have archived. 
    RECID      STAMP      THREAD#    SEQUENCE#  FIRST_CHAN FIRST_TIM NEXT_CHANG
             1  344890611          1          1      20037 24-SEP-02      20043
             2  344890615          1          2      20043 24-SEP-02      20045
             3  344890618          1          3      20045 24-SEP-02      20046
    Perform the following operations within a RUN command:
    Set the end recovery time, SCN, or log sequence. If specifying a time, then use the date format specified in the NLS_LANG and NLS_DATE_FORMAT environment variables.
    If automatic channels are not configured, then manually allocate one or more channels.
    Restore and recover the database.
      The following example performs an incomplete recovery until November 15 at 9 a.m. 
    RUN
      SET UNTIL TIME 'Nov 15 2002 09:00:00';
      # SET UNTIL SCN 1000;       # alternatively, specify SCN
      # SET UNTIL SEQUENCE 9923;  # alternatively, specify log sequence number
      RESTORE DATABASE;
      RECOVER DATABASE;
    If recovery was successful, then open the database and reset the online logs:
    5.  ALTER DATABASE OPEN RESETLOGS;
    I did not quiet understand why the above scenario is using current controlfile as the checkpoint scn in the current controlfile and the checkpoint scn in the datafile headers do not match after the restore and recovery. Thanks in Advance for your help.
    Thanks
    satya

    Thanks for the reply ... but what about the checkpoint scn in the controlfile . my understanding is that unless the checkpoint scn in the controlfile and datafiles do not match the database will not open. so assuming the checkpoint scn in my current controlfile is 1500 and i want to recover my database till scn 1200. so the scn in the datafiles (which is 1200) is not not matching with the scn in the controlfile(1500). so will the database open in such cases.
    Thanks
    Satya

  • How to do oracle  backup,restore,recovery using php?

    Is there anyone know how to do oracle backup,restore and recovery using php? any tips... is there any ways to do that?

    Are you referring to performing RMAN backup operations via the OSB web tool? RMAN operations are managed, not via the web tool, but through RMAN command line or Oracle Enterprise Manager (EM)
    Donna

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

  • Which one is the Best Backup and Recovery Method in your point of view?

    Friends,
    Currently we are taking hot backup with archive mode.
    we have backup script to copy the datafile and we will copy the archive files in a separate folder.
    alter tablespace system begin backup;
    host cp /u01/app/oracle/oradata/livedb/system.dbf /u02/online_backup
    alter tablespace system end backup;
    like the above script we will copy all the other data files.
    then in the test environment. we will copy the datafile and archive file.
    we will be recovering by using the below statement.
    sql>recover database until cancel using backup controlfile.
    currently no problem in backup and recovery.
    What i want is......
    is there any other sophisticated and safe way to take a backup and restore it to another server?
    if yes, can anybody point out the steps or link.
    I have heard about......
    DataGuard
    RMAN
    EXP/IMP
    but i never used the above.
    Thanks
    sathyguy

    DataGuard
    RMAN
    EXP/IMP ...
    The only real backup/recovery method here is RMAN, Oracle's integrated backup/recovery tool, which I prefer. As an example for a fully functional RMAN command see 'backup database plus archivelog delete all input'. This statement provides a complete hot database backup including archivelogs and deletes at the successful end all archivelogs in all destinations . Compare this statement with all the steps necessary to do the same job manually. Don't worry you have many ways to finetune your backup.
    For more informations there's a quick start guide:
    http://download-uk.oracle.com/docs/cd/B19306_01/backup.102/b14193/toc.htm
    Dataguard is a high availibility tool, which provides a kind of backup in terms of having a logical or physical standby database. When primary side fails you can switch to this standby database. Such a constellation does not mean, database backups are no longer necessary.
    Export/Import is a logical backup, still often used to recover from human errors (you accidentally dropped a table for example). Don't use it as a replacement for physical backups, especially hot backups,in case of media failures you always will have loss of data, because changes made afterwards the export are not captured.
    Once again I recommend you seriously should consider RMAN.
    Werner

  • Tools of Backup and Recovery

    can any one tell me what are the tools of backup and recovery in the Oracle database?

    gqmallah wrote:
    Tools used for backup and recovery of an Oracle database are as follows:
    1. Export and Import Utilities
    2. Backup Mode Tablespace Copies
    3. RMAN (Recovery Manager)
    4. Oracle Enterprise Manager and the Database Control
    5. etcPlease note that #4 is not a tool for backup and recovery, but a web-based front end to the real tools listed in #1 through #3
    Edited by: EdStevens on Nov 19, 2009 9:00 AM

  • Error in Oracle Database Backup and Recovery User's Guide 12c Release 1 (12.1) E17630-13

    on page 88 of the "Backup and Recovery User's Guide 12c Release 1 (12.1) E17630-13", the example 5-1 SHOW ALL Command is the same of the "Backup and Recovery User's Guide 11g Release 2 (11.2) E10642-06" on page 82 and that output is related to a Oracle Database 11g version (the 10g doesn't print the first line "RMAN configuration parameters for database with db_unique_name PROD1 are:").

    My test cases here:
    Database administrator workshop: Differences in default RMAN configuration settings between 12c and 11g
    {code}[oracle@vsi08devpom ~]$ export ORACLE_SID=CDB001
    [oracle@vsi08devpom admin]$ sqlplus system/oracle@CDB001
    SQL*Plus: Release 12.1.0.1.0 Production on Thu Sep 26 09:10:50 2013
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    Last Successful login time: Tue Jul 16 2013 13:43:48 +02:00
    Connected to:
    Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
    SQL> show con_name
    CON_NAME
    CDB$ROOT
    [oracle@vsi08devpom ~]$ rman target /
    Recovery Manager: Release 12.1.0.1.0 - Production on Thu Sep 26 09:12:42 2013
    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: CDB001 (DBID=4134963396)
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name CDB001 are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE RMAN OUTPUT TO KEEP FOR 7 DAYS; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/app/oracle/product/12.1.0/db_1/dbs/snapcf_CDB001.f'; # default{code}
    {code}
    [oracle@localhost orcl]$ rman target /
    Recovery Manager: Release 11.2.0.2.0 - Production on Wed Sep 25 08:12:17 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: ORCL (DBID=1229390655)
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name ORCL are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs/snapcf_orcl.f'; # default
    {code}

  • Backup and Recovery from Archive Log

    Dear all,
    I implemented hot backup with oracle9i and
    Can anybody suggest me how to backup and recovery archive log ?
    Thanks for advance.
    Chara

    assuming you are using RMAN for backup -
    backup ( archivelog all );
    backup ( archivelog all delete input ); - to delete from file system.
    If you are not using RMAN but backup using a script which puts the tablespaces in hot backup mode then you just need to backup archive log directory.
    The archive logs are required when you need to do a database recovery. You don't recover archive log files.
    rgds

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

  • Backup and Recovery Plan

    I know very little backup and recovery plan in oracle using RMAN or any agent.
    Is this right way to summarize the backup and recovery plan for 24 X 7 system required to have 99.99% up time.
    The backup and recovery strategy recommended below is based on the premise that database is set ‘ARCHIVE LOG’ mode.
    The database files must be backed up using an RMAN backup (or tape agent i.e. Oracle Agent for Veritas) to allow for recovery of corrupted files or files on failed volumes. These archive logs and RMAN backups should be written to a directory on a separate volume from any other database files. It is not recommended to store RMAN backups in the Oracle Control files. The RMAN backups and archive logs and document images are then written to tape in accordance with the GFS backup strategy.
    Any suggestions and inputs would be helpful
    Thanks

    It was a generic note for the productions databases, i.e. have db in archivelog mode, take backups through RMAN to TAPE or on disk which will be used in case of disaster or media recovery.
    You need to decide what kind backup and recovery policy you need to have and where you are going to copy/place the backup.
    Just keeping in mind the following:
    1. How quickly the database can be recovered in case of disaster/media recovery.
    2.Make sure no transaction are lot, in another way, recovery until point of time.
    3. What kind of policy you need, incremental, cummulative or full backup.
    Jaffar

  • Backup And Recovery on 7.2.3

    i need information on backup and recovery, please help me.(from begin)
    i don't speak english, but don't worry, i read the english.
    Thanks you.
    Oscar Rojano. [email protected]

    i suggest you read the oracle backup and recovery manual sections, or take the course, as this is an extremely important topic.
    a cold backup is done when the database is down. to do a cold backup, first shutdown the database. then backup all datafiles. then restart the database. you can use this type of backup if your business can tolerate the database being down for the time it takes to do the backup.
    a hot backup is done when the database is up and running. the database must be running in archive log mode. then, a hot backup can be performed by putting tablespaces into backup mode, and then backing up the affected datafiles. whenever you do a hot backup, you must be sure to also back up all archive log files from the start of the backup through the end of the backup. if you must restore the backup, and you don't have the archive logs, your database will not start and you will not be able to get it back.
    an export is a backup of selected tables. it is not a complete backup and should not be used if a fast, complete recovery of the entire database is required. it is good if a fast restore of a single table is something you need to do often. be aware of database consistency problems if you are restoring a single table that is updated frequently.
    depending on your requirements, you will use one or more of the three backup solutions above.
    i would recommend that you use the oracle RMAN (recovery manager) tool, in conjunction with an enterprise backup tool from HP, Veritas, or IBM, to be sure your backups are as complete and reliable as possible.

Maybe you are looking for

  • How can I delete an old exchange email account

    I have a new iPad Air. I restored it from a backup of my old iPad 3. My work exchange email account came with it but does not work. When I followed the procedures my work support provided I found a new email account was created with the same name.  I

  • Can't see Airport Express previously set up as network extender

    Hi, We recently moved.  At the old house I had an older Airport Extreme and two Airport Express units that were both configured to extend that Airport Extreme network. When we moved I kept the old network alive at the old house for a couple months (s

  • Safari on Leopard Crashes:  "Safari is missing important resources..."

    I installed Leopard, all was working, today I get: "Safari is missing important resources and should be reinstalled." Outside of the normal install, I installed all the optional stuff. I don't know if that contrbutes to the failure or not. The browse

  • Transitioning off Creative Cloud.

    I currently own Photoshop CS5 and Lightroom 3 on CD.   I have also been using Creative Cloud since it launched and have since moved to the Photographer edition of Creative Cloud. I am having a hard time justifying continuing to pay for a subscription

  • SQL Server Maintenance Task

    I have configured a maintenance task that consists of only two T-SQL Statements, one that executes after completion of the other, however it fails and no history is generated. Please advise how I should begin troubleshooting the issue with the mainte