Seeing that no one has any major issues with my plans, I'm wondering if someone with some scripting skills can help me automate the task.
I know that I can export from the command line like the following
Code:
/opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL “//?fmt=tgz” > /tmp/account.tgz
And that I can likewise import mailboxes on the new server:
Code:
/opt/zimbra/bin/zmmailbox -z -m user@domain.com postRestURL “//?fmt=tgz&resolve=reset” /tmp/account.tgz
If I could have a script that would cycle through all of the accounts on the old server and export them as separate files, having the email address/user as the file name, I'd be cooking.
Thanks in advance!