# Recovering flows from console?

**URL:** <https://discourse.nodered.org/t/recovering-flows-from-console/39276>\
**Category:** General\
**Created:** [17 January 2021 16:45 UTC](https://discourse.nodered.org/t/recovering-flows-from-console/39276 "2021-01-17T16:45:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aidan](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@aidan](https://discourse.nodered.org/u/aidan)\
**Post date:** [17 January 2021 16:45 UTC](https://discourse.nodered.org/t/recovering-flows-from-console/39276/1 "2021-01-17T16:45:13Z")

</div>

I have created an inadvertent loop running in node-red that is maxing out the cpu well, yes it's a pi one..

SSH still working, just so disabled node-red

Can I recover the flows.json file, and is it possible to restart node-red with flows disabled.?

And I do have a backup..

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [17 January 2021 16:53 UTC](https://discourse.nodered.org/t/recovering-flows-from-console/39276/2 "2021-01-17T16:53:46Z")

</div>

Use node-red-stop to ensure it’s stopped. Then from the command line run node-red —safe to start but not run. Then you should be able to edit and fix your flow before deploying again to restart.

---

<div class="post-metadata">

**Author:** ![aidan](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@aidan](https://discourse.nodered.org/u/aidan)\
**Post date:** [17 January 2021 17:08 UTC](https://discourse.nodered.org/t/recovering-flows-from-console/39276/3 "2021-01-17T17:08:37Z")

</div>

Really helpful reply much appreciated, I did have a Google about first,

Thanks Aidan

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [17 January 2021 17:32 UTC](https://discourse.nodered.org/t/recovering-flows-from-console/39276/4 "2021-01-17T17:32:42Z")

</div>

PS - the flows file should be in your ~/.node-red directory - along with the credentials file ...creds.json and one level of backup - as hidden files .. use `ls -a` to see them

---

<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:** [18 March 2021 17:33 UTC](https://discourse.nodered.org/t/recovering-flows-from-console/39276/5 "2021-03-18T17:33:11Z")

</div>

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