Hi,
The newest Hass.io-image is running on my Raspberry Pi 4B.
I am planning to install pi hole docjer-container using the AddOn.
I backed up some files from my old pi hole installation running on another Raspberry Pi from /etc/pihole currently, because importing via the transporter function never worked.
Is there a way to copy those files from /etc/pihole from my old installation into the pi hole docker container ?
And, the newest version of pi hole is 4.31. Does the pi hole docker-container update itself without losing its data and settings ?
Thanks in advance…
You don’t put data INTO a container. Data is bind mounted on the host, and all data is stored there. I guess it depends on the files you saved, and what you are looking to restore.
Docker with bind mounts doesn’t remove the data and settings. If it blew away the settings or data nobody would ever upgrade and docker would be pretty useless.
At the moment pi hole is running under Raspbian. Sometimes I have to login into Raspbian using SSH for executing commands like “pihole -r” after changes to my IP-adresses.
So, how is it possible to run commands like this if pi hole is running in docker on hass.io ?