Backup and restore

Describe the problem/error/question

I’m building an n8n system with several flows that call each other internally.

For example the Flow_a connects tho the Flow_b and Flow_c.

Considering that the system will have a very complex network of flows, making backups and restoring versions becomes complex.

The same if you want to do version control, e.g. git

What I currently do is export the flow, using the n8n platform) and import in the same way.

image

The problem with this approach is that, as the flows are interconnected by id, when imported they start to have a new id.

Currently, I manually go to the “aware flow” and enter, in each “client node”, the id of the “destination node”.

Information on your n8n setup

  • **n8n version: 1.35.0
  • Database (default: SQLite): SQLite (but i’m flexible here)
  • n8n EXECUTIONS_PROCESS setting (default: own, main): n.a.
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker-compose
  • Operating system: linux (boot2docker)

Tanks

You can use webhooks with custom IDs, that theoretically will remain the same on import. But as n8n stores everything in the database, you should consider a proper backup process for the db

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.