Copy a raspberry-pi Node-RED including everything, tabs, node, setup, hidden files to another

I have a raspberry-pi B3 on a test-bed. I want to copy everything to another Raspi. Even the hidden stuff. My jason node copy was not enough. I guess I'm miss a whole lot.

I love Node-RED. What a great development platform.

Assuming you installed node red using the bash <(curl script then, after installing node-red, copy across from your original system the whole .node-red folder except the node_modules folder. Then cd into .node-red and run
npm install
That will install any extra nodes you need. Then restart node red

The (test) "from" Raspberry pi versions are: npm: 5.8.0; node: 10.24.0
The (production) "to" Raspberry Pi versions are: npm: 10.7.0; node: 18.20.0
curl was not used at all as node-red came installed with the OS upgrade.
test-os: buster V10
Production-os: bullseye V11
What will break going from test to production?

Don't use the node red that comes with the OS, install it using the recommended script. That way you can be confident of getting all the latest fixes and features. The packaged version of node-red with bullseye is 2.2.3, node-red current release is 4.0.2. You don't need to remove the os version, the script will replace it with the latest.

Before you copy the .node-red folder from the old system make sure all the installed nodes are the latest available in Manage Palette.

Probably nothing will break, not seriously anyway, but don't destroy your old system until the new one is working, then you can come back here and ask if there are any problems and you still have your working test system.

Colin-Thanks for your help. With all the new features I decided to start a fresh node-red and import the flows as needed. So, with version 4.0.2 I noticed a new ui_table node and decided to use it since my project is mariadb based. After inserting into my tab I clicked to open properties and found it empty. Should it be?

Please start a new thread for your new question as it is not related to the original subject.
I haven't used that node but I suggest you start by reading the help text.

will do. Thanks for your help.

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