Hello,
So far I was using Gladys with devices integrated natively, and the backup offered by GladysPlus reassured me.
But I decided to move to another level of integration, communicating over MQTT with a small server developed in python that controls certain devices (like my shutters), and to also rely on node-red for other integrations (my Tuya devices, retrieving the EDF Tempo days, …). I’ve just spent two days on it, and it’s very powerful! Cool
But since all that is not ‹ purely › Gladys, I wonder what happens with the backup made by GladysPlus… Is everything included (but I don’t really believe it…) ? What should I back up manually to be able to restore if I ever need to?
However, your Python server is not backed up (which is logical :p), and Node-RED isn’t either.
To back up your Node-RED, see what the Node-RED project recommends for automatic backups (if you want to automate it); otherwise what @cce66 suggests also works manually
Note that for now this request only talks about launching Node-RED, not backing it up. I don’t even know if Node-RED offers an API to retrieve a backup (like Zigbee2mqtt does, for example).
While searching, he also has this solution… which I’m going to set up! https://www.npmjs.com/package/backup-docker
plus a copy to my NAS so I’ll be relaxed about backing up my Node-RED flows! @pierre-gilles it’s true that having Node-RED managed by Gladys would be really great since Node-RED can make up for Gladys’s shortcomings while we wait for the most common gaps to be handled by Gladys — specific particular needs are not economically viable to integrate, but Node-RED lets you handle them and there are so many examples on the web that it helps!
For me the Gladys (management of common cases) + Node-RED (management of particular cases) pair is ideal because of the simplicity of implementing common cases via Gladys, and for particular needs, well, you just have to rack your brains and through the community and the web you can find them!
I’m reposting my comment here, but regarding Node-RED, I wouldn’t recommend using this kind of tool to back up Node-RED — it’s the best way to end up with corrupted backups, or worse, to break your production installation.
By searching on Google, I see there are ways to automate backing up Node-RED directly from Node-RED
Otherwise, if you want to take a « folder backup » approach, I’d rather recommend making a script:
That stops Node-RED
Makes a backup of the Node-RED folder (there are great tools like rclone for that)