As the monitoring and management framework for your ecosystem,
an important part of your high availability strategy is to ensure
Enterprise Manager is regularly backed up so that it can be
restored in the event of failure.
Let's see how we can backup our Oracle Enterprise Manager 12c.
This is a required task for your environment if your OEM is part of your production system. Bellow is the list of targets needed for you
to backup in order to have a complete restore in case of a complete disaster.
1-Oracle Inventory
2-Middle-ware Home and EM domain
3-Management Repository Database
4-Instance Home where OMS is installed
5-Default Management Agent with OMS
6-Software Library
1-Oracle Inventory
You have to backup your Oracle Inventory for all your "Homes", and i mean your :
-database home
-OMS home
-AGENT home.
1.1 Backup the Database Oracle Inventory
You need to use the opatch tool to find the location of your oracle Inventory
1.2 Backup the OMS Oracle Inventory
find it's location first; normally i keep them on the same location as the database inventory.
1.3 Backup the AGENT Oracle Inventory
Once found make a tar ball out of it :
So as i said i keep them on the same location if repository is on the same host as OMS.
So finished backing up our Inventory.
2- Middle-ware Home and EM domain - take a snapshot of your OMS(Oracle Management Service) use the syntax bellow:
Running exportconfig captures a snapshot of the OMS at a given point
in time, thus allowing you to back up the most recent OMS configuration
on a regular basis. exportconfig should always be run on the OMS running
the WebLogic Admin Server. If required, the most recent snapshot can
then be restored on a fresh OMS installation on the same or different host.
Running the backup command of your OMS(Oracle Management Service)
3-Management Repository Database
Take a backup of your database using RMAN tool.
4-Instance Home where OMS is installed
Create a tar ball of your Oracle Home
5-Default Management Agent with OMS
6-Software Library
The software library is a centralized media storage for Enterprise Manager
software entities such as software patches, virtual appliance images, reference
gold images, application software, and their associated directive scripts.
The software library is an essential part of Enterprise Manager framework
and is required by many Enterprise Manager features in order to function
properly. The software library storage locations should be backed up periodically
using file system backup. Oracle recommends the backup be performed
at a frequency of 1 to 24 hours.
To find the location of your Software Library follow the steps bellow