Backup of userdata sufficient to restore openHAB installation?

Good evening!

I have installed openHAB on our Synology NAS in a Docker container, based on the instructions in the openHAB installation documentation. Those mount three directories to be available in the Synology’s file system: userdata, conf and addons.

Now, I’d like to include openHAB in my backups. Is it sufficient to backup those three directories, or is there anything else inside the docker container that needs to be included to allow a full restore of an openHAB installation?

Everything configuration wise is in those three folders.

You’ll want to capture the run command used to start up the container in the first place. Some configuration stuff can be set in the environment variables passed to the container.

1 Like