Move messages from user to another

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
armitage318
Advanced member
Advanced member
Posts: 66
Joined: Sat Sep 13, 2014 2:01 am

Move messages from user to another

Postby armitage318 » Thu May 17, 2018 10:23 am

Hi,

I am using ZCS 8.8.7_GA_1964
I would like to export all messages from one user, and import in a different mailbox, on same Zimbra server.
How can I do this?
thank you very much


armitage318
Advanced member
Advanced member
Posts: 66
Joined: Sat Sep 13, 2014 2:01 am

Re: Move messages from user to another

Postby armitage318 » Thu May 17, 2018 10:42 am

I tried with

Code: Select all

zmmailbox -z -m user1@domain.net getRestURL "//?fmt=tgz" > /tmp/user1_domain.com.tar.gz


and after

Code: Select all

zmmailbox -z -m user2@domain.net postRestURL "//?fmt=tgz&resolve=reset" /tmp/user1_domain.com.tar.gz


It seems ok.. is there a better way to do this (even with user preferences, contacts)?

Thank you

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 30 guests