MIXEDLANE DOCUMENTATION
Backups and upgrades
Operate Mixedlane: check health, protect PostgreSQL and uploads, test recovery, and plan upgrades and database migrations.
Reviewed against the source ยท 24 November 2026
On this page
Know what persists
| Data | Location in the bundled stack | Recovery requirement |
|---|---|---|
| Work items, users, pages, integration records | PostgreSQL pgdata volume |
Consistent database backup |
| Local uploads and generated secrets | API uploads volume, mounted at /data |
File backup plus original secrets |
| S3 uploads, when configured | Your bucket | Provider backup/versioning strategy |
| Deployment configuration | Your private .env and selected source revision |
Protected copy and deployment record |
Database and upload backups should represent a consistent recovery point. Pause writes if your backup process cannot provide that consistency. An encrypted integration record without its original SECRET_KEY is not a complete backup.
Check health and logs
For the bundled stack:
docker compose -f docker-compose.db.yml ps
docker compose -f docker-compose.db.yml logs --tail=100 api
docker compose -f docker-compose.db.yml logs --tail=100 web
curl --fail http://localhost:3000/api/health
For an external database installation, omit -f docker-compose.db.yml. Use your actual origin for remote health checks. Logs can contain configuration details or email links when SMTP is disabled; inspect them locally and redact before sharing.
Back up and prove recovery
Schedule database backups with your PostgreSQL tooling or provider. For the bundled database, pg_dump is available in its container; follow your backup system's instructions for safely exporting and storing the dump. Preserve database roles/ownership requirements when choosing restore options. Also back up /data and any bucket data, plus your protected configuration.
Test a restore in a separate installation with isolated volumes and an appropriate test hostname. Verify a known work item, a versioned document, a private upload, sign-in and a configured integration. Record the restore time and the newest recovered record. A backup file existing on disk is not proof of recovery.
Upgrade deliberately
- Record the running Git commit and Compose file. Review release notes, migrations and changes to
.env.example. - Take and verify a recoverable backup of the database, files and secrets.
- Check out the reviewed release or commit. Compare configuration rather than overwriting
.env. - Rebuild and recreate the stack using the same Compose mode:
docker compose -f docker-compose.db.yml up -d --build
docker compose -f docker-compose.db.yml logs --tail=100 api
- Confirm migrations completed and check health, login, board updates, docs, uploads and the integrations your team uses.
Migrations run automatically at startup. Reverting source or a container image does not undo a database migration. If rollback requires the old schema, use the recovery plan tested for that release; do not assume a simple image rollback is sufficient.
Stop or move an installation
docker compose -f docker-compose.db.yml down stops the bundled stack while retaining named volumes by default. Avoid volume removal when you intend to keep the workspace. Use the original file to stop the old deployment before switching database modes, since both supplied files use the same project name.
Moving servers requires the database, uploads, secrets and configuration. Pointing at a new DATABASE_URL only changes the connection; it does not copy anything. Restore into a separate environment, verify it, then plan the hostname and write cutover.
Source reference
These instructions describe the checked source version. Compare the repository README, environment example and Compose files when deploying a different revision. Report a documentation issue.