Back-up in noarchivelog mode

If running in NOARCHIVELOG mode, the script displays the following output:
Warning: Log archiving (ARCHIVELOG mode) is currently disabled. If
you restore the database from this backup, any transactions that take
place between this backup and the next backup will be lost. It is
recommended that you enable ARCHIVELOG mode before proceeding so
that all transactions can be recovered upon restore. See the section
'Enabling ARCHIVELOG Mode...' in the online help for instructions.
Backup with log archiving disabled will shut down and restart the
database. Are you sure [Y/N]?
i was wondering why will it be lost when i am going to make a current backup? I will obviously stop all transactions isn't it?

Case of archive log mode online redo log files dumped into archives. So let suppose you have full backup at morning 6 am.
If your database crashes around 8 am, you can restore 6 am backup and you option of recovery until 8am. So there is no data loss until you have archives.
Now we talk of noarchivelog mode, here online redo log files are not dumped because of noarchivelog mode of database.
You have backup at 6 am
Now the time is 8 am , your database crashed. Now you have to restore 6 am backup. Later there is no concept of recovery. It's just restore. Because you don't have archives to perform recovery.
So again archivelog mode depends on your business requirements.
Overall you have two hours of data loss in noarchivelog mode.
HTH.

Similar Messages

  • Database in noarchivelog mode, truncate command issued

    Database in noarchivelog mode, truncate command has been issued how to restore the table?
    FACTS:-
    1. DB In noarchivelog Mode
    2. Cannot enable flash back mode because of 1. above
    3. No exports available
    4. No backup's Available.
    Any thoughts ?

    Oracle Support/ Professional Services has a Data Unloader (DUL) and ORA-00600 has DUDE, both of which may be able to extract information from data files that are corrupted, where the control files are lost, etc.
    These are not, however, cheap utilities. Unless the data itself is really valuable, it is generally not a viable option.
    Justin

  • Can't backup database in NOarchivelog mode

    Hi there,
    I get this error when I run this command from rman:
    backup database
    Starting backup at 19-JAN-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/19/2011 17:18:10
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    please help.
    Thanks in advance!

    user13286861 wrote:
    ok it finally shutdown cleanly.
    I altered it in archivelog mode.
    Now I can run a backup database command from rman?What does it cost to try it and see? What would be the worst thing that could possibly happen? An error message saying you can't do that?
    And please note, this forum is not a chat line. Operators are NOT standing by. Posting a new message every two minutes to give an update on the fact that the database hasn't shut down yet is not necessary and not productive.
    If there are a lot of pending transactions when you issue SHUTDOWN IMMEDIATE, they will all have to be rolled back as part of the shutdown. That can take some time. And if you bypass that with SHUTDOWN ABORT, they will have to be rolled back as part of instance crash recovery on the next startup, which will also take some time. Five minutes may feel like an eternity when you are sitting there waiting for your command to complete, but is no reason to panic.

  • Running a physical standby database in noarchivelog mode

    Primary Database: 2 node rac cluster, 11.2.0.2 GI and RDBMS
    Standby Database: single instance 11.2.0.2
    OS: AIX 7.1
    Hello,
    I'm in the process of implementing a data guard standby system. To make this system simpler to admin, I want to run the standby database in NOARCHIVELOG mode. This standby is used only as a mirror of production (to be copied to a 3rd site for separate user activity) and will never be switched to active mode. Maintaining another set of archive logs seems to be redundant to me and another point of failure, so I want to disable archiving. I wanted to ask if any of the DG experts on the forums have ever had experience with this? Does anyone know if this is recommended? I've searched the Oracle Data guard documentation online... it says that the primary obviously needs to be in archive mode, but I'm not seeing anything specific about the standby. Please let me know if anyone has experience with this.
    Thanks

    Hello again;
    If this is the case, then I have nothing to worry about here. Does that sound right to you?Yes.
    For this :
    b) monthly, shutdown this system and copy it to a 3rd site to host a separate set of business activityI would consider RMAN Duplicate in which case you may avoid the shutdown.
    And for this :
    resync the "mirror" with productionAll you have to do if DEFER the primary to the standby, then ENABLE and Data Guard will catch up.
    --- Will post a detailed example here in a moment.
    Right at the first of the year they wanted to work on our Primary server room ( Power ). What I did was switchover to the Standby but I kept log_archive_dest_state_2 on the new primary set to DEFER. Then I shutdown
    all the databases at the Primary site. At the end of work two days later I started the databases at the Primary site in standby mode. Switched log_archive_dest_state_2 to ENABLE. When the databases were back in SYNC
    I did another switchover and it was done. I used TAF and none of the users even noticed.
    Best Regards
    mseberg

  • How to recover a PDB in noarchivelog mode?

    Hi all,
    Urgent! We have a PDB currently in mount stage after restoring and recovering from backup. Whenever I tried to open it or recover data file, I keep getting this error message:
    Errors in file C:\ORACLE\diag\rdbms\us022348\us022348\trace\us022348_p000_8788.trc:
    ORA-01113: file 9 needs media recovery
    ORA-01110: data file 9: 'D:\ORADATA\12C\US022348\0FB7D663771D443E8DE2229B76E0DCA7\DATAFILE\O1_MF_USERS_B2TVTBL1_.DBF'
    The CDB and PDB both are in noarchivelog modes.
    Which command should I use to bring the database back?
    Thanks!!

    I tried these but no luck.
    RMAN> alter pluggable database PDBNAME open;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of sql statement command at 12/15/2014 14:10:49
    ORA-01113: file 9 needs media recovery
    ORA-01110: data file 9: 'D:\ORADATA\12C\US022348\0FB7D663771D443E8DE2229B76E0DCA7\DATAFILE\O1_MF_USERS_B2TVTBL1_.DBF'
    RMAN> alter pluggable database PDBNAME open resetlogs;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of sql statement command at 12/15/2014 14:11:05
    ORA-39862: RESETLOGS option only valid after a Pluggable Database incomplete recovery

  • Backup/restore tablespaces in noarchivelog mode

    In our office there is a oracle 10g box that's used for testing purposes.
    It's only got 1 database, but each user has their own tablespace.
    As it's not a 'live' box, archivelog and flashrecovery have been disabled by the dba probably in favour of speed.
    I have a NUnit test suit that runs across a tablespace, and I am trying to restore the tablespace before each run.
    In noarchivelog mode, RMAN allows me to take the tablespace offline, and create a backup - so far so good.
    Later on, I am able to take the tablespace offline again, and issue a "RESTORE TABLESPACE" command.
    But then I cannot bring the tablespace online without issuing a "RECOVER" command.
    I have tried the NOREDO option but it still says that the file needs a media recovery before it can be brought online.
    Is there a way to bring the tablespace online without applying the REDO logs ?
    Or is tablespace backup/restore not possible because of noarchivelog ?
    Thanks.

    I tried the TTS method, and it was only marginally quicker than a data_only impdp.
    I suspect this is due to the nature of a fresh nunit test database, where the metadata (huge tables structure, stored proc, etc) is often larger than the table contents itself.
    In the grand scheme of things it might even end up slower, as i need to drop the tablespace including contents if i want to use TTS to load up the backed up dbf.
    From the comments I'm guessing that there's no way of just updating the timestamp of the tablespace without applying the REDO logs then ?
    I've tested other methods as well.
    Flash recovery could only work on a table or db level, I can't take the db offline as there are other users on it with their own tablespace/schemas. (it was an old dev's box, we're reusing what we can)
    impdb with the truncate and data_only flag seems to be the only viable option so far, with TTS up for consideration.

  • Restoring backup taken in NOARCHIVELOG mode

    Hi I have a test database in noarchivelog mode. The backup I am implementing involves:
    Shutting down the database in immedtiate mode. Taking a complete backup of the
    a) Datafiles
    b) Controlfiles
    c) Redo log files
    d) Parameter file
    e) Password file
    Now, when I want to restore in case of any media failure, I will copy all the above file to their respective locations.
    Here my question is that, do I require to open the database after restoring all the datafiles,controlfile and redo files(in particular) in the RESETLOG mode or as I will be overwriting the current useless redo log files with the backup redo log files, I can just open the database normally?
    What I am thinking is to open the database with alter database open
    Please comment with full explanation.

    >
    Hi I have a test database in noarchivelog mode. The backup I am implementing involves:
    Shutting down the database in immedtiate mode. Taking a complete backup of the
    a) Datafiles
    b) Controlfiles
    c) Redo log files
    d) Parameter file
    e) Password file
    Now, when I want to restore in case of any media failure, I will copy all the above file to their respective locations.
    Here my question is that, do I require to open the database after restoring all the datafiles,controlfile and redo files(in particular) in the RESETLOG mode or as I will be overwriting the current useless redo log files with the backup redo log files, I can just open the database normally?
    What I am thinking is to open the database with alter database open
    >
    Your thinking is right :-) You have chosen the simplest but not necessarily most efficient or reliable backup method. You simply get the whole database back from backup, so there is no resetlogs necessary. But keep in mind that you lose all modifications since your backup.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Media failure in Noarchivelog mode

    Dear all,
    I am running Oracle database 10g in noarchivelog mode.
    It has a media failure, a datafile has corrupted. How can i recovery it suppose i dont have the latest backup?
    Thanks and regards,
    Steve

    Hi,
    since you don't have a backup, and you have a media failure, you cannot recover.
    You can set the tablespace/datafile in question offline, and work with whatever is left in the remaining datafiles. (i.e. export/import elsewhere)
    if the file is just corrupted, and not lost,
    you may be able to get some of the data back using oracles data unloader, but that is going to be expensive (i.e. you would need to engage oracle consulting to do it for you)
    i strongly recommend you get familiar with the rman tool next time around, this is quite capable of performing backup and recovery.
    Karsten

  • Recovery in NOARCHIVELOG mode. A Sybex Study GUide quibble

    Hi.
    Actually, this is much more than a quibble as its a crucial point vis a vis the exam.
    To perform a recovery in noarchivelog mode, we have to restore the db from the last backup.
    I was under the impression that a backup of the database should NOT include the online redo logs.
    But, to quote this Sybex book (p291 for Exam 032):
    "To perform the database restore, you will need to copy all the data files, online redo logs, and controlfiles from the last backup and perform a full database restore" .
    I understand that if we do a closed backup (as we would do if the db is in noarchivelog mode) then the redo logs are not available to be backed up and therefore are not included.
    I just need this detail ironed out once and for all!
    Thanks.
    DA

    When you restore the redo log file, you are basically defining the most recent time to which the restore can occur.
    In a noarchivelog restore (of a proper clean backup), the most recent possible time is the time when the database was shut down and thus there are no redo entries to roll forward. Therefore, functionally, it really does not matter whether the redo log is restored or not. However, if the redo log file is not restored, you have two situations that must be managed: redo is much newer than the rest of the database, or redo is totally missing. Since you are in learning mode, I'll leave it to you to describe how to handle those two cases.
    In an archivelog environment, restoring the redo log will severely limit the ability to restore to point-in-time as you can not move forward from the redo log's time. Therefore the recommendation is to not bother backing up the redo log file at all, so it can not be accidently restore. RMAN enforces this.
    Personal 'best practice' is to make a safety copy of the redo log files before any restore. That way if an old set of redo is accidently copied or if the restore/recovery needs to be restarted, the environment can be reset to the start of the restore.

  • Hot backup on NOARCHIVELOG mode?

    DB version:10gR2, 11G
    Why is it not possible to do a Hot Backup in NOARCHIVELOG mode? What role does archived redo log files have in a Hot backup?

    Because it takes more than zero seconds to backup a database.
    Say your database consists of 1 single datafile of 10MB. This datafile, at the OS filesystem level, consists of 2,560 blocks of 4KB each.
    If you start a backup of the datafile, the OS utility (tar, cp, cpio, whatever command) reads the first 4KB block and copies it out. It then, after a certain time, reads the next block. And so on till it gets to the last block of the file.
    However, since the database is "open" transactions may have updated blocks in the datafile.
    Therefore, at time t0, block 1 may have been copied out. At time t5, block 128 may have been copied out. At time t32, block 400 may have been copied out. Unfortunately, some user may have updated block 1 at time t3 and block 128 at time t8.
    What would happen if these blocks, having been copied out at different times were restored ? They would be inconsistent !!
    It is the ArchiveLog mechanism that allows Oracle to know that a datafile was "active" when it was being backed up. Oracle has to "re-play" all changes that occurred on the datafile from the time the datafile backup began (at t0) till it ended (at the 2,560th block).

  • What files can be excluded from user-managed backup in noarchivelog mode?

    what files can be excluded from user-managed backup in noarchivelog mode?
    control files,
    sqlnet.ora file,
    tnsnames.ora,
    datafiles associated with read-only tablespaces,
    datafiles associated with read/write tablespaces,
    of these, what can be excluded and what have to be included?
    Thanks.

    ... and don't forget pfile or spfile... it can help too.
    Re: What are generally backed up during the backup?
    Nicolas.

  • I've customized my Firefox in full screen mode by clicking on full screen option. Now I'm not getting it back in normal mode even after restarting firefox and even restarting my system. How could I get it back in normal display mode? Thanks !

    not able to come back to normal view mode from full screen view mode....

    yeah it worked.... Thanks... :)

  • My classic video ipod won't switch back to regular video mode after using it on an elliptical. The port still allows me to charge and works on the elliptical and treadmill but it will no longer change modes to allow me to watch my shows on the ipod screen

    My classic video ipod won't switch back to regular video mode after using it on an elliptical. The port still allows me to charge and works on the elliptical and treadmill but it will no longer change modes to allow me to watch my shows on the ipod screen

    From the iPod's Main Menu choose Videos -> Settings and make sure TV Out is set to Off.
    Otherwise, try a hard reset as well.  To do this, press and hold both the Select (Center) and Menu buttons together long enough for the Apple logo to appear.
    B-rock

  • How to set the database in NOARCHIVELOG mode

    hellow world,
    I knewly joined this organization.
    Our database is very small < 4GB data.
    Database is running in ARCHIVELOG MODE.
    since we are not keeping any physical backup, so I opted to run the datbase in NOARCHIVELOG mode.
    For bringing the database in NOARCHIVE MODE, I simply changed the init.ora parameter LOG_ARCHIVE_START = FALSE and restart the database.
    offcourse the archiving stopped, but to my strange after 30 to 40 minutes my all log files filled an error message is being displayed to the server, saying
    log files are filled, waiting for the archiving, Oh my God, What has happened, All users came to my head, DATABASE HANGED, NOT RESPONSING.
    SIR, MY QUESTION IS
    WHAT FOR ALL LOG FILES WAITING?
    when i am saying NOARCHIEVE than
    please explain me, where i committed mistake. I am new to ADMINISTRATION.

    1. Not keeping any physical backup is all the more reason to stay in archivelog mode.
    2. You need to shutdown the database, startup mount, and issue 'alter database noarchivelog', the alter database open.

  • ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode

    Hi All,
    Need help from the gurus.
    Currently we are in state unable to do anything.
    Was using a database and all of a sudden it crashed. Tried to mount the database, open it, it failed. Also tried the recover and alter database open, even that failed. Errors are as follows.
    Errors in file e:\oracle\product\10.2.0 \admin\devrevdb\bdump\devrevdb_p000_2620.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-00449: background process 'DBW0' unexpectedly terminated with error 1242
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    In my spfile, the administrator has set only two control files and there is no mirroring and hence do not have another control file that will help me boot the db.
    Please let me know how I should go about it. I am only a timebeing person trying to carryout a db activity. Any help would be of great help.

    Hemant,
    thanks for the reply.
    I tried the way you suggested and it threw an error.
    ORA-01145: offline immediate disallowed unless media recovery enabled
    I searched and found that an additional tag of drop needs to be added to the command which you suggested.
    ALTER DATABASE DATAFILE '<filename>' OFFLINE DROP.
    i don't know what will the drop command have an effect ?
    i have copied the data file to another location. Since i don't know much, i just want to be sure of what im doing.
    if the above command is successfull, will it drop the datafile or the tablespace and i can no more use it. How can i use the copied datafile.
    Thanks,
    Sachin
    I

Maybe you are looking for

  • How to change color of selected label from list of labels?

    My Problem is that I have a list of labels. RowHeaderRenderer is a row header renderer for Jtable which is rendering list items and (labels).getListTableHeader() is a method to get the list. When we click on the label this code is executed: getListTa

  • 10g RAC with linux 3 AS+ocfs

    Hi: Is anyone install 10g RAC on linux 3AS with ocfs successfully? I am having problem with CRS installation where installer ask to run root.sh. My first node finished root.sh without any problem but not second node it give me "Failure at final check

  • Why can't photos be imported/manipulated one at a time?

    I recently purchased an iPod Photo (60GB) and am highly unsatisfied with the software design with respect to the photos. My problem is as follows: with respect to music, one has the ability to add and remove music files on an individual basis, and to

  • Need help on Date format

    1) How to get the date in the format of YYYYMMAA?

  • System Copy -Solman 7.1 Adjust name table phase error

    Dear Experts, I am on way of performing the system copy for solman 7.1 from prod to dev system.We are encountering the error in the adjust name table phase .Below is the log : ERROR in initialization (can't get R/3-version) ERROR in initialization (c