# Moving the flows.json file or settings.json

**URL:** <https://discourse.nodered.org/t/moving-the-flows-json-file-or-settings-json/86207>\
**Category:** General\
**Tags:** docker\
**Created:** [6 March 2024 20:20 UTC](https://discourse.nodered.org/t/moving-the-flows-json-file-or-settings-json/86207 "2024-03-06T20:20:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rFond](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rfond/32/84771_2.png) [@rFond](https://discourse.nodered.org/u/rFond)\
**Post date:** [6 March 2024 20:20 UTC](https://discourse.nodered.org/t/moving-the-flows-json-file-or-settings-json/86207/1 "2024-03-06T20:20:06Z")

</div>

Hello everyone,

I would like to separate the flows.js file from the settings.js file into a folder, for example /data/save/flows.json or /data/save/settings.json. Is it possible?

The goal is to back up the "save" folder using a bind mount instead of a volume in Docker

Thank you for your help.

---

<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:** [7 March 2024 09:46 UTC](https://discourse.nodered.org/t/moving-the-flows-json-file-or-settings-json/86207/2 "2024-03-07T09:46:00Z")

</div>

Run `node-red` --help and it will give you a number of options, such as where to get the settings file from.  
I don't use docker so don't know how to specify the command line options though.

---

<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:** [7 March 2024 10:38 UTC](https://discourse.nodered.org/t/moving-the-flows-json-file-or-settings-json/86207/3 "2024-03-07T10:38:10Z")

</div>

See the Startup section under - [Running under Docker : Node-RED](https://nodered.org/docs/getting-started/docker) `-e FLOWS=` to set flows...

---

<div class="post-metadata">

**Author:** ![rFond](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rfond/32/84771_2.png) [@rFond](https://discourse.nodered.org/u/rFond)\
**Post date:** [11 March 2024 13:51 UTC](https://discourse.nodered.org/t/moving-the-flows-json-file-or-settings-json/86207/4 "2024-03-11T13:51:57Z")

</div>

Good morning,

In fact everything works with the FLOW environment variable, it doesn't work if I change it in settings.js I don't understand why unfortunately.

Thanks for your help

---

<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:** [9 June 2024 13:52 UTC](https://discourse.nodered.org/t/moving-the-flows-json-file-or-settings-json/86207/5 "2024-06-09T13:52:18Z")

</div>

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