Backup and Restore

Zammad contains simple backup & restore scripts that can be executed via command line or cron job. You can find the scripts in the “/opt/zammad/contrib/backup” directory.


  • Rename “/opt/zammad/contrib/backup/config.dist” to “/opt/zammad/contrib/backup/config”
  • Configure backup path in /opt/zammad/contrib/backup/config if you want. Standard backup path is “/var/tmp/zammad_backup”

Create Backup

cd /opt/zammad/contrib/backup

Restore everything

cd /opt/zammad/contrib/backup

With menu for choosing backup date


With command line argument for backup date

./ 20170507121848