Oracle Home and Inventory Backup
-----------------------------------------
tar -cvf $ORACLE_HOME $ORACLE_HOME/oraInventory | gzip > Backup_Software_Version.tar.gz
Note:
tar -cvf <destination_location> <source_location>
ORACLE_HOME & ORACLE_CRS_HOME backup’s (for all nodes in RAC)
cd /u01/before_patch_backup
tar -cvf oracle_base_jun30.tar $ORACLE_BASE
tar -cvf oracle_home_jun30.tar $ORACLE_HOME
tar -cvf oracle_crs_home_jun30.tar $ORACLE_CRS_HOME
Controlfile Backup
---------------------
alter database backup controlfile to trace;
show parameter user_dump_dest
(go to udump dest and make the note of controlfile trace)
-----------------------------------------
tar -cvf $ORACLE_HOME $ORACLE_HOME/oraInventory | gzip > Backup_Software_Version.tar.gz
Note:
tar -cvf <destination_location> <source_location>
ORACLE_HOME & ORACLE_CRS_HOME backup’s (for all nodes in RAC)
cd /u01/before_patch_backup
tar -cvf oracle_base_jun30.tar $ORACLE_BASE
tar -cvf oracle_home_jun30.tar $ORACLE_HOME
tar -cvf oracle_crs_home_jun30.tar $ORACLE_CRS_HOME
Controlfile Backup
---------------------
alter database backup controlfile to trace;
show parameter user_dump_dest
(go to udump dest and make the note of controlfile trace)
Well explained and very clear steps. I was trying to take backup of ORACLE_HOME and oraInventory and it helped me. Thanks for sharing.
ReplyDelete