# FlowFuse: Move Projects to a different host?

**URL:** <https://discourse.nodered.org/t/flowfuse-move-projects-to-a-different-host/82741>\
**Category:** General\
**Tags:** flowforge, flowfuse\
**Created:** [9 November 2023 11:26 UTC](https://discourse.nodered.org/t/flowfuse-move-projects-to-a-different-host/82741 "2023-11-09T11:26:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [9 November 2023 11:26 UTC](https://discourse.nodered.org/t/flowfuse-move-projects-to-a-different-host/82741/1 "2023-11-09T11:26:54Z")

</div>

Let me explain...

We started using FlowFuse a while ago, and have ~7 active projects running on it.  
we have various core systems, that uses in-house API's offered by our flow designs.

Now, I have installed the latest FlowFuse application onto a new host, and in comparison to our currently running host - is miles ahead interms of updates made to FlowFuse.

So here is my question,  
Is there method to exporting a project, and physically moving it?

If not natively, is there a tacky way of doing it?

I need to keep the assigned ports, EV's and everything else.  
I will be updating our new host to take over the IP address of the old, so that isn't a concern

Old FF : v1.3.1  
New FF : v1.13.1

Thank you

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [9 November 2023 14:41 UTC](https://discourse.nodered.org/t/flowfuse-move-projects-to-a-different-host/82741/2 "2023-11-09T14:41:09Z")

</div>

Can you confirm which "flavour" you are using. Localfs, docker or Kubernetes. Your mention of assigned ports implies localfs.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [9 November 2023 15:31 UTC](https://discourse.nodered.org/t/flowfuse-move-projects-to-a-different-host/82741/3 "2023-11-09T15:31:33Z")

</div>

Hi @hardillb

it is indeed Localfs

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [10 November 2023 10:54 UTC](https://discourse.nodered.org/t/flowfuse-move-projects-to-a-different-host/82741/4 "2023-11-10T10:54:18Z")

</div>

Assuming there are no projects currently running on the "new" instance the the following should work.

- With both versions stopped
- Edit the new `etc/flowforge.yml` file to include the changes in the old `etc/flowforge.yml` (I suggest to not just copy it over without checking if there are new default values first, in such a big version jump)
- Back up the `var` directory from the old instance (e.g. `tar -zcf backup-ff.tgz var`)
- Copy this backup file `backup-ff.tgz` to the new instance and unpack it (`tar -zcf backup-ff.tgz`). The point here is to take the entire deep content of the old `var` and ensure it is unpacked over the new one. This should import the forge.db database and the content of `var/projects` and `var/stacks`
- Start the new instance

If all goes well, when you restart the new one it should also start up all the projects on the new machine.

(Apologies I thought I had hit send on this yesterday)

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [10 November 2023 11:00 UTC](https://discourse.nodered.org/t/flowfuse-move-projects-to-a-different-host/82741/5 "2023-11-10T11:00:01Z")

</div>

Hi @hardillb,

Thanks for the above, I'll give this a whirl next week, no way am I doing this on a Friday (especially when I am on-call for system outage support) 😬

---

<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 January 2024 11:00 UTC](https://discourse.nodered.org/t/flowfuse-move-projects-to-a-different-host/82741/6 "2024-01-09T11:00:07Z")

</div>

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