Backup and restore - SSO

A Ubisecure SSO installation consists of many applications including Ubisecure SSO Authentication Server (UAS) and Ubisecure SSO Management.

All files related to the configuration and other files are stored in the installation directory of Ubisecure SSO. This makes the backup procedure simple as only one directory needs to be backed up.

Back up the installation directory of Ubisecure SSO always when the product configuration has been changed or the product has been updated or upgraded. To make such a backup, you can use the methods described in the section below.

Simple Ubisecure SSO Backup and Restore Procedures

The easiest way to backup Ubisecure SSO is to stop the Ubisecure SSO (and Ubisecure Directory if OpenLDAP is used) and copy the installation directory to the backup destination.This will copy both Ubisecure SSO (and possibly OpenLDAP) including all necessary configurations and files needed in the restore operation.

The procedure for Windows is as follows:

  1. Stop Ubisecure SSO

    C:\>net stop UbiloginServer
  2. Back up the installation directory

    xcopy /e/q/y "C:\Program Files\Ubisecure\ubilogin-sso" <BACKUP_DIRECTORY>

The procedure for Linux is as follows

  1. Stop Ubisecure SSO
  2. Stop Ubisecure Directory
  3. Back up the installation directory

    cp -r /usr/local/ubisecure/ubilogin-sso <BACKUP_DIRECTORY>

    Where <BACKUP_DIRECTORY> is the path to the location where the backup will be stored, for example, mnt/backups/25_10_2010.

If a restore is needed, the Ubisecure SSO directory can be copied from the backup destination back to the server and can be used as is.

Restoring Ubisecure SSO Services

If Ubisecure SSO or Ubisecure Directory services must be restored, it can be accomplished with the following commands:

Script

Description

C:\Program Files\Ubisecure\ubilogin-sso\ubilogin\config\tomcat\install.cmd

Installs the Ubisecure SSO service.