# How to export / import a whole node-red project?

**URL:** https://discourse.nodered.org/t/how-to-export-import-a-whole-node-red-project/63575
**Category:** Dashboard
**Created:** [7 June 2022 13:36 UTC](https://discourse.nodered.org/t/how-to-export-import-a-whole-node-red-project/63575 "2022-06-07T13:36:40Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![hunterhb](https://avatars.discourse-cdn.com/v4/letter/h/a3d4f5/32.png) [@hunterhb](https://discourse.nodered.org/u/hunterhb)
#### Post date: [7 June 2022 13:36 UTC](https://discourse.nodered.org/t/how-to-export-import-a-whole-node-red-project/63575/1 "2022-06-07T13:36:40Z")

</div>

Hello experts,

I programmed a pool control in node-red. Now I want to export the complete project to a new Raspberry Pi 4. I try to do this by exporting all flows and importing them again in the new RPI4. However, the dashboard is not imported. Thus, node does not know the nodes that are used as dashboard buttons.

The Node-Red Version on the old Raspberry is v0.20.7. On the new Raspberry runs the V2.2.2 version. Is that step to big for exporting and importing?

I'm going crazy, I'm trying to import the whole project for two days without success.

The Flows looks like that:

 ![Node-red-old_Flows](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/e/0e587bedb327a8238d3142b2318102fb7318901c.png)  
The Dashboard looks like that:  
 ![Dashboard_old](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/a/0a122ea68b191247df1f6ab4ae363fc40103d7bd.png)

I really don't want to have to reprogram everything.  
Do you have some ideas for me?

Thank you for your support.

Greeds from Germany.

---

<div class="post-metadata">

### Author: ![simon.marquardt](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@simon.marquardt](https://discourse.nodered.org/u/simon.marquardt)
#### Post date: [7 June 2022 13:47 UTC](https://discourse.nodered.org/t/how-to-export-import-a-whole-node-red-project/63575/2 "2022-06-07T13:47:09Z")

</div>

did you tryed to export as Json file?

---

<div class="post-metadata">

### Author: ![hunterhb](https://avatars.discourse-cdn.com/v4/letter/h/a3d4f5/32.png) [@hunterhb](https://discourse.nodered.org/u/hunterhb)
#### Post date: [7 June 2022 13:51 UTC](https://discourse.nodered.org/t/how-to-export-import-a-whole-node-red-project/63575/3 "2022-06-07T13:51:09Z")

</div>

Sorry for that stupid question, but hjow does this work?

---

<div class="post-metadata">

### Author: ![simon.marquardt](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@simon.marquardt](https://discourse.nodered.org/u/simon.marquardt)
#### Post date: [7 June 2022 14:02 UTC](https://discourse.nodered.org/t/how-to-export-import-a-whole-node-red-project/63575/4 "2022-06-07T14:02:55Z")

</div>

click the menu in top right corner -\> export(ctrl-e)-\> JSON -\> download. Than you have downloaded the JSON file. I don´t know how to import on a Pi but in windows it is not that much difficult. Navigate to the .node-red folder on your file system (C:\user\userxyz.node-red) and save the JSON file in that folder. After that you open the settings.js file in the same folder and write the JSON file name in line 35 (flowFile:)

---

<div class="post-metadata">

### Author: ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)
#### Post date: [7 June 2022 14:09 UTC](https://discourse.nodered.org/t/how-to-export-import-a-whole-node-red-project/63575/5 "2022-06-07T14:09:27Z")

</div>

Please explain a little more about the dashboard and missing nodes. I have transferred projects numerous times using the explained process and it has worked perfectly every time. The one thing you need to do, or I have needed to do is make a list of all nodes in the project and when setting up node-red on the new pi make sure that all the nodes are there. I use, probably like most people, some nodes that are not in the core setup and as such they must be loaded individually. Yes, it's a pain and that issue has been raised numerous times on this forum but that's just the way it is.

---

<div class="post-metadata">

### Author: ![hunterhb](https://avatars.discourse-cdn.com/v4/letter/h/a3d4f5/32.png) [@hunterhb](https://discourse.nodered.org/u/hunterhb)
#### Post date: [7 June 2022 14:17 UTC](https://discourse.nodered.org/t/how-to-export-import-a-whole-node-red-project/63575/6 "2022-06-07T14:17:03Z")

</div>

All the nodes, which are placed on the dashboard are now unknown.

 ![Importierte_Nodes](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/c/2ca4d64216e4ed206222724644e7708e34b36371.png)  
And the icon for the dashboard on the richt side is also missing.

---

<div class="post-metadata">

### Author: ![mudwalker](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@mudwalker](https://discourse.nodered.org/u/mudwalker)
#### Post date: [7 June 2022 14:22 UTC](https://discourse.nodered.org/t/how-to-export-import-a-whole-node-red-project/63575/7 "2022-06-07T14:22:33Z")

</div>

Is the `node-red-dashboard` loaded into the new Node-RED install? (ui\_switch is part of that node.)

Install through _Manage Palette_.

---

<div class="post-metadata">

### Author: ![hunterhb](https://avatars.discourse-cdn.com/v4/letter/h/a3d4f5/32.png) [@hunterhb](https://discourse.nodered.org/u/hunterhb)
#### Post date: [7 June 2022 14:29 UTC](https://discourse.nodered.org/t/how-to-export-import-a-whole-node-red-project/63575/8 "2022-06-07T14:29:07Z")

</div>

Oh, sorry I was sure to install the dashboard node th day before yesterday, but it was not listet in the installed nodes.  
I will try to install the node again.

---

<div class="post-metadata">

### Author: ![JayDickson](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jaydickson/32/90592_2.png) [@JayDickson](https://discourse.nodered.org/u/JayDickson)
#### Post date: [7 June 2022 15:46 UTC](https://discourse.nodered.org/t/how-to-export-import-a-whole-node-red-project/63575/9 "2022-06-07T15:46:47Z")

</div>

Another option (more complicated to set up, but good for mass deployments) is to use the projects feature. This allows you to put your flows in a git repo and will automatically install any necessary non-default nodes when you pull the project down on a new device.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [7 July 2022 15:46 UTC](https://discourse.nodered.org/t/how-to-export-import-a-whole-node-red-project/63575/10 "2022-07-07T15:46:56Z")

</div>

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