# UIBuilder backup and git

**URL:** <https://discourse.nodered.org/t/uibuilder-backup-and-git/101289>\
**Category:** General\
**Tags:** uibuilder\
**Created:** [16 June 2026 09:49 UTC](https://discourse.nodered.org/t/uibuilder-backup-and-git/101289 "2026-06-16T09:49:30Z")\
**Posts on this page:** 6\
**Page:** 1

<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:** [16 June 2026 09:49 UTC](https://discourse.nodered.org/t/uibuilder-backup-and-git/101289/1 "2026-06-16T09:49:30Z")

</div>

I use git with my node red instances for history and backup. For non-uibuilder instances I commit everything to git except node\_modules, context, .config.users.json and .backup files generated by node-red. If I have to restore the system I can then clone the repository, run `npm install` to install any additional nodes used, and start node-red.

Now I am proposing to use uibuilder, in particular markweb. What in the uibuilder folder should I commit to the repository and what will be automatically regenerated when I run node-red for the first time?

---

<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:** [16 June 2026 11:59 UTC](https://discourse.nodered.org/t/uibuilder-backup-and-git/101289/2 "2026-06-16T11:59:20Z")

</div>

Great question Colin.

When installing the UIBUILDER package and restarting Node-RED, you will get a `uibRoot` folder which, by default will be `<userDir>/uibuilder/` (e.g. `~/.node-red/uibuilder/`). If you are only using Markweb, then it is not critical that this folder is backed-up as it would get recreated anyway. However, it is probably best to back it up anyway in case you use other UIBUILDER features in the future.

The one thing to remember about the `uibRoot` folder is that it is another npm root. Which means that it can contain another `node_modules` folder that you should exclude from backups (and would require another `npm install` in that folder to restore things). That folder would contain any optional front-end libraries that you might install (which makes it easy to use them in your uibuilder and Markweb pages). For Markweb alone, there shouldn't be anything in there.

The other folder(s) of note will be your Markweb root and, optionally config folders. These can be anywhere reachable by Node-RED. So if you put them inside your userDir folder, they should already be in your backups. If not, then you should either add them or have a separate backup for them.

As long as you've backed up and restored everything and run the appropriate `npm install` commands, your restored flows should be quite happy and simply pick up where they left off.

---

<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:** [16 June 2026 13:51 UTC](https://discourse.nodered.org/t/uibuilder-backup-and-git/101289/3 "2026-06-16T13:51:51Z")

</div>

Great, thanks Julian.

---

<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:** [16 June 2026 20:46 UTC](https://discourse.nodered.org/t/uibuilder-backup-and-git/101289/4 "2026-06-16T20:46:49Z")

</div>

I think I need to exclude uibuilder/config/telemetry.json from git. It seems to be updated every time the site is accessed.

---

<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:** [17 June 2026 12:23 UTC](https://discourse.nodered.org/t/uibuilder-backup-and-git/101289/5 "2026-06-17T12:23:05Z")

</div>

Good point, I forgot about that new file. That file is not critical. It will be re-created, albeit with a new UUID, if lost.

---

<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:** [1 July 2026 12:23 UTC](https://discourse.nodered.org/t/uibuilder-backup-and-git/101289/6 "2026-07-01T12:23:36Z")

</div>

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