Databases and backups
Neatploy provides one-click managed database services inside any project environment alongside your applications:
| Engine | Default resources | Injected variables | Backup method |
|---|---|---|---|
| PostgreSQL 17 (16 selectable) | 1 vCPU, 1 GB RAM, 5 GB | DATABASE_URL, PGHOST, PGPORT, PGUSER, PGPASSWORD, PGDATABASE | pg_dump (custom format) every 6 h |
| MySQL 9.7 (LTS) | 1 vCPU, 1 GB RAM, 5 GB | MYSQL_URL, MYSQL_DATABASE, MYSQL_ROOT_PASSWORD | mysqldump of all user databases every 6 h |
| MongoDB 8 (replica set) | 1 vCPU, 1 GB RAM, 5 GB | MONGO_URL, MONGOHOST, MONGOPORT, MONGOUSER, MONGOPASSWORD | mongodump --oplog every 6 h |
| Redis 7 (AOF) | 0.5 vCPU, 256 MB RAM, 1 GB | REDIS_URL, REDISHOST, REDISPORT, REDISPASSWORD | RDB snapshot every 6 h |
Databases run as single instances pinned to the worker node holding their volume and receive engine-appropriate shutdown signals (such as SIGINT for PostgreSQL) with a 60-second clean-stop window.
Public TCP access
Public TCP access is disabled by default; apps in the same environment reach databases privately over <service>.internal. When needed, you can toggle Public TCP in the service overview to expose a dedicated forwarded port (30000–32767) at <slug>-<suffix>-tcp.up.neatploy.com:<port> with a 32-character password, or connect directly with neatploy db connect.
Platform-managed backups
Neatploy automatically backs up every managed database in every environment every 6 hours and retains backups for 7 days (always keeping the newest successful backup).
Each backup is encrypted directly on the database’s node using a unique per-backup key before uploading to Cloudflare R2. Backups are managed by the platform without per-service scheduling configuration; restores are executed by platform staff upon request and audited in your organisation log.
Deleting a resource is immediate and permanent, including its containers, volumes, and platform-held backups. Always maintain an independent export of critical data before deleting a database or project. Disk volumes attached to app services have different rules: volumes are not backed up in v1. See volumes and buckets.