Backups / Restore

Backups / Restore


Ensure that the user uControl is run started with can also run the mysqldump command without the absolute path on the CLI.

Backups

The uControl application has a built in backup utility that will:

  • Create a snapshot of the underlining DB
  • A copy of the configuration setting for uControl

The backup utility will not:

  • Backup and customised email notification template
  • Backup the uControl application files - including SSO configuration and LDAP configuration

Configure uControl Backup

  1. Navigate to uAdmin -> System -> Backup

  2. Select the time and days of the week to completed the uControl backup.

Backup Of Configuration Files

  1. Backup the /apps/uControl directory

Backup Of the uControl Application Files

  1. Backup the <Tomcat_Home>/webapps/uControl directory


Restore


To restore the uControl backup from the UI utility you will need to access the CLI. 

  1. Stop the uControl tomcat process from the <Tomcat_Home>/bin directory

    ./shutdown.sh
  2. Login to mysql and drop / recreate the TekWurx7 database

    mysql -u tekwurx -p
    DROP DATABASE TekWurx7;
    CREATE DATABASE TekWurx7;
  3. Run mysql to import the data into the newly created database

    mysql -u tekwurx -p TekWurx7 < <BackupFile.sql>
  4. Start the uControl tomcat processes from the (Tomcat_Home>/bin directory

    ./startup.sh

Restore Of Configuration files

This need to be done before starting the application processes. If they have already been started. Stop them, remove the /apps/uControl directory and replace with the backup.


To restore the configuration files copy in the backup to the /apps/uControl directory. Then start the application tomcat processes


Backup Of the uControl Application Files

To restore the uControl application files stop the tomcat process for uControl. Remove the uControl application directory and copy in the backup. Restart the application tomcat process