Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

home assistant backup 1 #6

Open
alexandrecuer opened this issue Oct 20, 2023 · 1 comment
Open

home assistant backup 1 #6

alexandrecuer opened this issue Oct 20, 2023 · 1 comment

Comments

@alexandrecuer
Copy link
Contributor

alexandrecuer commented Oct 20, 2023

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 ?

home-assistant/addons@6a17fbf

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

@alexandrecuer alexandrecuer changed the title is backup really robust as it is . is backup really robust as it is ? Oct 20, 2023
@alexandrecuer
Copy link
Contributor Author

used the HA backup
seems to be very simple to use

image

press Create backup to add a new complete backup :
image
You can download the tar to see what's inside :
image

image

image

@alexandrecuer alexandrecuer changed the title is backup really robust as it is ? home assistant backup 1 Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant