Operating self-hosted apps
Runbooks for backing up, monitoring and running self-hosted apps in production, with checks you can use before putting a change live.
Backup and restore
- Apache Guacamole backup and restore
Preserve JDBC-managed accounts, permissions and connections plus the deployment’s configuration and any file-based recording or transfer content.
- BookStack backup and restore
Pair a MySQL dump with BookStack’s configuration, image uploads, page attachments and custom themes.
- Chatwoot backup and restore
Recover PostgreSQL and the corresponding Active Storage files without reconnecting live communication channels.
- Forgejo backup and restore
Capture a Forgejo dump along with anything whose location is defined outside the standard instance directories.
- GitLab backup and restore
Rehearse a self-managed GitLab restore without touching the live instance.
- Grafana backup and restore
Restore Grafana dashboards and configuration with the correct plugins and data-source settings.
- Keycloak backup and restore
Rehearse identity recovery from the database plus deployment state rather than relying on an admin-console export.
- Kimai backup and restore
Pair the database export with configuration, invoice templates and any locally installed extensions.
- listmonk backup and restore
Back up the PostgreSQL database, runtime configuration and separately stored uploads.
- Mattermost backup and restore
Keep the message database, server configuration and user-uploaded file store synchronized.
- Metabase backup and restore
Recover Metabase questions and dashboards by restoring its application database, not its analytics warehouse.
- n8n backup and restore
Recover workflows and usable credentials, not just exported workflow JSON.
- Nextcloud backup and restore
Restore the database and file state from the same Nextcloud recovery point.
- Odoo Community backup and restore
Use the Odoo 19 ZIP dump so that the filestore travels with the logical database backup.
- Open WebUI backup and restore
Take a cold backup of the default `open-webui` volume mounted at `/app/backend/data`; separately configured external dependencies are outside that volume.
- OpenBao backup and restore
Use native Raft snapshots for OpenBao data, with deployment and seal dependencies preserved separately.
- OpenProject backup and restore
Use the packaged backup command and restore the database and matching attachments, configuration and optional repositories.
- Outline backup and restore
Pair the PostgreSQL backup with Outline’s local filesystem or S3 objects, and retain the original application secrets.
- Paperless-ngx backup and restore
Use the native document exporter and importer to carry documents and database metadata into an empty instance.
- PostgreSQL backup and restore
Prove that a base backup and archived WAL can recover to a chosen point.
- Qdrant backup and restore
Restore a collection snapshot to a scratch Qdrant deployment and verify a known vector query.
- Vaultwarden backup and restore
Capture a safe SQLite snapshot plus the attachments, Sends and settings not contained in the database.
High availability
- Apache Flink high availability
Rehearse standby JobManager takeover and state recovery from a completed checkpoint in a Flink application cluster on Kubernetes.
- GitLab high availability
Use a workload-matched reference architecture and test user-facing service failover.
- Harbor high availability
Deploy replicated Harbor application components without making registry contents pod-local.
- Keycloak high availability
Validate a supported single-cluster Keycloak topology before promising site-level resilience.
- Mattermost high availability
Validate a clustered Mattermost deployment across HTTP, WebSocket and shared file paths.
- Nextcloud high availability
Rehearse Nextcloud failover on an existing standby deployment. Check database and file consistency, client sync and recovery objectives.
- OpenBao high availability
Exercise active-node failover with a three-voter integrated Raft cluster.
- PostgreSQL high availability
Rehearse promotion and client reconnection for an already provisioned PostgreSQL physical standby. Streaming replication itself is not a failover manager.
- Qdrant high availability
Prove that a multi-peer Qdrant deployment has actual shard replicas before testing peer loss.
Monitoring
- Apache Airflow monitoring
Use scheduler and executor metrics to distinguish stalled scheduling from execution backlog.
- Apache Kafka monitoring
Distinguish Kafka replica degradation from partitions that are unavailable or below their configured minimum in-sync replica count.
- GitLab monitoring
Validate Prometheus coverage for a self-managed GitLab Linux package installation.
- Harbor monitoring
Monitor registry availability and catch jobservice queue buildup independently.
- Keycloak monitoring
Scrape Keycloak's management endpoint and baseline login traffic before setting alerts.
- n8n monitoring
Separate n8n process availability, database readiness, and real workflow execution so that an HTTP 200 on the main instance does not hide a queue outage.
- PostgreSQL monitoring
Monitor standby catch-up separately from replication connection health for PostgreSQL physical streaming replication.
- Qdrant monitoring
Track query latency and REST errors from each Qdrant peer, with readiness checked separately.
- vLLM monitoring
Measure queue pressure and token latency before changing replica or GPU capacity.
Outgoing mail
- BookStack outgoing mail
Set up BookStack SMTP for account and application messages, and test the rendered mail and links after a relay change.
- Chatwoot outgoing mail
Wire Chatwoot's outbound mail to a relay and verify delivery from an agent account workflow.
- Directus outgoing mail
Set an explicit SMTP transport and validate the sender and public URL used by Directus account mail.
- Forgejo outgoing mail
Enable Forgejo's SMTP mailer and verify delivery after a sender or relay change.
- GitLab outgoing mail
Route Linux-package GitLab notifications through an authenticated SMTP relay.
- Grafana outgoing mail
Configure SMTP in self-managed Grafana and confirm both contact-point delivery and notification-policy routing.
- Keycloak outgoing mail
Configure realm-level SMTP and verify a password-reset message end to end.
- Metabase outgoing mail
Validate both SMTP connectivity and scheduled dashboard delivery on the deployed Metabase instance.
- n8n outgoing mail
Configure n8n SMTP for account invitations and password recovery. Workflow actions use separate Send Email credentials.
- Nextcloud outgoing mail
Configure Nextcloud's global SMTP relay and validate both the built-in test and a user-facing notification.
- Paperless-ngx outgoing mail
Enable outbound mail without confusing SMTP relay settings with inbound document ingestion accounts.
Storage
- GitLab storage
Audit CI artifact and other feature storage before moving any data.
- n8n storage
Measure execution and binary data separately and check that workers can access retained files.
- Nextcloud storage
Separate live file growth from versions and trash before changing retention.
- Ollama storage
Preserve model manifests and blobs as one set; this does not back up chat history belonging to another application.
- PostgreSQL storage
Identify whether tables, indexes, TOAST, or WAL are driving growth without reclaiming space in production.
Tell us what you need to run.
Thirty minutes with an engineer and a written plan for the first workload.
