I am curious of what to do as far as backing up my Zimbra ZCS server I am testing for my company. I am running the open source edition so I am not able to do a hot backup of Zimbra, I would have to stop Zimbra.

The question I pose is simple, Zimbra is running on a VMware ESXi VM and we have the VCB and vStorage licenses, So I am able to backup VMs without the free version hackery.

Instead of worrying about backing up Zimbra on its own would backing up the VM say every other night be sufficient?

We don't have to adhere to any regulations of anything about mail archiving and if we lose a day of mail it would not be the end of the world.


Solution 1:

I'm also running the open source version and I would normally shutdown zimbra service (as well as mysql and LDAP) and then backup my entire /opt/zimbra directory tree. Then restart services. I tested recovery on several occasions and it worked reasonably well, but my installation is relatively small. This was before we virtualized the server with VMware. Now, I'm simply taking snapshot every 4 hours and making backup of it, then I delete the snapshot. This also works well but it requires backup software that employs data de-duplication - otherwise this approach may be inefficient.

Solution 2:

Short answer: Try it. It's a VM, so it is lower cost than if you had to dedicate a server. Take an image / snapshot, wait a day, and restore it to another server in a sufficiently isolated network. See if it comes up and see if you can read your email, send new emails, etc.

Long answer is more of a question:

Sufficient for what? What are your needs? You mention 'it would not be the end of the world.' I can't think of a single backup that, if not taken, would mean the end of the world. Figure out how much it would cost you and your business. Figure out how much it would cost to go with each of the various options:

  • Daily snapshots
  • More frequent snapshots
  • ZCS Network Edition
  • Cobbled together backup
  • Something else?

It could be that email just isn't important to your business. That's good. I might ask why you're running your own email server though.