« SED Search / Replace Multiple FilesPerl - Sorting multi-diminsional arrays »

Export Zimbra mailbox

03/02/09

Permalink 02:23:19 pm, by admin Email , 86 words   English (US)
Categories: Zimbra

Export Zimbra mailbox

To export the mailbox for user@acme.com as a zip file use this command:

/opt/zimbra/bin/zmmailbox -z -m user@acme.com getRestURL \
'//?fmt=zip&query=is:anywhere' > user_at_acme_com.zip

Here is the same as a tgz file:

/opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL \
“//?fmt=tgz” > /tmp/account.tgz

And here's a restore of the tgz file:

/opt/zimbra/bin/zmmailbox -z -m user@domain.com postRestURL \
“//?fmt=tgz&resolve=reset” /tmp/account.tgz

5 comments

Comment from: Rodrigo [Visitor]
*****
Ok, it works perfectly!
Thanks!
05/11/09 @ 14:22
Comment from: john brightman [Visitor] · http://www.whoismark.com
****-
HI
looks very interesting!
bookmarked your blog.
john brightman
05/24/09 @ 07:00
Comment from: runescape accounts [Visitor] · http://www.rs2acc.com
****-
Thankiossk Cool!
01/04/10 @ 22:55
Comment from: runescape accounts [Visitor] Email · http://www.rs2box.com
****-
Thankiossk Cool!
01/25/10 @ 00:10
Comment from: runescape accounts [Visitor] Email · http://www.rs2box.com
*****
Thankiossk Cool!
01/25/10 @ 00:11

This post has 12 feedbacks awaiting moderation...

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
July 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Reliable Penguin offers Linux Server Migrations, Systems Administration & Programming. Visit our main website at:

http://www.reliablepenguin.com

Search

Bookmark and Share

XML Feeds

powered by b2evolution free blog software