Production hardening checklist for self-hosted n8n
- Set execution pruning env vars: Always configure
EXECUTIONS_DATA_PRUNE=trueandEXECUTIONS_DATA_MAX_AGE=168(7 days) so Postgres/SQLite doesn't fill your SSD after a busy month. - Back up your encryption key: Store
N8N_ENCRYPTION_KEYin your password manager. Without it, backed-up database credentials cannot be decrypted on a new server. - Compare total savings: Plug your selected VPS cost into our n8n self-hosted TCO calculator or n8n Cloud vs self-hosted comparison.