I have a NR setup on a RPi4 running Raspbian. The flows have been backed up at some point and are probably ok, but I was wondering if I can backup the .node-red path in my home directory and then put it in a fresh RPi image in case I'm missing anything left off the last backup. I don't know that the SD is still usable so I'm wondering if that would help if I'm able to save the files or if it's a waste of time.
Probably the easiest way is if you have a USB card reader.
Install Node-red on the new SD card.
Mount the old SD card and copy the required files over (everything in ~/.node-red
except any directories node_modules*
)
cd .node-red
npm install
Restart Node-red
ok I'll give this a try. Thanks!