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
Navigate to uAdmin -> System -> Backup
- Select the time and days of the week to completed the uControl backup.
Backup Of Configuration Files
- Backup the /apps/uControl directory
Backup Of the uControl Application Files
- Backup the <Tomcat_Home>/webapps/uControl directory
Restore
To restore the uControl backup from the UI utility you will need to access the CLI.
Stop the uControl tomcat process from the <Tomcat_Home>/bin directory
./shutdown.sh
Login to mysql and drop / recreate the TekWurx7 database
mysql -u tekwurx -p DROP DATABASE TekWurx7; CREATE DATABASE TekWurx7;
Run mysql to import the data into the newly created database
mysql -u tekwurx -p TekWurx7 < <BackupFile.sql>
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