i want to migrate my Zammad-System from an Ubuntu 20.4 Package installation to a docker-container installation, with all settings, users and tickets. Is there any way to do it? I want to use the official zammad/zammad:latest container.
As the documentation states: Don’t do this.
Using the latest tag is a bad behavior and should be avoided. You may want to use specific version tags which is the better approach.
Sure have all attachments in the database (which is the default) and export the database, import to the docker container.
Technically it also can life in the storage, however, default docker compose installations of Zammad do store everything in their database. This is also due to the fact of how containers works, so if you do leave that path ensure that /opt/zammad/storage is persistent and thus not lost upon a container restart.
I also didn’t verify if the backup script does actually backup the required storage path so you may wanna ensure that.