Can I safely copy a backup of flows.json?

My server that is hosting Home Assistant crashed. Two days later I finally have the server running again and most of the installed programs running again. Which includes Docker and Home Assistant (Supervised)…
I have Node-Red installed by Home Assistant.

My most recent snapshot was a week prior to the crash. I restored the snapshot and can work with that, but I would like to get the Node-Red flows that I worked on up to the crash. The good news is that I copied the whole /usr/ folder to a separate SSD just minutes before the crash.

So, can I simply copy the more recent flows.json file over the flows.json file from the snapshot restore?

You can also try just importiing it from inside node red.

That worked perfectly. Thanks

1 Like