Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themerdark
cp -ar /opt/shrine/tomcat/conf /opt/shrine/upgrade-backups/tomcat/conf
cp -ar /opt/shrine/tomcat/bin /opt/shrine/upgrade-backups/tomcat/bin
cp -ar /opt/shrine/tomcat/webapps /opt/shrine/upgrade-backups/tomcat/webapps
cp -ar /opt/shrine/tomcat/lib /opt/shrine/upgrade-backups/tomcat/lib


Since you will also need to modify several database tables later, you should also make a backup of those tables now.  The following is an example command that backs up MySQL tables:

Code Block
languagebash
themeRDark
mysqldump -u<your_username> -p<your_password> --add-drop-table --databases adapterAuditDB shrine_query_history qepAuditDB > <name_of_your_backup_file>