mysqldump exports the whole mailcow schema and data, piped through gzip into a dated backup file. The dump contains mailboxes, aliases, domains, and quarantine state but not maildirs. Restore it with mysql < backup.sql if the database is ever lost.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.