Node RED Backup - langanjp/PI-NodeRED GitHub Wiki

To back up the entire flow (all tabs), you can make a copy of the file: /.node-red/lib/flows/nodered
(
is your user home directory)

There can also be npm packages used by Node-RED in the /usr/lib/node_modules directory (global package directory). Since these can easily be re-installed (and will get reinstalled on current versions of Node-RED), just make note of these in case you need to manually re-install at some point

To back up individual flows, you can export them one tab at time:

  • ctrl-A to select all objects
  • ctrl-E to export
  • manually copy and paste