Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-17-2011, 09:36 AM
Active Member
 
Posts: 43
Default Command to export and import account data

¿what is the command line to export and import an account of a domain from one server to another?

(to do the same as the preferences account ==> import /export)

Thx
Reply With Quote
  #2 (permalink)  
Old 07-17-2011, 03:22 PM
Active Member
 
Posts: 43
Default

can only be done from preferences ==> Import / Export? I would like to make a script for a massive export of a domain in bash command line.

Thx
Reply With Quote
  #3 (permalink)  
Old 07-17-2011, 04:25 PM
Active Member
 
Posts: 43
Default

Im going to do it with:

/usr/bin/curl -s -k -u adminassword https://zimbraserver:7071/home/${ACCOUNT}@yourdomain.de/?fmt=tgz | /bin/zcat | /bin/gzip -9 --rsyncable > ${TEMPDIR}/${ACCOUNT}/${ACCOUNT}.tgz
(cd ${TEMPDIR} && /usr/bin/rdiff-backup ${ACCOUNT} ${BACKUPDIR}/${ACCOUNT} )
Reply With Quote
  #4 (permalink)  
Old 12-06-2011, 11:55 PM
Starter Member
 
Posts: 2
Default result

And... does it work? Is it a reliable way to command line account export from ZCS?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.