Closed joergrs closed 2 months ago
Regarding database backups: the current way of snapshotting the file system is potentially unsafe and might lead to corrupted data: https://www.postgresql.org/docs/current/backup-file.html
So either an SQL dump of the database should be used (https://www.postgresql.org/docs/current/backup-dump.html) or the containers must be stopped before creating the backup.
To minimize manual steps when deploying a new version, we need some scripting that automates most of the tasks.
Deployment steps
Manual steps:
The deployment script should do:
Show version info in the app
Also, display the build version and date in the footer of the app.
Nice-to-have: In order to avoid that a user uses an out-of-date frontend version (e.g., from local cache), the backend should also send its version and build info for verification purposes to the frontend. This might be a rare case, though.