Where Does Zammad Store Tickets and Files?
Zammad data folder and database config paths on Linux for self-hosted support desk installs. And restore steps.
Last updated
Zammad keeps tickets in Postgres with files on disk. Attachments live under storage inside /opt/zammad. That folder grows with inbound mail attachments.
Connection settings live in config/database.yml with host and credentials. Elasticsearch indexes beside the database for search. Back up the tree with a database dump. Tickets without files lose their attachments. Macros automate ticket replies. SLAs escalate stale tickets. Chat widgets embed on sites. Reports track agent workload. Overviews filter ticket queues.
Where Zammad stores this, by platform
/opt/zammad/storage
Attachment storage with per ticket subfolders. Owned by the zammad user. Copy whole tree with the database for migration.
/opt/zammad/config/database.yml
Postgres host and credentials for the helpdesk. Restrict read access to the zammad user. Keep with storage backups.
Frequently asked questions
what do i back up for a Zammad move
Copy /opt/zammad with a Postgres dump for full moves. The tree holds attachments and repos. The database holds tickets. Both restore support. Keep copies safe.
where are Zammad attachments stored
Open database.yml in config to read the Postgres block. Attachments default under storage beside it. The file decides which database tickets belong to. Test restores first.
Notice an outdated path? Let us know.