This will export the user Briefcase... even you didn't tell what is your purpose..
zmmailbox -z -m firstname.lastname@example.org getRestURL '/Briefcase/?fmt=tgz' > /tmp/account_Briefcase.tgz
If I wanted to export all of the briefcases from a Zimbra server, I could do it by specifying each user as follows...
zmmailbox -z -m email@example.com getRestURL '/Briefcase/?fmt=tgz' > /tmp/account1_Briefcase.tgz
zmmailbox -z -m firstname.lastname@example.org getRestURL '/Briefcase/?fmt=tgz' > /tmp/account2_Briefcase.tgz
In an environment where there are thousands of users, writing that script seems like it'll take a bit. Does anybody know if there is a better way? Trying to find a solution to get a thousand briefcases out of a Zimbra server that's being decommissioned. Users have all been migrated to an existing Exchange environment, just looking to grab the briefcase data.
Thanks for any insight you guys can offer!