What is the difference between cold backup and hot backup

Editorial / Best Answer

ttparavindh  

  • Member Since Jun-2007 | Jun 19th, 2007


Cold Backup- We can take the Backup while DB(eg. Oracle) is down.
Hot Backup-We can take the Backup while DB(eg. Oracle) is running.

Cold backup is a physical backup. During a cold backup the database is closed and not available to users.  All files of the database are copied (image copy).  The datafiles do not change during the copy so the database is in sync upon restore.
Used when:
Service level allows for some down time for backup
Hot backup is a physical backup.  In a hot backup the database remains open and available to users. All files of the database are copied (image copy).  There may be changes to the database as the copy is made and so all log files of changes being made during the backup must be saved too.  Upon a restore, the changes in the log files are reapplied to bring the database in sync.
Used when:A full backup of a database is needed
Service level allows no down time for the backup

Showing Answers 1 - 12 of 12 Answers

Cold Backup- We can take the Backup while DB(eg. Oracle) is down.
Hot Backup-We can take the Backup while DB(eg. Oracle) is running.

Cold backup is a physical backup. During a cold backup the database is closed and not available to users.  All files of the database are copied (image copy).  The datafiles do not change during the copy so the database is in sync upon restore.
Used when:
Service level allows for some down time for backup
Hot backup is a physical backup.  In a hot backup the database remains open and available to users. All files of the database are copied (image copy).  There may be changes to the database as the copy is made and so all log files of changes being made during the backup must be saved too.  Upon a restore, the changes in the log files are reapplied to bring the database in sync.
Used when:A full backup of a database is needed
Service level allows no down time for the backup

lanka_satya

  • Sep 12th, 2008
 

both are inverse...if we take the case with cold back we copy the all the physical files of the database i.e control files,data files,redo logs.this w3e do in non peak hours

hot back up is somthing which is used to tabke backup of logical database that is our tablespaces....

Cold Backup is possible only when the database is down means it is not available to users to access. Disadvantage is we effort downtime. Here we need to take backup of datafiles, control files, redo files. Here we get consistent backup image.

Hot backup is possible in database open mode means database is available to users while taking backup. Here we need to take backup of datafiles, controls. Here there is no guarantee that backup is consistent.Disadvantage is Excessive redo generation.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions