at first the config was located in the container. this makes it hard to edit (since there is only vi availible)
and almost impossible to backup.
so i moved the /config directory to a mount point on the host machine.
During this change the docker container was changed so it decided to pull the latest version.
When i started the container it showed me the welcome wizzard.
when i completed the wizzard there were some parts restored (the stuff i manualy added to config.yaml) but other parts where lost. (the dashboards, other users, gui added parts)
so clearly the config directory isn’t the full config.
what other folders do i need to place outside the container?
hey,
Thanks for the response.
i use portainer since the only reason i use docker is homeassistant.
so i don’t have an commandline.
i have all commandline options availible so if i need to query something with a docker command that would be fine.
but from your commandline i see that you do the same.
redirect the /config folder to a folder on the local host.
the part with the time isn’t in my config. but i don’t have issue’s with the time. so guess that will be ok.
also the devices are not needed (yet).
network is also changed to macvlan
i don’t understand “cap-add” is it relevant for me?
I’m guessing either a permissions issue that’s preventing the docker from accessing some files within the mapped config folder on the host, or the .storage folder was not copied over. The .storage folder contains the system configuration as well as configurations of integrations setup from the front end.
hey, that was the solution.
there was no hidden folder in the backup.
i checked the .storage folder and that contain all the “lost” parts.
changed the backup to include hidden files