Skip to content
neatploy.
INFRASTRUCTURE · 4 min read

Platform-managed, encrypted database backups every 6 hours

How Neatploy encrypts PostgreSQL, MySQL, MongoDB, and Redis backups on-node with per-backup keys before storing them in Cloudflare R2.

Neatploy Engineering — Data Infrastructure Team
#databases #backups #encryption #r2

Backup configuration is one of the easiest things to misconfigure or forget until an incident occurs. Rather than asking every team to wire cron schedules, retention rules, and S3 buckets on day one, Neatploy handles managed database backups automatically as a core platform guarantee.

Every 6 hours, encrypted on the node

Every managed database across every project environment is backed up every 6 hours with 7-day retention (always preserving the newest successful snapshot):

  • PostgreSQL 16 / 17: pg_dump in custom format
  • MySQL 9.7 LTS: mysqldump across all user databases
  • MongoDB 8: mongodump --oplog against the single-node replica set
  • Redis 7 (AOF): RDB snapshot alongside append-only persistence

Crucially, backups are encrypted directly on the database’s node using a unique per-backup key before the payload is uploaded off-cluster to Cloudflare R2.

Why volumes and databases differ in v1

We intentionally separate database guarantees from raw application disk volumes:

  • Databases run pinned to their node (volume_homes), stop cleanly with engine-specific signals (SIGINT for Postgres, SIGTERM for MongoDB and Redis) and a 60-second drain, and are backed up every 6 hours to R2.
  • Application volumes (1–50 GB sparse ext4 images) are not backed up in v1 and exist strictly for local node-pinned state or caches.
  • Deletions are immediate and permanent. Deleting a database or project immediately removes its containers, volumes, and platform-held backups.

If you need durable object storage that survives node replacement independently of databases, provision a managed Cloudflare R2 Bucket inside your environment.

GET STARTED

Plan less infrastructure.
Ship more software.

Start with $5 in monthly free credit on your first verified organisation. Connect a GitHub repo or add a database in minutes.

Runtime gVisor (runsc)
Free credit $5.00 / month
Managed backups Every 6h → R2
Traffic swap Zero-downtime