# Transfer NR "App" to another RPI -- need Help, please

**URL:** <https://discourse.nodered.org/t/transfer-nr-app-to-another-rpi-need-help-please/93319>\
**Category:** General\
**Created:** [21 November 2024 15:41 UTC](https://discourse.nodered.org/t/transfer-nr-app-to-another-rpi-need-help-please/93319 "2024-11-21T15:41:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gNeandr](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gneandr/32/73947_2.png) [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Post date:** [21 November 2024 15:41 UTC](https://discourse.nodered.org/t/transfer-nr-app-to-another-rpi-need-help-please/93319/1 "2024-11-21T15:41:09Z")

</div>

A somewhat extensive NR "App" with Tasmota devices and MQTT control is to be transferred from one RPI to another one.  
The new/different RPI naturally has a different host name and a different IP address, but the Tasmota devices are of course set to the "original" values.  
The NR “App” also includes nodes like Dashboard (not yet Vers.2), file handling, tasmota, mqtt, ui-table. These nodes should ideally also be transferred.

What is the easiest and safest way to transfer the entire project automatically?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [21 November 2024 17:00 UTC](https://discourse.nodered.org/t/transfer-nr-app-to-another-rpi-need-help-please/93319/2 "2024-11-21T17:00:29Z")

</div>

First, on the original pi, make sure all nodes are fully up to date (using Manage Palette).

On the new pi, install node red if you have not already done so, then copy the whole ~~.node-folder~~.node-red folder, except the node\_modules folder, from the old pi to the new one. In a command window, cd into the .node-red folder and run  
`npm install`  
which will install any additional nodes required by your flows. Then restart node-red and all should be well.

**[Edit]** Corrected typo

---

<div class="post-metadata">

**Author:** ![gNeandr](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gneandr/32/73947_2.png) [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Post date:** [21 November 2024 17:15 UTC](https://discourse.nodered.org/t/transfer-nr-app-to-another-rpi-need-help-please/93319/3 "2024-11-21T17:15:30Z")

</div>

Thanks dear friend 😄 Will try and report back

... but ... here comes the first difficulty:  
This is my directory structure:

```auto
pi 
 .local
 node_modules
 .node-red
    images
    lib
    node_modules
 .npm

```

Which of them is that ` .node-folder` ?

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [21 November 2024 22:15 UTC](https://discourse.nodered.org/t/transfer-nr-app-to-another-rpi-need-help-please/93319/4 "2024-11-21T22:15:12Z")

</div>

The the .node-red folder

```auto
pi 
 .local
 node_modules
 .node-red <--- This one
    images
    lib
    node_modules 
 .npm

```

---

<div class="post-metadata">

**Author:** ![gNeandr](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gneandr/32/73947_2.png) [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Post date:** [21 November 2024 22:43 UTC](https://discourse.nodered.org/t/transfer-nr-app-to-another-rpi-need-help-please/93319/5 "2024-11-21T22:43:05Z")

</div>

Thanks, it's what I expected ... and asked only to be sure 🙂

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [22 November 2024 16:17 UTC](https://discourse.nodered.org/t/transfer-nr-app-to-another-rpi-need-help-please/93319/6 "2024-11-22T16:17:45Z")

</div>

Always a good idea 😀

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2024 10:48 UTC](https://discourse.nodered.org/t/transfer-nr-app-to-another-rpi-need-help-please/93319/7 "2024-11-23T10:48:44Z")

</div>

> [@gNeandr](#):
>
> Which of them is that ` .node-folder`

Sorry, that was a typo, it should have read .node-red folder. I have corrected it in the original post.

---

<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:** [21 February 2025 10:49 UTC](https://discourse.nodered.org/t/transfer-nr-app-to-another-rpi-need-help-please/93319/8 "2025-02-21T10:49:00Z")

</div>

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