Results 1 to 4 of 4

Thread: Command to export and import account data

  1. #1
    Join Date
    Nov 2010
    Posts
    62
    Rep Power
    4

    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

  2. #2
    Join Date
    Nov 2010
    Posts
    62
    Rep Power
    4

    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

  3. #3
    Join Date
    Nov 2010
    Posts
    62
    Rep Power
    4

    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} )

  4. #4
    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    3

    Default result

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

Similar Threads

  1. lost signature when import account to new server
    By kolomalo in forum Administrators
    Replies: 1
    Last Post: 02-23-2011, 12:56 AM
  2. Export address book to other account in Zimbra
    By wannabegeek in forum General Questions
    Replies: 0
    Last Post: 11-11-2010, 01:29 AM
  3. Export data on PST file
    By waseemp17 in forum Installation
    Replies: 5
    Last Post: 10-22-2008, 12:33 AM
  4. export zimbra data to another system
    By santo in forum Migration
    Replies: 3
    Last Post: 08-29-2007, 09:45 AM
  5. Can't import contact data to OTHER: Web Page?
    By gihrig in forum Administrators
    Replies: 0
    Last Post: 10-11-2006, 02:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •