NODE-RED How to undeploy

2,753 views
Skip to first unread message

sudhakar bhooramoorthy

unread,
Sep 28, 2015, 8:59:50 PM9/28/15
to Node-RED
When I am doing experiment with Node-RED, i create some flows to make it work and then use them on the main project, how to undeploy them without deleting the work performed, may be required for later experiments;

Thanks and regards,
B. Sudhakar

Julian Knight

unread,
Sep 29, 2015, 1:41:18 AM9/29/15
to Node-RED
If you have only deployed once, you can stop NR then look for the flows file. A backup is created on each deploy so you can delete or rename the main flow file then rename the backup. Restart NR and you will have the previous flow back.

If you want/need more versions, you could set a watch on the backup file and copy it each time it changes (leave a couple of seconds for the write to finish).

Nicholas O'Leary

unread,
Sep 29, 2015, 2:07:58 AM9/29/15
to Node-RED

Sudhakar, if you select the nodes you want to save, then use the "export"->"library" option in the sidebar menu. That saves them to library separate to your flows file. Then delete then from your workspace and deploy. When you want to pull the flow back into your workspace you can use the "import"->" library..." option.

Nick


--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

sudhakar bhooramoorthy

unread,
Sep 29, 2015, 2:53:54 AM9/29/15
to Node-RED
Got it;  Thanks;
Reply all
Reply to author
Forward
0 new messages