Results 1 to 6 of 6

Thread: Export Account information to csv

  1. #1
    Join Date
    Feb 2007
    Posts
    55
    Rep Power
    8

    Default Export Account information to csv

    Can I run a command (some form of zmprov I am guessing)to export account info into a csv file? I need account, First Name, Last Name, Alias(es). Thanks for your help.

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    zmprov gaa -v
    you can then parse the output and create your own CSV.

  3. #3
    Join Date
    Feb 2007
    Posts
    55
    Rep Power
    8

    Default

    Thanks for the response. I guess I would need a little help with that second part now. What's the best way to parse out what I need?

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    You could either use perl or awk. I am not at my normal machine, onsite, so cannot script something for you. If you do not get a response I can knock something up this evening.

  5. #5
    Join Date
    Feb 2007
    Posts
    55
    Rep Power
    8

    Default Thanks

    I would appreciate it if you could do that for me uxbod!

  6. #6
    Join Date
    Dec 2010
    Posts
    38
    Rep Power
    5

    Default Did you get the script from uxbod

    Hi,

    I am trying to migrate accounts from my old zimbra server to a new installed one.
    I am following this tutorial to export each account one after the another.
    ZCS-to-ZCS Migrations » Zimbra :: Blog

    Did you get any script to parse out all the unnecessary information from the zmprov gaa -v.

    What iam trying to do is exporting a csv file and then importing through bulk provisioning and trying to import each account individually.

    Do you think there is direct method to migrate only the accounts all at once.

    I tried some, but my Active Directory connection does not work to migrate through that.

    Any ideas?

Similar Threads

  1. installation error during ldap setup
    By ljramos in forum Installation
    Replies: 23
    Last Post: 08-10-2007, 11:48 PM
  2. unable to restart zimbra after reboot
    By droefs in forum Administrators
    Replies: 28
    Last Post: 04-16-2006, 03:33 PM
  3. Replies: 16
    Last Post: 01-05-2006, 09:55 AM
  4. After Succesfull Install, Cannot Start mta
    By bsimzer in forum Installation
    Replies: 26
    Last Post: 12-16-2005, 05:45 PM
  5. Mailbox Stopped
    By jono in forum Installation
    Replies: 23
    Last Post: 11-24-2005, 10:39 AM

Posting Permissions

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