Skip Headers
Oracle® Fusion Middleware Administrator's Guide
11g Release 1 (11.1.1)

Part Number E10105-08
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

17 Backing Up Your Environment

This chapter describes recommended backup strategies for Oracle Fusion Middleware and the procedures for backing up Oracle Fusion Middleware.

This chapter includes the following topics:

17.1 Overview of Backing Up Your Environment

As described in Section 16.3.2, you should use the following recommended strategy for backing up your Oracle Fusion Middleware environment:

The flowchart in Figure 17-1 provides an overview of how to decide which type of backup is appropriate for a given circumstance.

Figure 17-1 Decision Flow Chart for Type of Backup

Description of Figure 17-1 follows
Description of "Figure 17-1 Decision Flow Chart for Type of Backup"

17.2 Limitations and Restrictions for Backing Up Data

Note the following points:

17.3 Performing a Backup

You can perform a full offline backup or an online or offline backup of run-time artifacts, as described in the following topics:

17.3.1 Performing a Full Offline Backup

To perform a full offline backup, you copy the directories that contain Oracle Fusion Middleware files.

Archive and compress the source Middleware home, using your preferred tool for archiving. You can use:

  • File copy utilities such as copy, xcopy, tar, or jar. Make sure that the utilities:

    • Preserve symbolic links

    • Support long file names

    • Preserve the permissions and ownership of the files

    For example:

    • On Windows, for online backups, use copy; for offline backups, use copy, xcopy, or jar. Do not use Winzip because it does not work with long filenames or extensions.

      Note that for some versions of Windows, any file name with more than 256 characters will fail. You can use the xcopy command with the following switches to work around this issue:

      xcopy /s/e  "C:\Temp\*.*"  "C:\copy"
      

      See the xcopy help for more information about syntax and restrictions.

      If you use a third-party backup solution, ensure that the tool meets the requirements listed previously.

    • On Linux and UNIX, for online and offline backups, use tar.

  • Oracle Recovery Manager (RMAN) to back up database-based metadata repositories.

Take the following steps:

  1. Shut down all processes in the Middleware home. For example, shut down the Managed Servers, the Administration Server, and any Oracle instances running in the Middleware home.

  2. Back up the Middleware home (MW_HOME) on all hosts. For example:

    tar -cf mw_home_backup_092010.tar MW_HOME/*
    
  3. If the domain is not located within the Middleware home, back up the Administration Server domain separately. This backs up Java components such as Oracle SOA Suite and Oracle WebCenter.

    For example:

    tar -cf domain_home_backup_092010.tar DOMAIN_HOME/*
    

    In most cases, you do not need to back up the Managed Server directories separately, because the Administration Server domain contains information about the Managed Servers in its domain. If you have customized your environment for the Managed Server, back up the Managed Server directories. See Section 16.5 for information about what you need to back up.

  4. If the Oracle instance home is not located within the Middleware home, back up the Oracle instance home. The Oracle instance home contains configuration information about system components, such as Oracle HTTP Server or Oracle Internet Directory. (See Section 3.5.2 for a list of system components.)

    For example:

    tar -cf sc_home_backup_092010.tar ORACLE_INSTANCE/*
    
  5. If a Managed Server is not located within the domain, back up the Managed Server directory. For example:

    tar -cf mg1_home_backup_092010.tar server_name/*
    
  6. Back up the OraInventory directory. For example:

    tar -cf Inven_home_backup_092010.tar /scratch/oracle/OraInventory
    
  7. Back up oraInst.loc and oratab files, which are located in the following directory:

    /etc
    
  8. Back up the database repositories using the Oracle Recovery Manager (RMAN). For detailed steps, see the Oracle Database Backup and Recovery User's Guide, which is available at:

    http://www.oracle.com/technology/documentation/database.html
    
  9. On Windows, export the following registry key:

    HKEY_LOCAL_MACHINE\Software\Oracle
    

    In addition, for system components, such as Oracle Web Cache, export the following Windows Registry key:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
    

    To export a key, use the following command:

    regedit /E  FileName Key
    

    For example:

    regedit /E C:\oracleregistry.reg HKEY_LOCAL_MACHINE/oracle 
    

    You can also use the Registry Editor to export the key. See the Registry Editor Help for more information.

  10. For Oracle BI EE on Windows, you should export Windows Registry entries, as described in Section 17.3.3.

  11. Create a record of your Oracle Fusion Middleware environment. See Section 17.4.

17.3.2 Performing an Online Backup of Run-Time Artifacts

You should perform a backup of run-time artifacts on a regular basis and at the times described in Section 16.3.2.

To back up run-time artifacts:

  1. To avoid an inconsistent backup, do not make any configuration changes until the backup is completed. To ensure that no changes are made in the WebLogic Server domain, lock the WebLogic Server configuration, as described in Section 3.4.2.

  2. Back up the Administration Server domain directories. This backs up Java components such as Oracle SOA Suite and Oracle WebCenter. For example:

    tar -cf domain_home_backup_092010.tar MW_HOME/user_projects/domains/domain_name/*
    

    For Oracle Portal, Oracle Reports, Oracle Forms Services, and Oracle Business Intelligence Discoverer, you must back up the Managed Server directories, in addition to the Administration Server domain directories.

  3. Back up the Oracle instance home. This backs up the system components, such as Oracle HTTP Server. For example:

    tar -cf sc_home_backup_092010.tar ORACLE_INSTANCE/*
    
  4. Back up the database repositories using the Oracle Recovery Manager (RMAN). For detailed steps, see the Oracle Database Backup and Recovery User's Guide, which is available at:

    http://www.oracle.com/technology/documentation/database.html
    
  5. Create a record of your Oracle Fusion Middleware environment. See Section 17.4.

17.3.3 Exporting Oracle BI EE Registry Entries On Windows

On Windows, export the Oracle BI EE Registry entries. In the case of loss of host, you can import those entries into the new host. Take the following steps:

  1. Execute the following command:

    regedit
    
  2. In the Registry Editor, locate the node HKEY_LOCAL_MACHINE\SOFTWARE\Oracle.

  3. Right-click the node and click Export. Enter a filename and click Save.

  4. Locate the node locate the node HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services.

  5. Export each node within this node that begins Oracle. (Right-click the node and click Export. Enter a filename and click Save.)

  6. Locate the node locate the node HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services.

  7. Export each node within this node that begins Oracle. (Right-click the node and click Export. Enter a filename and click Save.)

  8. Locate the node locate the node HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.

  9. Export each node within this node that begins Oracle. (Right-click the node and click Export. Enter a filename and click Save.)

17.4 Creating a Record of Your Oracle Fusion Middleware Configuration

In the event that you need to restore and recover your Oracle Fusion Middleware environment, it is important to have all the necessary information at your disposal. This is especially true in the event of a hardware loss that requires you to reconstruct all or part of your Oracle Fusion Middleware environment on a new disk or host.

You should maintain an up-to-date record of your Oracle Fusion Middleware environment that includes the information listed in this section. You should keep this information both in hardcopy and electronic form. The electronic form should be stored on a host or e-mail system that is completely separate from your Oracle Fusion Middleware environment.

Your Oracle Fusion Middleware hardware and software configuration record should include: