Skip Headers
Oracle® Secure Enterprise Search Administrator's Guide
11g Release 1 (11.1.2.2)

Part Number E21605-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

Using Backup and Recovery

The Global Settings - Configuration Data Backup and Recovery page backs up metadata that can be used to recover your configuration settings after a hardware failure. The actual crawled data is not backed up. You should run a backup after making configuration data changes, such as creating or editing sources.

When you perform a backup, Oracle SES copies the data to the binary metaData.bkp file. The location of this file is provided on the Global Settings - Configuration Data Backup and Recovery page. When the backup successfully completes, you must copy this file to a different host.

When the installation completes, copy the metaData.bkp file to the location provided in the Oracle SES Administration GUI. Sources must be re-crawled to see search results.

Notes about backup and recovery 

Cold Backups

As an additional precaution to minimize downtime, you can perform a cold backup to backup all the data of an Oracle SES Instance. To back up an instance, you must save a copy of the directories ORACLE_BASE, oraInventory, and oradata.

To perform a cold backup: 

  1. Shut down the Oracle SES instance:

    ORACLE_HOME/bin/searchctl stopall
    
  2. Log in to the computer as the root user or the administrator.

  3. Copy all the files under the Oracle SES base directory (ORACLE_BASE), the Ora Inventory oraInventory, and the Oracle data storage oradata.

    These locations are specified during the Oracle SES installation. There are several ways to make a copy. For example, using the tar command:

    cd / 
    tar cvf ses_orabase.tar  {full path to Oracle base} 
    tar cvf ses_orahome.tar  {full path to Oracle home} 
    tar cvf ses_orainv.tar   {full path to oraInventory} 
    tar cvf ses_oradat.tar   {full path to oradata}
    

    For example, if the oradata location is /mnt1/oracle/ses/oradata, then save a copy using the command:

    cd / 
    tar cvf ses_oradat.tar /mnt1/oracle/ses/oradata
    
  4. Backup the cached files of sources created before Oracle SES 11g. (Optional)

    If you retain cache files, then users can click the "cached" link in the result list.

    The cache directory location is listed on the Global Settings - Crawler Configuration page. For example, if the cache directory is /mnt1/oracle/ses/cache, then run the following commands.

    cd /
    tar cvf cache.tar /mnt1/oracle/ses/cache
    
  5. Save the .tar files in a safe location.

    Note:

    You can use any compression method to perform file backup. For example, you can zip the files.

To recover files from a cold backup: 

  1. Shut down the Oracle SES instance:

    ORACLE_HOME/bin/searchctl stopall
    
  2. Restore all backed-up files. First decompress (untar) the files, then move them back to their original locations.

  3. Start the Oracle SES instance:

    ORACLE_HOME/bin/searchctl startall