# Backup and Restore Dashboard 2.0 Chart Data

**URL:** <https://discourse.nodered.org/t/backup-and-restore-dashboard-2-0-chart-data/97848>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [28 June 2025 02:25 UTC](https://discourse.nodered.org/t/backup-and-restore-dashboard-2-0-chart-data/97848 "2025-06-28T02:25:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mecworks](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mecworks/32/101359_2.png) [@Mecworks](https://discourse.nodered.org/u/Mecworks)\
**Post date:** [28 June 2025 02:25 UTC](https://discourse.nodered.org/t/backup-and-restore-dashboard-2-0-chart-data/97848/1 "2025-06-28T02:25:04Z")

</div>

I have been working on a backup and restore of chart data for dashboard v1 and hoping to port it to dashboard 2.0 only to find out that Dashboard 2.0 only outputs the single value that is sent into it rather that the entire chart data.

This is really frustrating. I was hoping to do what others have done and write the chart data out periodically and reload it on a restart.

How am I supposed accomplish something like this in Dashboard 2.0?

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [28 June 2025 07:49 UTC](https://discourse.nodered.org/t/backup-and-restore-dashboard-2-0-chart-data/97848/2 "2025-06-28T07:49:59Z")

</div>

> [@Storing Chart Data from a D2 Dashboard](https://discourse.nodered.org/t/storing-chart-data-from-a-d2-dashboard/90832/11):
>
> Here is an example of how I would save data to context and recover when server restarted. You will need to set your context store to persistent [Working with context : Node-RED](https://nodered.org/docs/user-guide/context#context-stores) I have limited the stored data to 1000 readings, I have edited all nodes so look at them all. Ì have included test data, this is how you should share data, attach it to your flow as it is helpful for others to test, as they do not have access to your mqtt nodes. Attaching files is not best practice when sharing export…

pls check here..

---

<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:** [29 June 2025 11:14 UTC](https://discourse.nodered.org/t/backup-and-restore-dashboard-2-0-chart-data/97848/3 "2025-06-29T11:14:20Z")

</div>

Hopefully the above node is sufficient. But in case it isn't, you could always borrow the `uib-cache` node from UIBUILDER since it will certainly let you do whatever you want with the data.
