Moving Zammad to a new server or Docker without losing the helpdesk history
Moving a package-installed Zammad to a new host or into a Docker Compose stack is a full backup and restore onto a matching Zammad version, followed by an Elasticsearch index rebuild. The effort depends mainly on how much ticket history, how many attachments and how many integrations the helpdesk carries, because those determine the size of the backup, the time the restore takes and the amount of verification afterwards. Confirm the exact backup and restore steps for your package and Docker layouts in the Zammad backup and restore documentation for package installs before you schedule a cutover.
The backup scripts have hard limits that shape the plan. They take full backups only, they cannot restore partially, they cannot switch database systems and they cannot restore onto an older Zammad version. That means you cannot pull a single group of tickets across, you cannot move from a package install to a different PostgreSQL setup as part of the same step, and the target must run the same Zammad release as the source. Write down the exact version on the old host, install that version on the new one first, and treat a mismatch as a blocker rather than a warning to fix mid-restore.
For the Docker path, the Zammad Docker Compose backup and restore guide documents restoring a package or Docker backup into a Compose stack. The restore always uses the latest backup by file timestamp, so the copy you restore must be the one you intend, and the Elasticsearch index must be rebuilt afterwards. Plan a test restore on a copy, compare ticket counts and attachment access with the source, and keep the original host available until agents confirm the history is intact.
What carries over in a package-to-Docker or server move
This table compares each part of a package-install Zammad with where it lives after a restore into Docker Compose or a new server. Read the middle column as what the full restore brings across and the right column as what you must set, check or rebuild yourself. The main takeaway is that the database and attachments come across in the backup, while the search index, hostnames and external connections need deliberate work after restore.
| Component | What the full restore brings across | What you must reconfigure or rebuild |
|---|---|---|
| Application data in PostgreSQL | Tickets, articles, users and settings from the backup, provided the target uses the same database system | Confirm the database connection in the new stack; the backup cannot switch database systems |
| File storage and attachments | Stored files are included in the full backup, but purge existing file storage in the target before restoring | Purge file storage first, then verify attachments open after restore |
| Elasticsearch index | Not carried over as a usable index | Rebuild the search index after restore; search results are incomplete until you do |
| Redis for websockets | Not a data source to migrate; the new stack needs its own Redis 7 or newer | Point the new stack at Redis and confirm realtime updates work for agents |
| Fully qualified domain name | Stored settings still reference the source hostname | Update the FQDN in system settings and check links in notification emails |
| Reverse proxy (Nginx or Apache) | Nothing; proxy configuration belongs to the environment | Recreate the proxy rules, TLS and websocket forwarding for the new host |
| Integrations and third-party login | Configuration stored in the database may come across, but callback URLs and secrets are tied to the old host | Re-register redirect URLs with each identity provider and retest sign-in |
| Email channels and external services | Channel records may restore, but mailbox credentials and outbound SMTP must be checked | Confirm inbound and outbound mail paths, then test with a sample ticket |
| Restore version | Backups do not restore onto an older Zammad version | Match or move forward on the Zammad version before restoring |
Documented backup and restore paths for Zammad
Zammad's Docker Compose restore accepts backups taken from both package and Docker installations, so a move from a package install to a Docker Compose stack is a documented path. The restore is run against a fresh Compose stack that matches the Zammad version of the backup, and the backup archive is placed where the restore procedure expects it. The procedure is documented in the Zammad backup and restore guide for Docker, which should be read in full before any command is run.
- Full backup only: the backup covers the whole instance, so plan for the complete archive rather than a subset of data.
- Latest by timestamp: the restore takes the most recent backup by file timestamp, so an older or copied archive with a newer timestamp can be selected by mistake.
- Elasticsearch rebuild: the search index must be rebuilt after the restore, so search results are incomplete until that step finishes.
- Storage and secrets: confirm that attachment storage, the secrets file and the Compose configuration on the new host match what the backup expects.
Before starting, confirm which backup file the restore will pick up and that it is the one you intended.
A package backup can be restored onto a package installation as well, which is the route for a rebuilt host that keeps the same installation method. The restore is handled by the backup and restore scripts that ship with the package, and the target must run the same Zammad version the backup was created from. The procedure is described in the Zammad backup and restore guide for packages.
- Same version required: the scripts cannot restore to an older Zammad version, so the target package must be at the backup's version or the restore will not succeed.
- Database system stays the same: the scripts cannot switch database systems, so the target must keep the PostgreSQL setup the backup came from.
- Full restore only: partial restores are not supported, so you cannot pick individual tickets, groups or attachments out of the archive.
- Latest backup selection: confirm which archive the script picks up when several exist in the backup location.
If the target host is a new server rather than a rebuild, verify the package version and database version on both sides before copying any data.
Several changes cannot be made through the documented restore tooling, and attempting them is where most relocation projects fail. The backup scripts take full backups only, cannot restore partially, cannot switch database systems and cannot restore onto an older Zammad version. Each limit should be treated as a planning constraint, because a failed restore usually surfaces only after the old system has been decommissioned or its data has been changed.
- No partial restore: you cannot restore only a subset of tickets, users or attachments from a full backup.
- No database change: moving from one database system to another is outside the backup tooling, so the target database must match.
- No downgrade: a backup taken on a newer Zammad version cannot be restored onto an older one, which rules out restoring to a previous release to undo an upgrade.
- Upgrade order matters: if the target version is older than the source, the upgrade must happen on the source first, under a controlled plan.
Confirm the source and target Zammad versions and database systems in writing before the cutover date is set.
Both documented restore paths select the latest backup by file timestamp, and the selection is made without asking for confirmation. A backup directory that holds several archives, including test restores, manual copies or archives transferred from another host, can therefore cause the wrong file to be restored. Because file timestamps can change when files are copied, moved or synchronized between hosts, the timestamp on the restored file is not always the time the backup was created.
- List the directory first: check every archive present in the backup location before running the restore.
- Check timestamps on the new host: confirm that file times survived the copy and reflect the original backup creation.
- Remove stale archives: move test or superseded backups out of the restore location so only the intended file is eligible.
- Record the chosen file: note the file name and checksum in the cutover record so the restore can be audited.
Verify the restored instance against the expected ticket count and latest ticket date before routing any users to it.
How to plan the move: inventory, test restore, cutover and decommission
This sequence moves a self-hosted Zammad to a new server or a Docker Compose stack with a verified restore, a planned cutover and a source system kept available until the target is proven.
Inventory the current installation
The owner of the Zammad instance and the administrator who runs the server record the exact Zammad version, the installation type (package or Docker), the PostgreSQL and Redis versions, and the attachment storage location. They also list every integration (email accounts, LDAP or SSO providers, telephony, monitoring and webhooks), the reverse proxy configuration, the hostname and the TLS certificates. Done when this inventory is written down and reviewed, because each item becomes a check on the target later.
Build the target on the same Zammad version
The platform team builds the new server or Docker Compose stack using the same Zammad version as the source. Restoring onto an older Zammad version is not supported, so the target must match the source release exactly before any data moves. Confirm the version against the Zammad releases page and the software requirements before building, since the database and Redis requirements apply to the target too. Done when the empty target starts, reports the matching version and passes a basic health check.
Take a full backup of the source
The administrator runs the Zammad backup from the source using the tooling for the source install type. The backup scripts only take full backups, so there is no option to capture a subset of tickets or attachments. Copy the backup file off the source host and record its timestamp, because the Docker restore uses the latest backup by file timestamp. Done when the backup file is stored in a location the target can reach and its checksum or size is recorded.
Purge file storage on the target
Before restoring, the administrator clears the attachment file storage on the target so that no files from a test run or earlier attempt remain. This step is done on the target only and never on the source, which must stay intact until decommission. Confirm the purge against the restore instructions for your install type and check that the storage directory is empty. Done when the target storage is empty and the restore is ready to start.
Restore and rebuild the search index
The administrator restores the full backup into the target, using the package or Docker Compose restore procedure that matches the target. Once the restore finishes, the Elasticsearch index is rebuilt, because search results and reporting depend on it after a restore. Done when the application starts, ticket counts and a sample of attachments match the source inventory, and search returns expected results after the index rebuild.
Verify logins, email and integrations
Testers log in as an agent, an administrator and a customer using the methods listed in the inventory, including any SSO provider. They send and receive test email through each configured channel, and they confirm each integration (telephony, monitoring, webhooks and directory sync) reaches its external system. Any mismatch goes back to the platform team before cutover. Done when a written test log shows each login path, channel and integration passing on the target.
Cut over DNS and the reverse proxy
During a planned window, the team takes the source out of service for writes, runs a final full backup and restore into the target, then points DNS and the reverse proxy at the target. Because there is no differential run, the window must cover the full backup, transfer and restore from start to finish, so the team should confirm the window length with a test restore first. Done when the public hostname resolves to the target, the certificate is valid, and agents can work tickets on the new system.
Decommission the source after retention
The source system stays powered off but intact for a retention period set by your records and continuity policy, so that the team can recover if a problem appears after cutover. Only after that period does the team remove the source, its attachments and its backup copies, following your data retention rules. Done when a sign-off records the retention end date, the removal of the source and the disposal of copies, and the inventory is archived with the change record.
Why restoring onto an older Zammad version fails
The package backup scripts cannot restore a backup onto an older Zammad version, so the target instance must run the same release that produced the backup. This is a hard limit of the tooling, not a setting you can work around. Treat the version match as a precondition for the whole relocation, because a mismatch cannot be fixed by a later step in the project. Confirm the exact compatibility rule for your source and target paths against the current backup and restore documentation before you commit to a target version or a date.
Check both sides before any data moves. On the source host, record the running release from the application itself or from the installed package, and keep a copy of the file set the backup produced so you can compare it later. On the target, whether that is a new package server or a Docker Compose stack, confirm the image tag or package version you plan to deploy, and pin it so an automatic update does not change it between the test restore and cutover. Write both version numbers into the migration runbook next to the backup file name and timestamp, since the Docker restore always picks the latest backup by file timestamp.
A mismatch is easy to miss if nobody checks early. The restore may appear to run, but the application can fail at startup, during database migration, or when agents first open tickets, and by then the team has usually scheduled a cutover window and told customers about it. Run a test restore on a copy of production, compare the version reported after restore with the source, and make a version check a gate in the runbook. If the source is on a release that is older than the one you want to end on, plan to upgrade the source first, verify it, and take a fresh full backup from that upgraded version.
What drives the effort and duration of the move
This table lists the factors that change how much work the move takes and how long the maintenance window must be, and whether each one is paid once or carries into operations. Use it to see which details a quote should state before work is scoped.
| Driver | Why it changes effort or duration | One-time or recurring | What to ask for in a quote |
|---|---|---|---|
| Attachment volume | Backups include file storage, so the restore copies more data and the file storage purge must cover everything before restore. | One-time | Attachment size on disk, storage backend, and whether the purge and copy steps are estimated separately. |
| Database size | The full backup and restore of the PostgreSQL data grows with ticket history, and the restore runs inside the maintenance window. | One-time | Database size, ticket and article counts, and the planned window for the restore and verification. |
| Elasticsearch index size and rebuild | The index is rebuilt after restore, so large ticket histories extend the time before search and reporting are fully working. | One-time | Index size, rebuild method, and whether search is required on day one or can follow the cutover. |
| Number of integrations | Each LDAP, SSO, email, telephony or webhook connection needs its endpoints, secrets and callback URLs checked on the new host. | One-time, with ongoing upkeep | List of connected systems, their owners, and whether test credentials are available for verification. |
| Custom settings and channels | Custom objects, triggers, email accounts, and channel configuration must be confirmed after restore because they depend on the environment. | One-time | Inventory of custom settings, channel configurations, and the person who signs off on each. |
| Reverse proxy and TLS changes | A new host, Docker network, or hostname changes the proxy configuration, certificates, and the public FQDN that Zammad uses in links and callbacks. | One-time, certificates renew on a recurring cycle | Proxy type (Nginx or Apache), certificate source, DNS change plan, and who owns the renewal process. |
| Install method change | Moving from a package install to Docker Compose adds container, volume and environment setup that the package layout does not need. | One-time, then recurring image and container maintenance | Compose file design, volume layout, and how upgrades will be run after the move. |
| Length of the maintenance window | The agreed window sets the limit for backup, transfer, restore, index rebuild and checks, so a short window adds planning and rehearsal work. | Agreed once, applied to each cutover | Window length, rehearsal count on a copy, and the rollback plan if the window closes. |
What usually goes wrong when relocating Zammad
Most failed Zammad relocations come from a short list of avoidable mistakes: version drift, leftover state, a search index that was never rebuilt, and host-specific settings that still point at the old server. Each risk below has a concrete check to run before cutover and before the old system is switched off.
Restoring onto an older version
The package backup scripts cannot restore to an older Zammad version, so a target stack pinned to a release behind the source fails at restore time. Before any restore, confirm the exact Zammad version on the source and build the target from the same or a newer release. Record both version numbers in the cutover runbook so a mismatch is caught on the day, not during the restore window.
Package backup docsLeftover files in storage
The Docker restore expects file storage to be purged first, so attachments from a test run or a previous attempt can mix with the restored data. Stale files then appear as orphaned attachments or make the new instance look inconsistent with its database. Before each restore attempt, purge the storage path on the target and confirm it is empty. Keep the target volume separate from any test copy so a rerun starts from a known state.
Skipping the Elasticsearch rebuild
The Docker restore requires an Elasticsearch index rebuild afterwards. If the step is skipped, ticket search, and any reporting that depends on the index, can return nothing even though the database holds every ticket. Agents then assume data was lost. Add the index rebuild as a named step with an owner, and check that a known ticket number and a known attachment phrase both return results before handing the system back to agents.
FQDN and proxy settings
A new host name, scheme or reverse proxy header that does not match the public address can break login redirects, third-party sign-in callbacks and links in notification emails. Agents may log in successfully while customers receive links to the old address. Set the public FQDN and proxy configuration on the target before cutover, then test password login, SSO callbacks, a notification email and an outbound link from a clean browser session.
Integrations still pointing at the old host
Webhooks, API clients, monitoring checks, email channel connections and SSO application registrations often hold the old host name or a callback URL. Once the old server is retired, these integrations fail silently or send data to a system nobody watches. Build an inventory of every external connection before cutover, including the identity provider's redirect URIs and any scheduled API jobs, and update each one with a verification step.
Cutover without a rollback plan
A relocation that switches inbound email and DNS before the new system is verified leaves no clean way back if the restore fails. Once the new instance accepts tickets, reverting means reconciling two data sets. Define a go or no-go checkpoint, keep the old server running in read-only mode until agents have worked a full cycle on the new one, and write down who can order the switch back. Confirm the timing of this window with your own team before the change is scheduled.
How the source backup reaches the new Zammad stack
The path starts on the source package or Docker install, where a full backup is taken with the backup tooling. That archive is copied to the target host and restored into a test Docker Compose stack first, so the restore can be checked before anything is switched. The Elasticsearch index is rebuilt after restore, and the restored instance is verified before DNS moves. Keep the source running and unchanged until the new stack has been accepted and decommissioning is approved.
Source backup flows through a test restore, index rebuild and cutover.
Questions teams ask before moving Zammad
Can our own team move Zammad to a new server or into Docker without a partner?
Yes, a team with Linux, PostgreSQL and container experience can usually do it alone, because Zammad documents both the package backup process and a Docker Compose restore path. The work is less about commands and more about discipline: taking a full backup, testing the restore on a copy, matching the Zammad version on both sides, and rebuilding the search index afterwards. Ask yourself whether the people who would run the move have done a restore before and whether they can take the time to rehearse it. If the answer is no to either, a partner can plan the rehearsal and own the cutover checklist, with the scope agreed in writing before work starts.
What drives the cost and duration of a Zammad server move?
The main drivers are the size of the database and attachment storage, how many integrations and channels must be reconfigured after the restore, whether the target is a new package host or a Docker Compose stack, and how many rehearsals the team wants before cutover. Storage size affects how long backup and restore take, and a large Elasticsearch index adds rebuild time after the restore. Your own labor is a recurring cost of planning and testing, while any partner fee is one-time and follows from a written scope. Ask for a quote that lists each rehearsal, the cutover window, post-move verification and index rebuild as separate line items. Zammad's self-hosted support subscriptions, which carry 6-hour (Business), 4-hour (Enterprise) and 2-hour (Corporation) response times according to Zammad's pricing page, are a separate, recurring decision and do not cover the move itself.
What does the move need from our team in access and time?
You need administrative access to the source and target hosts, database credentials, the Zammad secrets or configuration files, DNS control for the new hostname, and a named owner who can approve the cutover. Plan a maintenance window long enough for a final full backup, the restore, the search index rebuild and user-facing checks, and agree who will tell agents and customers when the helpdesk is unavailable. A test copy is essential: restore a recent full backup into a non-production environment, confirm logins, ticket history, attachments and email channels, and only then schedule the production cutover. Confirm the exact window with your own environment, since it depends on data volume.
Can Zammad restore only part of a backup or do an incremental move?
No. Zammad's backup scripts take full backups only and cannot restore partially, so you cannot move only certain tickets, groups or attachments with the backup tooling. Plan the move as a single full backup and a single full restore. If you need to keep the old system running for a period, handle the difference by re-running a fresh full backup at cutover rather than expecting incremental sync, and confirm with Zammad's backup documentation how your installation type is handled before you rely on that approach.
Can we switch from one database system to another during the move?
No. Zammad's backup scripts cannot switch database systems, so the target must use the same database system the backup came from. Zammad stores its content in PostgreSQL 15 or newer, so confirm your source and target both meet that requirement before you start. Any change of database engine is a separate migration project with its own design, testing and rollback plan, and should not be bundled into a server relocation.
Why does the Elasticsearch index need rebuilding after a restore?
The restore brings back the database and files, but the search index is not restored in a way Zammad relies on for search, so it must be rebuilt on the new system. Zammad's Docker Compose restore documentation calls for an index rebuild afterwards, and search, reporting and attachment content search depend on it. Elasticsearch is optional but strongly recommended according to Zammad's software requirements, so if your environment uses it, budget for the rebuild in the cutover plan and verify search results before users return. Confirm the rebuild procedure and expected run time for your data volume with the Zammad documentation and a rehearsal on your test copy.
Why does restoring onto an older Zammad version fail?
Zammad's backup scripts cannot restore to an older Zammad version, so the target must run the same version as the backup or a newer one that the restore process supports. An older target cannot understand schema or data changes introduced by a newer release, so the restore cannot complete cleanly. Record the exact version on the source before you take the backup, install that version on the target, and only then plan any upgrade as a separate step with its own testing. Check the Zammad releases page for the current release line before you choose a target version.
How DeployOpen scopes and delivers the Zammad move
DeployOpen plans the move of a self-hosted Zammad to a new server or from a package install to Docker Compose as a fixed-scope piece of work, agreed in writing before any change is made. We treat the backup, the restore target, the file storage cleanup and the search index rebuild as separate, checkable steps, and we document each one for your team to run again.
How we scope
- We inventory the current install: package or Docker origin, Zammad version, PostgreSQL and Redis setup, and attachment storage location.
- We confirm the target version and that it matches or exceeds the source, since restoring onto an older Zammad version is not supported.
- We write the scope, deliverables and timeline in writing, with any Elasticsearch rebuild and reverse proxy changes listed explicitly.
How we build
- We rehearse a full backup and restore on a copy of the production instance in a non-production environment you control.
- We prepare the Docker Compose stack, purge file storage as planned, and restore from the latest full backup by file timestamp.
- We run the Elasticsearch index rebuild, then test logins, ticket access, attachments, email channels and scheduled jobs before cutover.
How we hand over
- We document the exact backup, restore, purge and rebuild steps used, with the commands and configuration keys that were changed.
- We record the rollback plan, including keeping the original server intact until your team has accepted the new instance.
- We walk your administrators through the post-move checks and the list of items that must be confirmed with Zammad documentation.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the move is complete.
- We can run the next Zammad upgrade or a recurring backup restore test under a separate written scope.
- Support scope is agreed up front, so your team knows who handles Zammad application issues and who handles host or Kubernetes issues.

