If I wanted to export all of the briefcases from a Zimbra server, I could do it by specifying each user as follows...
Originally Posted by ccelis5215
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.
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
Thanks for any insight you guys can offer!