I would like to backup a community version

I’m new to n8n and run the community version on Windows 11. I am preparing backups for my n8n installation, and I want to know what files to back up to recover from a system crash. Thanks.

Information on your n8n setup

  • n8n version: 1.75.2
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Unknown/Not relevant
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Desktop/Community
  • Operating system: Windows 11 Pro

If I backup the “.n8n” folder, is that enough to recover from a crash?

you can create a backup-workflow which will write out all of your workflows and credentials in specified folders on the local filesystem. that way you have clean data.

here’s a simple example which will export your workflows and credentials in separate files
I recommend also to take a look at n8n’s CLI commands for exporting: CLI commands | n8n Docs

2 Likes

That’s really interesting. I would never have thought to do it that way. :slightly_smiling_face:

What do I specify for the n8n Account Credentials for the “GET WORKFLOWS” step?

in your n8n-instance, go to Settings > n8n API and create an API-Key. that will be your credential

Awesome. Thank you.

1 Like

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