Hot / Cold Backup

hi.
Plz tell me what is hot and cold back up. their difference and usage.
thx

A database backup when database is shutdown state is reffered to as cold back up,while a database backup when database is up and in operational state reffred to hot backup.
cold backup also refer to offline/consistent backup while hot backup refer to online/inconsistent backup.Their usage as above statment showing that ,if yours database does not go for 24 x 7 then go with cold/offline/consistent backup strategy.Cold backups are a reliable piece of any backup strategy cause as i mentioned consistent (consistent=clean not fuzzy),whenever you go to take cold backup first you will have to shutdown the database immediate which cause termination of any active transaction and make them rollback,oracle flush all dirty block from buffers to data file after rolling back any incomplete transaction,a full checkpoint occurence which cause to synchronize alls the CKPT SCN among the database file header as well to control file.Everything is consistent at the time of clean shutdown.
if you cant afford any break within yours business domain and you have to go with 24 x 7 then you will have to go with online backup , for online backup you will have to turn on the archive mode of yours database which take care of any fuzzy block to be consistent.With online i would recommend you take atleast one time cold backup within a week if possible to make yours life easier.
Khurram

Similar Messages

  • Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold  backup ?

    Hi Friends,
    Is it possible to Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold  backup ? ( as i would like to perform Point In Time recovery)
    (or) The only way is to use RMAN convert as mentioned here  - Transporting Data Across Platforms
    (or) Is there any other method (except exp/imp and data pump)
    Regards,
    DB

    HI
    his post describes the procedure required to migrate a database from Windows to Linux using the RMAN Convert Database command.
    Both Windows and Linux platforms have the same endian format, which makes possible to transfer the whole database, making the migration process very straightforward and simple.
    To migrate between platforms that have a different endian format, Cross Platform Transportable Tablespaces (XTTS) needs to be used instead.
    List of Steps Needed to Complete the Migration
    The migration process is simple, but as it has several steps it is convenient to be familiar with them before running it.
    1. Check platform compatibility between source and target OS
    2. Start the database in read only mode
    3. Check database readiness for transport from Windows to Linux using DBMS_TDB.CHECK_DB
    4. Check if there are any external objects
    5. Execute the Rman Convert database command
    6. Copy converted datafiles, generated Transport Script and Parameter File to Linux
    7. Edit the init.ora for the new database
    8. Edit the Transport Script and Parameter File changing the windows paths to Linux Paths
    9. Execute the Transport Script
    10.Change the Database ID
    11.Check database integrity
    Thank you

  • About hot & cold backups in rman

    Hi all,
    I've found out that with rman 9i the following script:
    - shutdown immediate;
    - startup mount;
    - backup database plus archivelog;
    - alter database open;
    is what I need for a cold backup; somewhere somehow I've caught a glimpse about
    this script
    - backup database plus archivelog;
    which 'should' be able to produce a reliable hot backup, but actually Oracle docs
    is not crystal clear on this point: I'd rather ask if:
    a/ would "backup database plus archivelog" create an usable full backup on
    a 9i archivelogged db?
    b/ would the same statement work on a 8.1.7 archivelogged db? (yes, the syntax is different...)
    hope somebody may shed some light
    thanks for help,
    daniele rizzi ([email protected])

    backup database plus archivelog; is a 9i RMAN command so it cannot be used in 8i. Here is what it does as stated in the Oracle9i Recovery Manager User's Guide and Reference:
    Backing Up Logs Using BACKUP ... PLUS ARCHIVELOG
    When backing up objects other than archived logs, you can specify BACKUP ... PLUS ARCHIVELOG to include backups of archived logs. The command performs the following sequential actions:
    - Runs the ALTER SYSTEM ARCHIVE LOG CURRENT command.
    - Runs BACKUP ARCHIVELOG ALL. Note that if backup optimization is enabled (refer to "Backing Up Files Using Backup Optimization"), then RMAN skips logs that it has already backed up to the specified device.
    - Backs up files specified in BACKUP command.
    - Runs the ALTER SYSTEM ARCHIVE LOG CURRENT command.
    - Backs up any remaining archived logs generated during the backup.
    From what I read it backs up all current archivelogs, backs up the datafiles, and backs up any remaining archivelogs created during the datafile backup. It basically makes it easier to backup the archivelogs by not having to issue a archvielog backup before and after the datafiles to ensure all archivelogs are backed up.

  • Hot Backup cloning vs Cold Backup CLoning

    Hi,
    when we do cold backu cloning...we get same data as production database..
    when we do hot backup cloning..i think we will loose current transactions which are recorded in redo log and not archived ....am i right?????
    when we do hot backup cloning....all the database files headers are freezed..means...all latest changes are not copied while we copying datafiles to test machine...but those changes are logged in archived log files...we will get these changes in archived log files...
    am i right?????
    please correct me if i am wrong.....

    When all is said and done there is really no difference in the clone database made from a cold backup or a hot backup as both are point in time recoveries.
    In the case of the cold backup the source database was made unavailable to users while the backup was taken. If you have that luxary then that is fine, but many sites would need or want to keep the source available while the backup runs.
    The backup type should not be an issue unless you really need to capture the source database with the data in a specific known state where no changes were taking place.
    IMHO -- Mark D Powell --

  • Hot and cold backups

    i am learning to take hot and cold backups and i am having doubts regarding restoring and recovering/
    1. When restoring the cold backup .. i am copying the control and datafiles from the backup and then starting the database with reset logs is this enough?
    2. When i am recovering a tablespace in hot backup .. i have replaced the file from backup. I need to do something with the archive log files. Where do i place them in the database? If i have done some transactions after taking the hotback.. will i loose those transactions?

    "1. When restoring the cold backup .. i am copying the control and datafiles from the backup and then starting the database with reset logs is this enough?"
    Yes, you are right.... also include password file in your backup file list...
    2. When i am recovering a tablespace in hot backup .. i have replaced the file from backup. I need to do something with the archive log files. Where do i place them in the database? If i have done some transactions after taking the hotback.. will i loose those transactions?
    You can place the old datafile at new location also. For hot backup, your DB must
    be running in archive log mode, so you will not loose any transaction.....

  • RMAN cold backup vs hot

    To apply a patch it taking around 3 hours including backing up database.
    My question is why should i take cold backup, why not hot backup that can be taken online by placing tablespace into backup mode. Then we can reduce the downtime of backup.
    oracle 10.2.4

    If you are talking about Oracle Database patch set/interim patch/CPU patch, you don't need to do a cold backup of the database: if you are doing a hot backup with archived redo logs backups, you can restore database to a point in time just before applying patch (incomplete recovery). Of course, this hot backup must be run before patch installation and not during patch installation.
    Note that :
    - you must also backup ORACLE_HOME installation directories to be able to restore ORACLE_HOME in this case
    - you must also backup Oracle Inventory
    - if you using RMAN, you don't need to put tablespace in backup mode when doing a hot backup.
    Edited by: P. Forstmann on 6 janv. 2010 11:21

  • Recovery from cold backup

    Hi,
    We take Hot backup everyday, but I took a cold backup using the same catalog. If I want to restore the cold backup I took, what is the proceedure. We are running on 10g in HP Unix.
    Thanks.

    Hi Rock2,
    If you want to restore the cold backup you need to know the tag belonging to this backup.
    Using the logfile of the coldbackup or <list backup summary;> in rman you should be able to get this info.
    The restore would be similar as:
    connect catalog rman/pwd@define_rcv;
    # check in catalog database for the dbid.
    # If so set the appropriate dbid by unhashing the line directly below using the current dbid
    # set dbid = define_dbid
    connect target /;
    STARTUP NOMOUNT;
    run {
    allocate channel tc1 type 'SBT_TAPE'; # or 'DISK'
    allocate channel tc2 type 'SBT_TAPE'; # or 'DISK'
    # adjust the TAG in the following lines
    restore controlfile from tag TAG0000001;
    sql 'alter database mount';
    restore database from tag TAG0000001;
    sql 'alter database open resetlogs';
    release channel tc1;
    release channel tc2;
    Regards,
    Tycho

  • Can cold backup be taken for ASM managed oracle 10g databases

    Can cold backup be taken for ASM managed oracle 10g databases
    Pls help

    do we still need to take cold backupYou need to take backup. Hot or cold depends on how your DB is running (archivelog or not).
    Will we have file permisions for copyng Use RMAN and don't worry about that.

  • Database Restore from COLD Backup

    Dear all,
    I .m trying to restore a production database from a COLD backup. Before the COLD BAckup, we have take a HOT backup as usual and then shutdown the database to perform the Cold Backup.
    After restirong all the oracle files and arch redo log, i have tried to restart the datbase but it failed with the followgin error message:
    SVRMGR> connect internal
    Connected.
    SVRMGR> startup
    ORACLE instance started.
    Total System Global Area 625729520 bytes
    Fixed Size 69616 bytes
    Variable Size 133795840 bytes
    Database Buffers 491520000 bytes
    Redo Buffers 344064 bytes
    Database mounted.
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: '/usr/oracle/8.1.6/disk1/IF1/system01.dbf'
    SVRMGR> exit
    Server Manager complete.
    root@dbserver#su - oracle
    Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001
    Then i have recovered but it seems that the Oracle process do not started and here is what i have found in alert log file:
    Errors in file /usr/oracle/8.1.6/admin/IF1/bdump/if1_smon_609.trc:
    ORA-00600: internal error code, arguments: [4194], [52], [52], [], [], [], [], []
    Mon Mar 8 11:42:46 2004
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 29954 Reading mem 0
    Mem# 0 errs 0: /usr/oracle/8.1.6/disk2/IF1/redo1a.rdo
    SMON: terminating instance due to error 600
    Instance terminated by SMON, pid = 609
    WARNING! Recovering data file 1 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 2 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 3 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 4 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 5 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 7 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 8 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 9 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 26 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 27 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 29 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 31 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 34 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 36 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 40 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 43 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 49 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 53 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 54 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 55 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 58 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    Media Recovery Log
    Could someone explain to me what i did wrong?
    Thank you
    ORA-01113
    ORA-01110
    ORA-00600: internal error code, arguments: [4194], [52], [52], [], [], [], [], []

    Please do not confuse between the backup copies you have. Ensure that you have the latest copy whether cold or hot. If you have COLD copy then simply replace all the data files, redo log files, and the control files and start the database it should start. I do not understand your back up strategy because if you have a Hot backup then why do you need a cold backup. Please let me know in what mode your database is running?
    Regards,
    DJ

  • Database hangs in shutdown immediate for cold backup

    Dear experts ,
    we have scheduled cold backup for our database.
    is there any solution to resolve below mentioned errors other than RMAN hot backup or shutdown abort ?
    Sat Jan 26 00:20:55 2013
    Active call for process 3939 user 'oracle' program '[email protected]'
    SHUTDOWN: waiting for active calls to complete.
    Sat Jan 26 01:15:59 2013
    SHUTDOWN: Active sessions prevent database close operation
    Instance shutdown aborted

    Hi,
    should we daily kill these processes with LOCAL=NO
    what is proposed solution in such cases ?
    is it not harmful for OS or database to kill these processes daily ?Yon can create shell script to find kill session only when you find active calls in your database alert log. You need not have to kill it on daily basis.
    Refer MOS tech notes for more details:
    *Alert Log: Shutdown Waiting for Active Calls to Complete [ID 1039389.6]*
    *What Is The Fastest Way To Cleanly Shutdown An Oracle Database? [ID 386408.1]*
    thanks,
    X A H E E R

  • Cold backup can use archivelog to recover database to point of failure?

    Hi,
    I have the small doubts. In any DB let us say we have following condtions:
    1) DB is running in ARCHIVELOG mode.
    2) Cold backup is performed every sunday.
    3) No hot backup or RMAN backup is taken.
    so if any failure happens during weekday say on friday. can we recover our database till the point of failure with the help of cold backup? If yes then pls specify the steps how to do it.
    could archive log be applied on cold backup?
    Thanks,
    Shailesh

    Shailesh.mishra wrote:
    Hi,
    I have the small doubts. In any DB let us say we have following condtions:
    1) DB is running in ARCHIVELOG mode.
    2) Cold backup is performed every sunday.
    3) No hot backup or RMAN backup is taken.
    so if any failure happens during weekday say on friday. can we recover our database till the point of failure with the help of cold backup? If yes then pls specify the steps how to do it.
    could archive log be applied on cold backup?
    Shaliesh,
    Cold or hot backup doesn't govern teh recovery. Whether the recovery is going to be a complete or incomplete recovery, I mean we can recover teh complete data or would be thrown back to the last good backup stage is governed by the availability of the archives. If you have teh archive log enabled , this means yiou have all teh transaction records already with you. So if you have taken your backup on Sunday, and faced a crash on Tuesday, all you have to do is to restore the last good bcakup from Sunday, give a recover command and oracle would start applying the archivelogs to the files. This would be a complete recovery providied anything else had not happen which can stop it, for example, loss of an archive log.
    So teh answer would be, yes archive logs are very well applicable on teh cold backup.
    HTH
    Aman....

  • Database refresh from cold backup and hotbackup.

    How can we perform Database refresh from cold backup and hotbackup?

    OracleM wrote:
    How can we perform Database refresh from cold backup and hotbackup?I understand that you have Cold/hot backup and you need recover(refresh) this backup?If yes then restore cold/hot backup and
    sqlplus "/as sysdba"
    startup mount;
    recover database using backup controlfile unil cancel;
    /*then apply all available archive logs*/
    alter database open resetlogs;

  • Cold backup with online redo logs

    I am working on 10G in AIX for a single instance
    It is just a general db backup & restore question, but I have something confused.
    I am going to perform a cold backup with my ARCHIVELOG database.
    No wonder why I perform a cold backup because it is a testing database which can suffer from data lost and down time during backup.
    I read some guides. They all mentioned to backup all the datafiles and control files.
    During the restoration, I have to copy all the backed up datafiles and control files to the default location.
    Then Startup mount;
    The last step before open the database is recover database until cancel;
    For the acknowledgement, I have to do the command of recover database, because the online redo logs were not backed up, thus we have to recover it in order to reset the redo logs.
    For my question,Would I be able to skip the command of recover database, then directly startup the database if I have backed up the online redo logs and copy the default location during the restoration?
    However, I read many documents which mention that it is not suggested to backup the online redo logs. Is it just the case which ONLY applied in hot backup? Do you all think that for my case, cold backup for online redo logs is recommended?
    Thanks all

    jgarry wrote:
    Edit: And never forget, those test databases are some developers production.Absolutely true according to my experience. Loosing the work of a payed developer is just as bad as loosing the work of a production system and may even be worse because it may not be possible to re-enter missing data into the system.
    I think a cold backup is only suitable on special occasions, for instance, to relocate/copy the database to a different storage media, or if the database doesn't change or if loosing changes is absolutely irrelevant. Otherwise, put the database into archivelog mode and do a hot backup. After that you will also have alternative options which can make the restore and recovery of the database very easy and efficient, like flashback database, etc. but it will take substantial additional disk space.

  • Test Restore Database Instance from Cold backup

    Hi - I have a customer who is using an Oracle database instance not in archivelog mode
    currently, I have managed to persuade them to backup at least weekly using an RMAN cold backup.
    Prior to my being allowed to do anything else they want to perform a test restore from the cold backup
    I want to find a simple procedure to do this which will enable me to tick the box then hopefully I may be able to persuade them that Hot Backups are the way to go.
    Has anyone got any good suggestions for this please?

    Ah if only things were quite so simple - my hands are tied somewhat there isn't a second machine available at the moment so I was hoping to be able to run a test restore to the same machine !
    No they do not worry about data in this situation - Oracle is used almost as a query engine maybe a very odd solution as the actual data is not really held within this oracle database but the resultant queries are!
    Anyway I think I will just do a virtual restore using the restore database validate command then armtwist a couple of managers!
    One of the areas they had difficulty with is that apparently they had archivelogging on but the rate of writing archivelogs was huge and it was affecting performance. I am not knowledgeable enough to know how to tune that problem!!

  • Cold backup automated script

    Hi--
    Can any one provide me one cold backup script,,with that i need to delete 2 days old backup and need to put current backup in that mountpoint.
    Thanks in advance.

    user8683962 wrote:
    We are not using RMAN So what is preventing you from starting? The real value of rman will be when you have to recover, it will already know where all the necessary peices are and what needs to be done. Plus, it will take care of the housekeeping of deleting your old, obsolete backups.
    and Hot backups.....So you don't care if you lose any changes that occur between your cold backups?
    i want to take a cold backup of my database every day and delete need to delete 2 days old backup, so that i can maintain 2 backups(today's and yesterday's) in my hand... Again, rman will do this for you, and more, and much more simply
    for this can any one provide me a script to make it automate by adding to crontab.If someone else hasn't by the time I get back to my hotel room this evening, I'll post an rman solution. It is a waste of time to work on a non-rman solution.

Maybe you are looking for

  • Problem to create jar with images

    Hello I have a project, it's a frame with a panel that contains a image, I want to create a Jar, but I have to problems, if create a Jar and execute out the project folder, I can't see the images, if I use getClass().getResource, I have other problem

  • My local folders disappeared. How do I get them back?

    Turned computer on. Mozilla asked for email password, for some reason it set up a new account and now my local folders are gone and with them information that I need.

  • Performance query

    10gR2 (10.2.0.2) when using the following query , when i increase then n value the query takes much longer time although explain doesnt change.. can someone help? select * from SELECT Event.ID, Event.CATEGORY , Event.DDOMAIN , Event.NETWORK , Event.N

  • More details on inventory cube

    Please search help.sap.com for the same Hello Also please let me know the all standered multicube or basic cubes name for    Purchase Orders for analysis of purchase orders, open purchase orders (5 standard cubes) Regards Edited by: Arun Varadarajan

  • How do I cancel my application?  AD00276157

    How do I cancel my adobe application and have the money taken from my bank account returned?l