Backup and Recovery in different mode

We have a database in noarchivelog mode.
Currently we convert it to archivelog mode before monthly full database RMAN backup.
And after backup,we again back it to noarchivelog mode.
Now my question is that, in case of failure can we recover this database(any how) with that backup?
Please advice and if possible give the recovery steps.
Thanks & Regards
Quazi Abdur Rab

Hi,
It's not good to switch from Archive Log Mode and No Archive Log Mode as your wish.
See, As Khurram had explained you the thing. Point in time recovery before crash is quite not possible but only last the restore point applicable for your DB. Rest of the things can be recovered. Why are the implications you are facing if the DB is in Archive Mode. ?? I Suggest do peform and maintain Archive Log which is good for your DB.
- Pavan Kumar N

Similar Messages

  • Oracle Backup and Recovery 101: where can I get more information?

    Hey everyone. I'm a pretty new Oracle DBA and backup and recovery is something I want to learn as much about as I can.
    I read a blog about "how to be a good DBA" and it really drove home the importance of backups. I know how important they are, I just want to learn more.
    What I mean is, I understand a lot of the high level concepts. It is pretty much straight forward. What I am looking for is something that really goes down in the internals of what is going on behind the scenes so I know what is going on.
    I thought it would be extremely beneficial for me to learn about user backups. Granted, RMAN is the direction my company is heading to, but right now, we are doing user made backups. My thinking is that if I can get a solid grip and understanding of backup and recovery, user made backups, it will make the transition to RMAN much easier. That way, when I am working in RMAN, issue a command to do backup, I know the equivalent of a user backup and what is going on.
    I hope that makes sense.
    Is there a recommended book that goes over backup and recovery in depth?
    I'd like to learn about all the user-made backup commands that can be executed at the command line (example, putting a tablespace in backup).
    Since backups are essential to the life of a DBA, I thought the more I know, the better off I would be.

    You can always find good information from Oracle document site,
    Oracle® Database Backup and Recovery Basics
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
    Oracle® Database Backup and Recovery Advanced User's Guide
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/toc.htm
    User managed backup is quite different from RMAN backup. For RMAN backup you need to get familiar with the RMAN command syntax and configure.

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

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

  • 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

  • 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

  • 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

  • Dell Backup and Recovery - Factory Recovery fails, need advice.

    Back story:
    I have tried this three times on three separate laptops, with poor results. Windows 7 on two of them and 8.1 one one, on all three the recovery partition is corrupt.I first boot it off of a live disk and backup any desired files. Then I boot, press F8, choose "Repair your computer" and discover that "Dell Factory Image Restore" is not one of the available options... so I boot the pc off of a different live disk and remove a bunch of "viruses", then I boot it off of the internal harddrive.In Windows I find that "Dell Backup and Recovery" may or may not be on the pc. It may or may not have ever been run before. If it is absent I download it and install it. When I run DBaR it tells me it needs to update, don't power off or disconnect the machine from the internet, etc. I then wait HOURS for this part to complete. When done it...
    This topic first appeared in the Spiceworks Community

    Country: Greece
    Ship date: March 04, 2013
    XPS 14 (L421X, Mid 2012)
    EMEA (Europe, Middle East and Africa) Support is not provided on the USA User Forum. You have to contact support in your country.
     Dell Backup and Recovery SOFTWARE support is also not provided here.
            Download Dell Backup and Recovery

  • 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 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 a tablespace

    Hi all,
    I recently started reading about oracle backup and recovery concepts, and  I needed to understand what is happening where we put a tablespace to a backup mode (alter tablespace tablespace_name begin backup) ?
    thanks for help

    Three things happen when you put a tablespace in hot backup mode:
    1. A checkpoint is issued, so that dirty blocks belonging to that tablespace are flushed to disk
    2. The header of the datafiles associated with the tablespace are locked from further update by CKPT.
    3. The first insert/update/delete that affects a data block that is part of the tablespace being backed up, after the 'begin backup' command is issued, causes the entire block to be written to the online redo logs. Second and subsequent changes generate the same amount as redo as normal, though.
    That's it. As Hemant mentions, the really important bit is number 2 in that list: whilst the header of the datafile(s) is locked, the datafiles themselves are not, and are written to as much as they always are. The idea that somehow the datafiles are not written to and that the redo logs are the only place that stuff is written to during the backup is completely and utterly wrong. CKPT is not allowed to write to the header, because that way, we know the earliest "age" of the datafile copy when it went into backup mode, and thus know the point from which redo needs to be applied during a recovery. But DBWR writes to the rest of the datafile perfectly normally.
    Number 3 is also important, because it's why we don't leave tablespaces in hot backup mode more than we can help: the amount of redo generated increases because we need a 'starter image' for any block that's modified during the backup.

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

  • 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

Maybe you are looking for