C.2 Running the Backup and Restore Utility Script

  1. Open a console, and navigate to the /opt/novell/sentinel_log_mgr/bin directory as the novell user.

  2. Enter backup_util.sh, along with the necessary parameters for the data that you want to back up or restore.

    For more information on the different parameters, see Table C-1. The following table gives examples of how to specify the parameters:

    Syntax

    Action

    backup_util.sh -m backup -c -e -l -s -f /var/opt/novell/sentinel_log_mgr/data/full_backup.tar.gz
    

    Shuts down the Sentinel Log Manager server and takes a backup of the complete system data. You should shut down the Sentinel server only when you back up the event data of the current online partition or when you back up the dynamic runtime data.

    backup_util.sh -m backup -c -f /var/opt/novell/sentinel_log_mgr/data/config_backup.tar.gz
    

    Performs an online backup of the configuration data. This is a minimal backup of the system without any event data.

    backup_util.sh -m backup -e -f /var/opt/novell/sentinel_log_mgr/data/events_backup.tar.gz
    

    Performs an online backup of the event data. This is a minimal backup of the online event data.

    backup_util.sh -m backup -e -d5 -f /var/opt/novell/sentinel_log_mgr/data/events_5days_backup.tar.gz
    

    Performs an online backup of the event data from the last 5 days. This is a minimal backup of the online event data from the last five days.

    backup_util.sh -m info -f /var/opt/novell/sentinel_log_mgr/data/config_backup.tar.gz
    

    Displays the backup information for the specified backup file.

    backup_util.sh -m simple_event_backup -e -z /opt/archives/archive_dir -f /opt/archives/archive_backup.tar.gz
    

    Performs a backup of event data on the machine where the archive directory is located. You must manually copy the backup_util.sh script to the machine where the archive is located.

    backup_util.sh -m restore -f /var/opt/novell/sentinel_log_mgr/data/config_backup.tar.gz
    

    Restores the data from the specified filename.

    backup_util.sh -m simple_event_restore -z /opt/archives/archivedir -f /opt/archives/archive_backup.tar.gz
    

    Performs a restore of backed up archive data.

  3. (Conditional) If you have restored any data, restart the server because the script might make several modifications to the database.