"Dummy" backup question

Information on your n8n setup

  • n8n version: 1.18
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: Ubuntu


Stupid question…

What has to be backed up in order to survive a total system failure and get back up and running in minutes?

Brand new install via docker takes just a few minutes…

Is a database backup enough?

Thank you


The information i can find is vague…

Almost @xewonder :slight_smile:

The credentials in your database are encrypted, so you would also need to backup the content of your ~/.n8n folder which will include a config file containing the corresponding key. Without this you can still recover the database, but would have to re-create your credentials afterwards.

Depending on how you have configured your n8n instance, this folder also has some other items you might want to keep safe as well, such as logfiles or binary data associated with executions you have stored.

So tl;dr you want to back up both your database and your ~/.n8n folder.

Hope this helps and makes sense!

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