Page History
Backup your current SHRINE configuration
Now that SHRINE is stopped, back up the current versions of the components
...
you will be upgrading.
...
Your preferred method for
...
back-up may vary
...
. These instructions will place the backups in a folder called /opt/shrine/upgrade-backups.
Start by creating a folder to contain these backups:
Code Block | ||||
---|---|---|---|---|
| ||||
mkdir /opt/shrine/upgrade-backups
mkdir /opt/shrine/upgrade-backups/tomcat |
Make especially sure that the shrine.keystore is backed up. If you lose the private side of a cert you may will not be able to recover it.
Code Block | ||||
---|---|---|---|---|
| ||||
cp -a /opt/shrine/shrine.keystore /opt/shrine/upgrade-backups/shrine.keystore |
...
Back up other areas of tomcat that you may have modified:
You will also need to modify several database tables. Make a backup of those databases now. The following is an example command that backs up MySQL tables. Run the command as a user who has access to these tables. If you use a different database engine, consult its documentation for an equivalent command.
Code Block | ||||
---|---|---|---|---|
| ||||
mysqldump -u<your_username> -p<your_password> --add-drop-table --databases adapterAuditDB shrine_query_history qepAuditDB > <name_of_your_backup_file> |
Code Block | ||||
---|---|---|---|---|
| ||||
cp -rar /opt/shrine/tomcat/conf /opt/shrine/upgrade-backups/tomcat/conf cp -rar /opt/shrine/tomcat/bin /opt/shrine/upgrade-backups/tomcat/bin cp -rar /opt/shrine/tomcat/webapps /opt/shrine/upgrade-backups/tomcat/webapps cp -rar /opt/shrine/tomcat/lib /opt/shrine/upgrade-backups/tomcat/lib |
Overview
Content Tools