I honestly don’t know too much about Docker right now.
I don’t know much on how the Docker image runs, before hand a small warning: We currently do not support docker images in productive.
If so, please ensure that your source Zammad installation does not use a MySQL database because if it does, you’ll need to convert the dump before hand (our provided scripts don’t do that for you).
Simple backup, get the backup file to your docker system and restore ist there should work fine.
Stopping Zammad during that process is a good idea to ensure know data is being changed.
The backup was so easy with a DEB package install but after a little digging I figured out how to backup and restore with a Docker-Compose install of Zammad.
Backup Zammad with Docker-Compose
I found that a container has been built especially for the purpose of backing up although it’s not very well documented there is a discussion about it here.
I’m not sure if I should be stopping containers to prevent data changing as I backup. I tried stopping all containers apart from zammad-backup and zammad-postgresql but without zammad-railserver running backup will not work. Any best practices here would be very welcome as feedback.
Restore instructions documented here worked perfectly for me.
Conclusion
This isn’t the way to do backup and restore with Docker-Compose but it’s a way. Please feel free to feedback if there are better ways to do this. Thank you for the great work you do on Zammad - I love it!
Exactly. (I also have not worked out the frequency and/or occasions.)
Then, I have those backups synced to my local DiskStation (Synology NAS), which works like a charm!