Sun Update Connection - Enterprise 1.0 Administration Guide

Backing Up the System Dependency Server

This task explains what happens when you run the backup script. The backup.sh script is in the installation directory created when you first installed the system dependency server: /usr/local/uce/install.

ProcedureTo Back Up the System Dependency Server

  1. Log in to the system as superuser.

  2. Change to the installation directory.

    # cd /usr/local/uce/install

  3. Run the backup script.

    # ./backup.sh

Backup Archive

The following steps are performed automatically:

  1. Sun Update Connection – Enterprise applications are stopped.

  2. The backup script verifies that the local system is the system dependency server.

  3. The data in the following directories and files are saved under backup names:

    • /usr/local/uce/server/public/* - Universal rules and components

    • /usr/local/uce/server/private/* - Local rules and components

    • /usr/local/uce/engine/*/bin - Settings files and encryption keys

    • /usr/local/uce/install/* - Application installers, restore and support scripts

  4. The databases are backed up and the backup files are stored in a tar file. The file name includes the year, month, day, hour, and minute that the backup was created./usr/local/uce_backup/backup-<yyyy-mm-dd-hh-mm>.tar.gz

  5. Sun Update Connection – Enterprise applications are restarted and backup exits.


Example 8–1 Backup Archive File

The following backup archive contains the contains local and universal knowledge base and console data for June 25, 2003, 1:07 p.m.

/usr/local/uce_backup/backup-2003-06-25-13-07.tar.gz