Encrypted backups and zero-loss version upgrades
#07Cloud or Self-Hosted Deployment with Full Data Sovereignty
In this article
Back up PostgreSQL, object storage, and configuration with encryption
A recoverable Self-Host backup covers all three stateful layers and stores encrypted copies off-host:
- Consistent PostgreSQL dumps (
pg_dumpin custom format or continuous WAL archiving) capturing all entities, schemas, and audit logs - S3/SeaweedFS object storage buckets containing uploaded images, files, and generated previews
- Encrypted copies of deployment manifests, Traefik/Nginx proxy configs, and private
.envsecrets (plus any commercialnodo.liclicense file when Enterprise licensing is enabled)
Encrypt backup payloads before shipping them to an external backup bucket in a separate failure domain, and keep decryption keys outside the production host.

Follow a repeatable zero-loss upgrade checklist
Every Nodo Self-Host upgrade should be predictable and reversible:
- Read the release notes for breaking environment variables, proxy changes, or schema migration notes
- Take a fresh encrypted PostgreSQL and S3 backup right before pulling new container images
- Pin explicit release tags in
docker-compose.ymlrather than pulling unpinnedlatestimages - Pull images, run Drizzle database migrations, restart services cleanly, and watch startup logs for errors
- Verify login, page editing,
/wscollaboration, and file downloads on a test page before announcing maintenance complete
Never skip major versions without following the documented intermediate upgrade path.
Test disaster recovery and rollback procedures
A backup configuration is not verified until you restore it cleanly onto a fresh staging host:
- Restore the encrypted PostgreSQL dump and S3 bucket into an isolated staging environment on a quarterly schedule
- Confirm row counts, recent pages, uploaded images, and Audit Log integrity after restore
- If an upgrade fails after a schema migration, stop the new containers, restore the pre-upgrade database dump, and switch
docker-compose.ymlback to the previous pinned tag - Record actual recovery time (RTO) and recovery point (RPO) so your operations team knows exact restore timelines
Regular drills uncover missing permissions, stale keys, or incomplete buckets before real downtime occurs.