With the new ZCS 7.0, I'm trying to use zmmailbox to export all the email accounts from my server. I'm going in a loop over the list of mailboxes returned from zmprov -l gaa and doing the following :
zmmailbox -z -m firstname.lastname@example.org getRestURL "//?fmt=tgz" > email.tgz
Of the 135 or so accounts, all of them worked but three. The error I get on the three that didn't work is :
ERROR: zclient.IO_ERROR (Unable to get ?fmt=tgz) (cause: java.io.IOException chunked stream ended unexpectedly)
Two of the three accounts that didn't work are fairly large. One is 40GB and another is 27GB. The other one that failed was less than 5GB. We have many accounts with over 10GB that worked, including one that was 36GB that worked. I couldn't find anything on the forums about "chunked stream ended unexpectedly".