# Backup and reset in educational context

**URL:** https://discourse.nodered.org/t/backup-and-reset-in-educational-context/75189
**Category:** General
**Created:** [14 February 2023 16:36 UTC](https://discourse.nodered.org/t/backup-and-reset-in-educational-context/75189 "2023-02-14T16:36:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![brendonhatcher](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@brendonhatcher](https://discourse.nodered.org/u/brendonhatcher)
#### Post date: [14 February 2023 16:36 UTC](https://discourse.nodered.org/t/backup-and-reset-in-educational-context/75189/1 "2023-02-14T16:36:52Z")

</div>

Hi.

I want to use Node-RED within a [Code Club](https://codeclub.org/) context to teach IoT etc.  
I have a number of activities with associated resources, including flows stored on each Raspberry Pi.  
Participants will update the flows during the activities, and may decide to export and overwrite my flows.

I need ways to do the following:

1. Update the flows on the Raspberry Pis from a repository - I may update a flow and want to push it out to all devices, or may want to reset participant changes back to the default when I start teaching a new group.
2. I would like participants to be able to export and save their custom projects, ideally in a shared cloud space, rather than on local.

What are my options?

Thanks  
Brendon

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [14 February 2023 17:08 UTC](https://discourse.nodered.org/t/backup-and-reset-in-educational-context/75189/2 "2023-02-14T17:08:27Z")

</div>

I will be interested to hear what responses you get as I tutor an after school club two afternoons a week.  
We have two towers of 6 Raspberry Pi-Zero-Ws that each class of 12 students use.  
At the moment we make extensive use of Node-RED's 'project' facility to keep each day's work separated.

> [@Raspberry Pi-Zero-W Mini-Tower](https://discourse.nodered.org/t/raspberry-pi-zero-w-mini-tower/20217):
>
> Just finished building a couple of mini-towers for my IoT Club. The idea is the towers can be kept in a cupboard at school and just brought out when I run the IoT Club. All I would need to do is plug the 6-port PSU into the mains and switch-on the Club's WiFi router. Should save a lot of time as previously I had to cobble together a number of Raspberry Pi(es),of various vintages, and then at the end of the session take the whole lot apart!!! [wifi\_1\_small] [wifi\_3\_small] [wifi\_2\_small] Tues…

---

<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: [14 February 2023 17:16 UTC](https://discourse.nodered.org/t/backup-and-reset-in-educational-context/75189/3 "2023-02-14T17:16:42Z")

</div>

- Projects have been mentioned by Dave already - not my favourite personally

- GitHub repo clone/pull is possible even without Projects though my view is that it is more bother than it is worth unless you cannot get SSH access easily to all of the devices.

- Simple backup/restore scripts would probably be my go-to. You almost certainly already have at least SSH if not SAMBA access to all devices and some way to mount cloud access. It is pretty easy to do, robust and easy enough to automate.

---

<div class="post-metadata">

### Author: ![brendonhatcher](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@brendonhatcher](https://discourse.nodered.org/u/brendonhatcher)
#### Post date: [13 March 2023 15:26 UTC](https://discourse.nodered.org/t/backup-and-reset-in-educational-context/75189/4 "2023-03-13T15:26:32Z")

</div>

I realised that Node-RED is not the only data set that I needed to backup, as I am also running InfluxDB and Grafana (and more to come).

I therefore decided that a full SD card image backup is the most scalable, comprehensive way to backup everything. I am using [https://raspibackup.linux-tips-and-tricks.de/en/home/](https://raspibackup.linux-tips-and-tricks.de/en/home/)

---

<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: [12 May 2023 15:32 UTC](https://discourse.nodered.org/t/backup-and-reset-in-educational-context/75189/5 "2023-05-12T15:32:41Z")

</div>

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