Zammad operations and troubleshooting

Day-two operations for self-hosted Zammad: backups, monitoring, performance tuning, search index rebuilds, email problems, maintenance windows and logs.

Backing up and restoring a package-installed Zammad

Setting up Zammad's backup scripts: config file, pigz compression, what a full dump includes and leaves out, off-host copies, restore steps on the same or a new host, and scheduled restore tests since Zammad gives no warranty.

Backing up and restoring Zammad on Docker

Using the zammad-backup service in Docker Compose or Portainer: nightly and one-off backups, volume-based alternatives, the restore directory procedure, purging file storage, and the Elasticsearch rebuild afterwards.

Monitoring Zammad with the health check API

Wiring Zammad's monitoring endpoint into Zabbix, Checkmk or Prometheus probes: the token, healthy and issues fields, resetting tokens safely, and the email problems the check does not catch.

Zammad performance tuning with background workers

Speeding up a busy Zammad: separate workers for inbound mailboxes, session jobs and AI requests, thread counts, filesystem storage instead of database attachments, Elasticsearch on its own host, and core workflow Ajax mode.

Rebuilding the Zammad Elasticsearch index

When and how to rebuild Zammad's search index: after restores, Elasticsearch upgrades or release notes that require it, using several CPU cores, degraded search while it runs, and checking the result.

Troubleshooting email in Zammad

Finding why Zammad email fails: IMAP and SMTP connection errors in the health check, failed communication jobs, oversized messages, OAuth token problems after switching to XOAUTH, and filters that misroute mail.

Zammad maintenance mode and user broadcasts

Running Zammad update windows: maintenance mode that logs out agents and customers, the login banner, broadcast messages with forced reload after configuration changes, and telling customers in advance.

Managing Zammad logs

Handling Zammad log files: the 14-day logrotate default on package installs, RAILS_LOG_TO_STDOUT for containers and log collectors, source installs that never purge, and what to forward to a SIEM.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.