# Flow variable storage

**URL:** <https://discourse.nodered.org/t/flow-variable-storage/50854>\
**Category:** Dashboard\
**Created:** [10 September 2021 10:59 UTC](https://discourse.nodered.org/t/flow-variable-storage/50854 "2021-09-10T10:59:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![achrefnajjar](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@achrefnajjar](https://discourse.nodered.org/u/achrefnajjar)\
**Post date:** [10 September 2021 10:59 UTC](https://discourse.nodered.org/t/flow-variable-storage/50854/1 "2021-09-10T10:59:40Z")

</div>

hello world.  
could the flow store the variables even if the node red restarted ?  
if not how would i store variables in node red and use them again.  
in my case i'm using a numeric input and when i assign number to it i wanna see it the next time i open node red.  
thanks.

---

<div class="post-metadata">

**Author:** ![kuema](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kuema/32/6542_2.png) [@kuema](https://discourse.nodered.org/u/kuema)\
**Post date:** [10 September 2021 11:04 UTC](https://discourse.nodered.org/t/flow-variable-storage/50854/2 "2021-09-10T11:04:07Z")

</div>

Yes, you can. You have to use the file-based storage instead of the in-memory context.

Here's how you configure it:

[https://nodered.org/docs/user-guide/context#saving-context-data-to-the-file-system](https://nodered.org/docs/user-guide/context#saving-context-data-to-the-file-system)

---

<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:** [10 October 2021 11:05 UTC](https://discourse.nodered.org/t/flow-variable-storage/50854/3 "2021-10-10T11:05:01Z")

</div>

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