# Recover lost flows

**URL:** <https://discourse.nodered.org/t/recover-lost-flows/18829>\
**Category:** General\
**Created:** [5 December 2019 17:32 UTC](https://discourse.nodered.org/t/recover-lost-flows/18829 "2019-12-05T17:32:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![insanoff](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/insanoff/32/14291_2.png) [@insanoff](https://discourse.nodered.org/u/insanoff)\
**Post date:** [5 December 2019 17:32 UTC](https://discourse.nodered.org/t/recover-lost-flows/18829/1 "2019-12-05T17:32:47Z")

</div>

Hi Folks,  
I am running Node-Red in Raspberry Docker Container.  
I have created a parallel flow copying the existing one and made a small change. After that, I couldn't deploy it anymore and returned an error `Error saving flows: ENOSPC: no space left on device, write nodered`. I decided to restart the Raspberry and all nodes are disappeared.  
I went to the `node-red` directory inside the container, but no flow files there, only `node_modules` folder and `package-lock.json`, `package.json` files.

Anyone knows if I have a chance to retrieve it?

Note: SD card is working fine and more than 20GB space left.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [5 December 2019 19:17 UTC](https://discourse.nodered.org/t/recover-lost-flows/18829/2 "2019-12-05T19:17:43Z")

</div>

You will need to understand how the container is configured since it will be the virtual filing system that is full I would guess.

Personally, I don't use Docker for things like that since it creates more overheads than it saves for anything that I'm doing.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 December 2019 20:29 UTC](https://discourse.nodered.org/t/recover-lost-flows/18829/3 "2019-12-05T20:29:25Z")

</div>

> [@insanoff](#):
>
> no flow files there, only `node_modules` folder and `package-lock.json` , `package.json` files.

I also don't know about Docker, but are you sure you are looking in the right folder? Maybe search the docker file system for \*.json.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [5 December 2019 22:06 UTC](https://discourse.nodered.org/t/recover-lost-flows/18829/4 "2019-12-05T22:06:17Z")

</div>

Flows are located in `/data`  
Free tip: don't use docker on a raspberry while you can easily run it natively without limitations.

---

<div class="post-metadata">

**Author:** ![insanoff](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/insanoff/32/14291_2.png) [@insanoff](https://discourse.nodered.org/u/insanoff)\
**Post date:** [6 December 2019 08:32 UTC](https://discourse.nodered.org/t/recover-lost-flows/18829/5 "2019-12-06T08:32:32Z")

</div>

Yes, you have right. I found the data folder, but unfortunately there is only one blank flow.  
I started to learn how Docker works. But I was also a bit skeptic about using Docker with Raspberry, cat least for my purpose.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [6 December 2019 08:45 UTC](https://discourse.nodered.org/t/recover-lost-flows/18829/6 "2019-12-06T08:45:03Z")

</div>

Docker on raspberry is fine, node-red in docker on raspberry might give you some hurdles in the future when trying to get certain things working.

To install it is a simple [as one command](https://nodered.org/docs/getting-started/raspberrypi).
