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:
Make especially sure that the shrine.keystore is backed up. If you lose the private side of a cert you will not be able to recover it.
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.