# Import flow without duplicate

**URL:** <https://discourse.nodered.org/t/import-flow-without-duplicate/62326>\
**Category:** General\
**Created:** [7 May 2022 09:18 UTC](https://discourse.nodered.org/t/import-flow-without-duplicate/62326 "2022-05-07T09:18:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giamma](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Post date:** [7 May 2022 09:18 UTC](https://discourse.nodered.org/t/import-flow-without-duplicate/62326/1 "2022-05-07T09:18:43Z")

</div>

Sorry, but I don't understand .....  
On my pc I export a flow (modified) generating one file ....  
Now I I would like to import this flow but in my raspberry there is the old flow that I modified on my pc.

I select import, I select the file (of course) and I have this form ....

![one](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/7/77bb2fade2cc736ac23da7e779ca937983cd02bf.png)

I select View nodes and I have this form ....

![two](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/5/45beb5415a66af0916c50fd3151f685a4b598bd4.png)

and I read:

```auto
Some of the nodes you are importing already exist in your workspace.
Select which nodes to import and whether to replace the existing nodes, or to import a copy of them.

```

Well, I would like to overwrite the existing nodes with the new nodes modified without have duplicates like in the next image ...

![three](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/3/23c000b9b397b23733c11b28e8238443ddeb00ab.png)

How can I do?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [7 May 2022 09:26 UTC](https://discourse.nodered.org/t/import-flow-without-duplicate/62326/2 "2022-05-07T09:26:15Z")

</div>

What version of Node-RED are you using?

The "import nodes" dialog should have an extra set of check boxes to say if you want to overwrite a node or not.

---

<div class="post-metadata">

**Author:** ![Giamma](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Post date:** [7 May 2022 09:27 UTC](https://discourse.nodered.org/t/import-flow-without-duplicate/62326/3 "2022-05-07T09:27:30Z")

</div>

7 May 11:26:42 - [info] Node-RED version: v2.1.6  
7 May 11:26:42 - [info] Node.js version: v14.16.0  
7 May 11:26:42 - [info] Linux 5.4.0-109-generic x64 LE  
7 May 11:26:43 - [info] Loading palette nodes  
7 May 11:26:43 - [info] Dashboard version 3.1.6 started at /ui

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [7 May 2022 09:55 UTC](https://discourse.nodered.org/t/import-flow-without-duplicate/62326/4 "2022-05-07T09:55:58Z")

</div>

Take a look at the '[projects](https://nodered.org/docs/user-guide/projects/)' option. Using this when you want to import the new version you could create a new project (and give it a version number in the title) and import the flow. Since it is a new project it will be empty.

This way if you need to go back to a previous version you can do by selecting the older version of the project.

---

<div class="post-metadata">

**Author:** ![Giamma](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Post date:** [7 May 2022 10:37 UTC](https://discourse.nodered.org/t/import-flow-without-duplicate/62326/5 "2022-05-07T10:37:28Z")

</div>

Very interesting, thank you ....

---

<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:** [6 July 2022 10:37 UTC](https://discourse.nodered.org/t/import-flow-without-duplicate/62326/6 "2022-07-06T10:37:52Z")

</div>

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