# Context store 'localfilesystem' not saved to file system

**URL:** <https://discourse.nodered.org/t/context-store-localfilesystem-not-saved-to-file-system/74839>\
**Category:** General\
**Created:** [7 February 2023 12:04 UTC](https://discourse.nodered.org/t/context-store-localfilesystem-not-saved-to-file-system/74839 "2023-02-07T12:04:27Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [7 February 2023 22:53 UTC](https://discourse.nodered.org/t/context-store-localfilesystem-not-saved-to-file-system/74839/5 "2023-02-07T22:53:09Z")

</div>

Could you export your flow and attach it to a reply so I could take a look?

Or better yet, could you create a small flow that demonstrates the problem and export and share that one. If you can’t then send the current flow.

Also might I suggest you change your settings.js file to this

```auto
     	contextStorage: {
			default : { module: "localfilesystem" },
 			memory : { module: "memory" }
     	},

```

then you only need use

```auto
var sensorDevices = global.get("sensorDevices");
global.set("sensorDevices", sensorDevices);

```

unless you want to temporally save something in memory.

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/context-store-localfilesystem-not-saved-to-file-system/74839)._
