Hi
There are quite a few posts about migrating from the default SQLite to PostgreSQL, several of which I’ve read through. Most of the posts seem to be about migrating data, credentials, workflows, etc on active or production instances of n8n. I’m however looking for a simple switch from SQLite to PostgreSQL and not really a full migration.
The self-hosted n8n instance was setup as a test environment, where I could learn n8n and test workflows. So not a production environment with any active workflows. I’m not to worried about losing the workflows, credentials and execution data when making the switch.
Obviously, one option is start up a new fresh n8n instance with PostgreSQL from the start. But, for various reasons, I don’t want to start fresh and want to retain the server setup and the rest of the n8n instance config.
Any suggestions how the switch can be made?
Information on your n8n setup
- n8n version: 2.11.3
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker-compose
- Operating system: Ubuntu