/
I need a cold backup of my database


I need a cold backup of my database

Issue/Symptom/Question

Need to make a 'cold' backup of a database.  

Applies To

Linux Server

Databases

Resolution/Fix/Answer

A 'Cold' backup means the database is not running while you back it up.

  • Shutdown the database you wish to backup.
  • Go to the directory where the database files are located.
    • The standard is under the /u02/app/oracle/oradata directory and under the /u03/app/oracle/flash_recovery_area directory.
    • Use the 'tar' command to create a condensed file of the database files. 

tar -czvf tarfilename.tgz  ORACLE_SID

i.e.  tar -czvf prod.tgz  PROD

  • Restart the database



Related content

How are the Databases getting Backed up?
How are the Databases getting Backed up?
More like this
Checking RMAN Database Backups
Checking RMAN Database Backups
More like this
Database Backups Failed with ORA-27072: File I/O error
Database Backups Failed with ORA-27072: File I/O error
More like this
PROD_H Backup Does Not Complete
PROD_H Backup Does Not Complete
More like this