Backup in ARCHIVELOG Mode

Dear Sirs,
Actually I've a non archivelog mode RDBMS, but I wan't to make a
hot backup. Could I make a hot backup after I turn the
ARCHIVELOG mode ON, then turn it off again after Back - Up ?
And how do I make the hot backup ?
Thank you for the attention and help.
Regards,
Tonny

You could turn archivelog mode on, do the backup, and then turn
archivelog mode off. This really defeats the purpose of hot
backups though. You would have to know the SCN, archivelog
file, or time to do a point-in-time recovery manually, or if you
are using RMAN knowing the time will help. I think RMAN will
recover until the last archivelog if you don't specify a time or
SCN. Keep in mind that you will lose all the changes since the
last backup if you turn archivelog mode off after the backup and
your database crashes inbetween the next scheduled backup. If
you are going through the trouble for turning archivelog mode on
and then off I would perform a cold backup. You have to
shutdown the database with normal or immediate, mount the
database, turn archvelog mode on/off and then open the
database. So why not just do a cold backup?

Similar Messages

  • Recover datafile using cold backup in archivelog mode

    Hi,
    I have lost one of my datafiles i.e New.dbf from the disk. I have full database cold backup of last sunday. Also I have the archives. Is it possible to restore and recover only the lost datafile? Please help.

    If you used RMAN to create the backup, then use RMAN again to restore that one datafile alone (RESTORE DATAFILE n) and then recover it (RECOVER DATAFILE n).
    If you didn't use RMAN but you are sure that the backup was a COLD Backup, manually restore the datafile and then issue a RECOVER DATAFILE n from the SQLPlus command.
    In either case you must ensure that the datafile is OFFLINE before you restore the file -- or take it OFFLINE with ALTER DATABASE DATAFILE n OFFLINE IMMEDIATE before doing the restore.
    After the RECOVER is completed, you must bring it ONLINE with an ALTER DATABASE DATAFILE n ONLINE
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Archivelog mode - online backup

    i'm trying to do an online backup in archivelog mode (user managed backup)
    1. for that i've put the db in backup mode by
    sql> alter database begin backup
    2.copied the datafiles to the backup location in o.s
    using cp command
    3.tried to copy controlfile to the o.s location using
    sql>alter database backup controlfile to '/u01/oracle/product/10.2.0/hotbk'
    Here i get an error: ORA-01580: error creating control backup file
    and ORA-27038: created file already exists .
    I've checked if the control file already exists in the location but there's no controlfile there.
    Please help in regards to this error!
    Thanks!

    This is wrong path for backup try as
    alter database backup controlfile to '/u01/oracle/product/10.2.0/hotbk/control.bk'

  • ARCHIVELOG mode needless for offline (cold) backups ?

    When I read some tutorials or comments about backup with rman or expdb I saw often the recommendation to put database in ARCHIVELOG mode.
    But this is from my point of view useless when I do such a backups in offline mode.
    I want to backup the current state of the database - full stop.
    Redo logs from ARCHIVELOG are not necessary. Only if I want to go further back from the current state back to the past they are of use.
    Am I right?
    Peter

    Data pump does not require or use archivelog mode for importing, or exporting.
    The archivelog mode is required, however, for RMAN backups, except for full database copy which it copies while the database is shutdown.
    The Data Pump utility uses a parameter called FLASHBACK_SCN (and FLASHBACK_TIME) which reads the undo data, but not to be confused with archivelogs.
    NOTE that if you set archivelog mode on, you may want to either turn off archivelog mode when importing, or set the tabelspaces to nologging (then back to logging when done). Otherwise, it may cause enough archive logs during import to fill up your file system.
    Re: http://www.oracle.com/technology/products/manageability/database/pdf/ow06/Motorola_datapump.pdf
    Hope this helps.
    ji li

  • RMAN backup in no archivelog mode

    what are possible ways to backup the database which is in no archivelog mode using RMAN
    regards,
    Sakthivel
    Edited by: SAKTHIVEL on Jul 22, 2011 1:02 AM

    Hi;
    Please check:
    backup in noarchivelog mode using RMAN
    backup in noarchivelog mode using RMAN
    Regard
    Helios

  • Rman backup with no archivelog mode

    Hi Friend,
    I did this backup many times before, to backup a test db which is not in archivelog mode.
    My procedure are the following:
    $ rman target /
    rman> run {
    shutdown immediate;
    startup mount;
    backup format '/u02/RMAN/%d_LVL0_%T_%u_s%s_p%p' database;
    delete obsolete;
    But strange I got now error:
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    Thanks a lot

    Hi,
    Paste the snap shot of what you actually doing and what error messages are coming. That will help to analyze the problem.
    This basically happens when your shutdown is not normal or clean.
    One way is to again startup the database and then issue shutdown Normal.
    Regards,
    Edited by: Navneet on Sep 30, 2008 3:21 AM

  • Why archivelog mode is mandatory for hot backups.

    Hi,
    Why the database should be put in archivelog mode when we take hot backups. What happens actually. Why can't we put in noarchivelog mode and take hot backups?

    Suppose you are not using RMAN then you must put your tablespaces in backup mode. Otherwise the backup you can take will be unrecoverable.
    In order to recover from a Hot Backup you have to do followings
    - Restore your Hot Backup
    - Recover the database - here, the archive log files are important
    How does Oracle know what has to be recovered from archivelogs?It looks at the SCN.
    If you never put your tablespaces in backup mode then SCN would not be frozen and Oracle wouldn't know what has to be recovered.
    Talip Hakan Ozturk
    http://taliphakanozturken.wordpress.com/

  • No archivelog mode backups

    I am curious if anyone knows of any software out there that can backup a database that is in no archivelog mode while it is running?
    I don't want to do this....but I am curious to see if there is any that I have not heard of for a writeup I am doing.
    Regards
    Tim Boles

    Hello,
    I've never heard about it.
    RMAN which is (on my point of view) the best tool to Backup Oracle database needs to set the database
    in mount state for Cold Backup.
    Else, about mirror or "business copy", they cannot manage dirty blocks in the buffer. They just manage
    the files on the disk but, while a database is open the datafiles have no reason to be consistent.
    We make clone with Business Copy (HP) for our Backup and we need to have the database in archivelog mode
    and the Tablespaces in Backup mode.
    Best regards,
    Jean-Valentin

  • Backups check in no archivelog mode -Question

    I am trying to figure either DB is backedup or not, I checked its logfiles, it did'n shutdown from last one month, and running in no-archivelog mode.....I can assume its not being backed up from last month , make me right if i am not...........
    I have been assigned to apply Oct2007 CPU on this server, & want to take backups first, any suggestions?

    if i have export backup, will i be able to do
    recovery of db is something goes wrong while cpus
    applying with import.........Export are not backups but still popularly used as backups. Yes, if you have the latest export you will be able to get back your database to that point. Make sure you take FULL database export.
    I would suggest you to bring down the database and take a cold backup.

  • Restore database in archivelog mode

    Hello everyone.
    I've been looking on google, how to restore my database on archivelog mode, but i did not succeed.
    I made my backup using this mode, and now i need to know what is the command need to use to restore this.
    Somebody can write the command here please ?
    Thanks for help.
    Regards,
    Dan
    ps: Using Oracle 10g XE on Win XP.

    user8973191 wrote:
    Oh, ok Vijayaraghavan K.
    Thx for u help.
    And about the users ?
    i need to create the "same" user in another machine ?
    For example:
    In this machine i using the "system" user, where i have my tables.
    Another machine, when i restore, my tables will go to the "system" user too? or i can choice? or i need to create one?A true backup is a copy of the data files at the file/block level. The restore is therefore a restore of the data files/blocks. Applying the redo (archive logs) is also done at the block level. None of that knows or cares (or needs to know or care) about logical objects (such as users, tablespaces, tables, rows, etc) within the database. so if you do a proper restore, you are restoring files to a consistent state and thus everything that was defined within those files will be there when restored.

  • Database in Archivelog mode

    Hi
    All,
    I have oracle 9.2.0.6 at my workplace.right now my database running in ARCHIVELOG MODE. I want to set it to NOARCHIVELOG MODE.
    can I do on the fly? in other way, Do I need to shutdown and restart database?
    Any help will be appreciated.
    Thanks,
    Vishal

    Hi,
    Issue the following commands to put a database into NOARCHVELOG mode:
    1) Take Back up of Present SPfile by creating pfile
    create pfile from present spfile.
    2) Shutdown the database by SUTDOWN IMMEDIATE.
    3) Take Cold backup of the database.
    4) Change the parameter in the pfile.
    log_archive_start = FALSE
    #log_archive_dest_1 = 'LOCATION='Your location'
    log_archive_dest_state_1 = DISABLE
    #log_archive_format = %d_%t_%s.arc
    5) And make a spfile from the modified pfile in default location .
    6) Start the database with spfile.
    SQL> CONNECT sys AS SYSDBA
    SQL> STARTUP MOUNT ;
    SQL> ALTER DATABASE ARCHIVELOG;
    SQL> ARCHIVE LOG START;
    SQL> ALTER DATABASE OPEN;
    NOTE 1: Remember to take a baseline database backup right after disabling archivelog mode. Without it one would not be able to recover.
    Regards
    Jafar

  • Urgent help : Need to recover a database without backup and archivelogs

    Hi,
    We are in urgent need to recover a database without backup and archivelogs
    one datafile seems corrupted
    SQL> recover automatic database until cancel using BACKUP CONTROLFILE;
    ORA-00279: change 10527325422479 generated at 07/27/2011 03:13:04 needed for
    thread 1
    ORA-00289: suggestion : /pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc
    ORA-00280: change 10527325422479 for thread 1 is in sequence #181845
    ORA-00278: log file '/pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc' no
    longer needed for this recovery
    ORA-00308: cannot open archived log
    '/pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc'
    ORA-27037: unable to obtain file status
    HP-UX Error: 2: No such file or directory
    Additional information: 3
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/pys/u2/oradata/PYS/pay_system_01.dbf'

    N Gasparotto wrote:
    bsac14 wrote:
    my database is in no archive mode
    can you please tell how to restore
    yes it is a datafile corruptionYou did not say how you defined that's a datafile corruption. You provide minimum to zero information.
    I just need to bring the database up,no need any exact data
    I can refresh from prod laterThen drop and recreate database. Basically and since you are not in archive mode, no recover is possible. Period.
    Nicolas.Hi,
    How did you come to the conclusion that your datafile is corrupted? Can you provide and supported logs?
    Regards .....

  • Problem in Converting Database into Archivelog mode (Oracle 10G)

    Hi Team,
    I come across a strange problem in the ORACLE 10G Server.
    I am converting database mode from NoArchivelog to Archivelog mode through RMAN in 10G.
    Now When I execute these following commands through RMAN prompt it works properly as shown below?
    C:\>rman
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Nov 30 18:01:08 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect target /
    connected to target database: RAVI (DBID=4025722893, not open)
    RMAN> shutdown immediate;
    using target database control file instead of recovery catalog
    database dismounted
    Oracle instance shut down
    RMAN> STARTUP MOUNT;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 167772160 bytes
    Fixed Size 1247876 bytes
    Variable Size 79693180 bytes
    Database Buffers 79691776 bytes
    Redo Buffers 7139328 bytes
    RMAN> SQL 'ALTER DATABASE ARCHIVELOG';
    sql statement: ALTER DATABASE ARCHIVELOG
    RMAN> ALTER DATABASE OPEN;
    database opened
    RMAN>
    But this same script when i writes in the backup.ora file & pass to Rman prompt it fails,
    File backup.ora contains...
    run
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    SQL 'ALTER DATABASE ARCHIVELOG';
    ALTER DATABASE OPEN;
    passed to RMAN as follows...
    C:\OracleCode\BACKUP>"C:\oracle\product\10.2.0\db_1\bin\RMAN.EXE" target /"connect target SYSTEM/sreedhar@RAVI" log="C:\ORACLE~2\LOGS\backup_log.log" append cmdfile="C:\ORACLE~2\BACKUP\backup.ora"
    RMAN> 2> 3> 4> 5> 6> 7> 8>
    then it fails giving the following errors...
    using target database control file instead of recovery catalog
    database closed
    database dismounted
    Oracle instance shut down
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 11/30/2006 18:05:59
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Recovery Manager complete.
    The same thing is working in the Oracle 9i but not in the Oracle 10G.
    Can Anybody plz help me in this?
    Regards,
    S.Tiwari
    .

    export ORACLE_SID=<SID>
    rman target /cmdfile="C:\ORACLE~2\BACKUP\backup.ora"
    it will connect to the default SID, there's no such thing as a default SID, what do you mean?
    But what if there are more that one SID available & I
    want to connect to SID other than the default SID.just specify the desired SID prior starting rman.
    more over the same string is working with 9i but not
    with 10G.maybe due to a bug?
    to summarize, you have two options it you would like to start up the instance:
    either you specify the SID prior starting rman and use os authentication
    or
    you register the instance statically and use oracle authentication.
    regards,
    -ap

  • OLAP in 10G with ARCHIVELOG mode

    Can we place 10G database in ARCHIVELOG mode with OLAP? Currently we are at 9204 and our database is running in NOARCHIVELOG mode. I am new here and I was told that there is some issue with the OLAP that prevents placing the database in ARCHIVELOG mode. Is it true? If it is true then has it been fixed in 10G as we want to take advantage of FLASHBACK query option of 10G and that will require the database to be in ARCHIVE mode?
    Thanks

    it's a slight misunderstanding.
    You can recover the cold backup and switch it on. -therefore you will have a database from the point of the cold backup.
    if you want to use the archivelogs to restore then that's a little more involved

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

