This section discusses how to backup Oracle databases.
You can perform Oracle cold backup (offline backup) as follows. If there are Oracle-dependent resources (e.g. SAP R/3), a resource failure might occur during Oracle stop, so it is necessary to stop them manually in advance.
Maintenance mode / Monitoring disruption
# hvutil -m on <userApplication> (Maintenance mode) # hvoradisable -a <userApplication> (Monitoring disruption)
Oracle stop
# su - < Oracle user > $ sqlplus /nolog SQL> connect / as sysdba SQL> shutdown immediate
Cold backup
Perform cold backup of the database.
Oracle startup
# su - < Oracle user > $ sqlplus /nolog SQL> connect / as sysdba SQL> startup
Monitoring restart / Maintenance mode stop
# hvoraenable -a <userApplication> (Monitoring restart) # hvutil -m off <userApplication> (Maintenance mode stop)
Note
If there are Oracle-dependent resources, the procedure with the monitoring disruption command might not work. When Oracle resources are stopped with the monitoring disruption command then Oracle is stopped manually, the Oracle-dependent resource might fail.
You need to check the status of the Oracle-dependent resource when you stop Oracle manually.
You can perform Oracle hot backup (online backup) as follows.
Maintenance mode / Monitoring disruption
# hvutil -m on <userApplication> (Maintenance mode) # hvoradisable -a <userApplication> (Monitoring disruption)
Hot backup
Perform hot backup of the database. Be sure to check that the Oracle instance and listener are properly running before going on to the next step.
Monitoring restart / Maintenance mode stop
# hvoraenable -a <userApplication> (Monitoring restart) # hvutil -m off <userApplication> (Maintenance mode stop)