Migration from docker to npm

Describe the issue/error/question

How to migrate n8n from docker to npm keeping all created workflow?
Interested in how to export all workflows from docker and transfer or import to npm

What is the error message (if any)?

Please share the workflow

(Select the nodes and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow respectively)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: - 0.173.1
  • Database you’re using (default: SQLite): - default
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: VPS Ubuntu 18.04 / Docker

Hey @Faha,

The quickest option would be to use the cli tool to export everything thing and then import on the new install.

https://docs.n8n.io/reference/cli-commands/#export-workflows-and-credentials

1 Like

thanks, it worked