Maybe you are looking for

  • Need a little help setting up an external RAID 5 array

    Hi all, I am trying to put together a 4 disk RAID 5 array, and I think I picked up the wrong card. I have a Sans Digital TowerRAID TR4M and a Sonnet E2P (UPS just delivered). I haven't yet opened it up but the back of the box states that RAID 5 is on

  • Ipod nano 4th Gen - not responding

    Hi, I've tried the five Rs. No joy. Tried factory reset. No joy, just error message saying ipod cannot reset. Screen is illuminated, but dead apart from that. Any pearls of wisdom from anyone? Cheers Andy

  • Seeburger High Tech Adapter Vs EDI INT AS2 adapter?

    I have a couple of questions regarding Seeburger High Tech Adapters and EDI INT AS2 adapter. 1. My client wants to use EDI INT AS2 adapter for transmitting their EDI documents to their trading partner. Can we just buy the EDI INT AS2 adapter? If yes,

  • Are there any standard retractors for BI 7.0 (from SAP BI to R3)?

    hello are there any standard retractors for BI 7.0 (data transfer from SAP BI to R3)?

  • Internal Essertion error

    Hi, I am getting this error while i try to run a report in BI, i have direct columns designed in rpd in report. I am using OBIEE 10.1.3.3.2 version. State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred