Migration from Ubuntu Package to Docker-Container


  • Used Zammad version: 5.2.x
  • Used Zammad installation type: package
  • Operating system: Ubuntu Server 20.4
  • Browser + version: MS Edge Version 105.0.1343.50

Hi Community,

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.

Thanks to all.

1 Like

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.

Same plan i have, from CentOS Package installation to docker-container

so to make a migration from debian to docker-container.

it is absolutely necessary to have all the attachments in the database ? if the storage mechanism is in filesystem it can’t work ?

In my side storage was set to database. I did not tested others ( system file )

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.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.