A.2 Running the Backup and Restore Utility Script

  1. Open a console, and navigate to the /opt/novell/sentinel/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 A-1. The following table lists examples of how to specify the parameters:

    Syntax

    Action

    backup_util.sh -m backup -c -e -i -l -r -w -s -u admin -x <mypassword.txt> -f /var/opt/novell/sentinel/data/<my_full_backup>.tar.gz 
    

    Shuts down the Sentinel server and performs a full system backup.

    NOTE:If you have taken a full backup, the data can be restored only on the same or a later version of Sentinel, and cannot be restored on an older version of Sentinel.

    backup_util.sh -m backup -c -e -i -l -w -u admin -x <mypassword.txt> -f /var/opt/novell/sentinel/data/<my_weekly_backup>.tar.gz
    

    Performs an online backup without shutting down the server. This backup includes everything except online event data and dynamic runtime data.

    backup_util.sh -m backup -b -c -e -d7 -u admin -x <mypassword.txt> -f /var/opt/novell/sentinel/data/<my_weekly_backup>.tar.gz
    

    Performs an online backup with event data just from the last week. This backup includes configuration data, the baseline Security Intelligence collections, and the event data for the last 7 days. Event data older than 7 days is not backed up because that data can be extracted selectively, if necessary, from an older backup.

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

    Performs a local 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/data/events_backup.tar.gz
    

    Performs a local backup of the event data. This is a minimal backup of the local storage event data.

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

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

    backup_util.sh -m info -f /var/opt/novell/sentinel/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 networked storage directory is located.

    If the /opt/archives/archive_dir is not located in the server, you might need to copy the backup_util.sh script to the machine where the network storage is located and then run the simple_event_backup command from that machine.Alternatively, you can also use any 3rd party backup tool to backup the event directories on network storage.

    backup_util.sh -m restore -f /var/opt/novell/sentinel/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 network storage data.

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

  4. Use the Data Restoration feature to restore the extracted partitions. For more information, see Section 5.8.6, Restoring Data.