Oracle binaries backup is needed when we are doing any OS label upgrade like
OEL upgrade .
1. (Suggested but not mandatory) Shutdown databases, listeners, or any other processes related to the ORACLE_HOME which you are taking backup.
2. cd to the directory where ORACLE_HOME is located for example:
cd /u01/app/oracle/product/11.2
3. backup the ORACLE_HOME for example:
tar -pcvf /u01/app/oracle/backup/oracle_home_bkup.tar db1
In the above example, ORACLE_HOME is /u01/app/oracle/product/11.2/db1 and backup the directory is /u01/app/oracle/backup/
Below is an example of restoring the ORACLE_HOME:
1. (This step would be mandatory in the case of restore) Shutdown databases, listeners, or any other processes related to the ORACLE_HOME which you are restoring.
2. Go to the directory where ORACLE_HOME is located for example:
cd /u01/app/oracle/product/11.2
3. Rename or move the current ORACLE_HOME for example:
mv db1 db1_bkup
3. Restore the ORACLE_HOME for example:
tar -pxvf /u01/app/oracle/backup/oracle_home_bkup.tar
Make sure that is enough enough free disk space before doing the backup.
OEL upgrade .
1. (Suggested but not mandatory) Shutdown databases, listeners, or any other processes related to the ORACLE_HOME which you are taking backup.
2. cd to the directory where ORACLE_HOME is located for example:
cd /u01/app/oracle/product/11.2
3. backup the ORACLE_HOME for example:
tar -pcvf /u01/app/oracle/backup/oracle_home_bkup.tar db1
In the above example, ORACLE_HOME is /u01/app/oracle/product/11.2/db1 and backup the directory is /u01/app/oracle/backup/
Below is an example of restoring the ORACLE_HOME:
1. (This step would be mandatory in the case of restore) Shutdown databases, listeners, or any other processes related to the ORACLE_HOME which you are restoring.
2. Go to the directory where ORACLE_HOME is located for example:
cd /u01/app/oracle/product/11.2
3. Rename or move the current ORACLE_HOME for example:
mv db1 db1_bkup
3. Restore the ORACLE_HOME for example:
tar -pxvf /u01/app/oracle/backup/oracle_home_bkup.tar
Make sure that is enough enough free disk space before doing the backup.
Good Morning,
ReplyDeleteThe backup of the Oracle binary files on Windows operating systems how would it be done?