# Help, how can I modify a flow that is causing a problem as soon as it loads

**URL:** <https://discourse.nodered.org/t/help-how-can-i-modify-a-flow-that-is-causing-a-problem-as-soon-as-it-loads/94589>\
**Category:** General\
**Created:** [13 January 2025 18:53 UTC](https://discourse.nodered.org/t/help-how-can-i-modify-a-flow-that-is-causing-a-problem-as-soon-as-it-loads/94589 "2025-01-13T18:53:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![invictagunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/invictagunner/32/98006_2.png) [@invictagunner](https://discourse.nodered.org/u/invictagunner)\
**Post date:** [13 January 2025 18:53 UTC](https://discourse.nodered.org/t/help-how-can-i-modify-a-flow-that-is-causing-a-problem-as-soon-as-it-loads/94589/1 "2025-01-13T18:53:58Z")

</div>

I have been developing a complex flow over a period of time and have at various stages made exports of the flow. Two questions:-

1. how to I restore to an earlier export of the flow
2. the gold prize, how can I load my latest export of the flow so that I can modify it before it runs an inject node that causes a loop which effectively crashes the system. I did not notice the possibility when testing. It only came to light when the flow was restarted when NR was restarted. Thank you very much if you can help.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [13 January 2025 19:07 UTC](https://discourse.nodered.org/t/help-how-can-i-modify-a-flow-that-is-causing-a-problem-as-soon-as-it-loads/94589/2 "2025-01-13T19:07:45Z")

</div>

You can stop node-red and start node-red in safe mode. [Running Node-RED locally : Node-RED](https://nodered.org/docs/getting-started/local#command-line-usage)

To restore an export you can delete the one you have and import the exported flow.

---

<div class="post-metadata">

**Author:** ![invictagunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/invictagunner/32/98006_2.png) [@invictagunner](https://discourse.nodered.org/u/invictagunner)\
**Post date:** [13 January 2025 20:24 UTC](https://discourse.nodered.org/t/help-how-can-i-modify-a-flow-that-is-causing-a-problem-as-soon-as-it-loads/94589/3 "2025-01-13T20:24:22Z")

</div>

Safe Mode is the key - thank you so much

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 January 2025 20:25 UTC](https://discourse.nodered.org/t/help-how-can-i-modify-a-flow-that-is-causing-a-problem-as-soon-as-it-loads/94589/4 "2025-01-27T20:25:18Z")

</div>

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