home assistant backup 1
alexandrecuer opened this issue · comments
to make a backup, a simple way is to stop the container (or the addon), so you can backup the /data/emoncms
folder on the host with the tool you want....then you restart the container....
But how to backup if the container is running ?
see https://github.com/home-assistant/addons/tree/master/mariadb
maybe this is a clue ?
more details on s6-rc -u change service_name
and s6-rc -d change service_name
on https://skarnet.org/software/s6-rc/faq.html
s6-rc -u change mariadb-lock
runs a bundle service that actually launches these longrun services on the container :
https://github.com/home-assistant/addons/tree/master/mariadb/rootfs/etc/s6-overlay/s6-rc.d/mariadb-lock-core
https://github.com/home-assistant/addons/tree/master/mariadb/rootfs/etc/s6-overlay/s6-rc.d/mariadb-lock-post