Recovering Node-RED flows

Recovering accidently changed or deleted Node-RED flows.

Problem

Did you accidently delete a Node-RED flow?

Solution

This guides you step by step how to recover the old backup.

  1. Go into the Node-RED pod by using Lens
  2. Execute cp /data/.flows.json.backup /data/flows.json
  3. Thats it, you now restored the backup