Backup
- Back up the database regularly with
mysqldump. - Back up
conf/upload/,conf/static/andconf/application.properties. - Store backups in a separate location and verify they can be restored.
Upgrade
- Back up the database and configuration.
- Pull the new version.
- Apply incremental SQL or run
bin/local/upgrate-sql.sh. - Rebuild the backend and frontends.
- Restart the services and run a regression check.
Routine maintenance
- Watch exception and access logs under
conf/logs/. - Clean up expired logs and stale caches.
- Check disk space, especially the upload directory.
- Assess compatibility before upgrading dependencies.