Closed alexandrecuer closed 1 week ago
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....
/data/emoncms
But how to backup if the container is running ? see https://github.com/home-assistant/addons/tree/master/mariadb maybe this is a clue ?
https://github.com/home-assistant/addons/commit/6a17fbf8b565ae9ee11a97de723f93c5b42a3d6e
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 service_name
s6-rc -d change service_name
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
s6-rc -u change mariadb-lock
used the HA backup seems to be very simple to use
press Create backup to add a new complete backup : You can download the tar to see what's inside :
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 ?
https://github.com/home-assistant/addons/commit/6a17fbf8b565ae9ee11a97de723f93c5b42a3d6e
more details on
s6-rc -u change service_name
ands6-rc -d change service_name
on https://skarnet.org/software/s6-rc/faq.htmls6-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