Microsoft dropping Win 10 support forces me to backup everything, but how do I do it?

Describe the problem/error/question

I need to make a backup of my entire n8n self hosted with Docker, but I’m not sure where to go, what to backup and how to do it so when I reinstall whatever OS I decide with (probably Windows LTSC) I can get back to using my workflow without hassle.

What is the error message (if any)?

-

Please share your workflow

-

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 3 versions behind to latest.
  • Database (default: SQLite): Default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Windows 10

Hi @Cristobal_Alarcon , it would be good to see the details of your docker deployment or docker compose to make better suggestions. Assuming that you did follow Docker | n8n Docs or Docker Compose | n8n Docs all of the n8n data should be in the volume n8n_databased on the default docker compose deployment

services:
  ...
  n8n:
    ...
    volumes:
      - n8n_data:/home/node/.n8n
...
volumes:
  n8n_data:

You should be able to export the volume as described in Volumes | Docker Docs, import it to a new machine and run your n8n instance. If you have an additional files volume, do the same with that one. When you run n8n on the new machine with the volumes already imported, you should have the same state