Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: Migration wizard ZCS 5 to ZCS 8

  1. #21
    Join Date
    Jun 2013
    Rep Power


    Many thanks scott.serr, with your help I carried out the first step successfully. To confirm:
    1. I login as zimbra on old server, copy and paste the code
    [zimbra@mail ~]$ zmprov getAlldomains
    [zimbra@mail ~]$ echo "# Create domains"
    # Create domains
    [zimbra@mail ~]$ for f in $(zmprov getAllDomains); do
    > echo "zmprov createDomain $f"
    > done
    zmprov createDomain
    [zimbra@mail ~]$
    I also looked for basic "for loop" and understand the first piece now . Now I understand that the output of first script is a file containing commands to create domains and accounts as well as password?
    I don't need to export and import email, so i don't need the second script, do I?
    Another question, password is encrypted so how can we import it to new zimbra server?

    One again, I truly appreciate your help.

  2. #22
    Join Date
    Jun 2013
    Rep Power


    I got more information on this and everything goes well now. The main idea is we need to modify user account with hashed password to make zimbra translating those "hashed password" back to "pure password" which user can use to login to mailbox.
    The export-script:
    for i in `zmprov -l gaa | egrep -v 'galsync|spam|ham|virus|stimpson'`;do \
    echo "$i,`zmprov -l ga $i userPassword | grep userPassword | \
    sed 's/userPassword: //'`";\
    Redirect the output to userlist.txt and send it to the new server.

    The import-script.
    for i in `cat userlist.txt`
    zmprov ca `echo $i | awk -F, '{print $1 " " $2}'`
    zmprov ma `echo $i | awk -F, '{print $1 " userPassword " $2}'`
    Just finish this in the LAB and I don't know how long does it take with 1000 accounts If you have any improvement to push the process, please let me know.

Similar Threads

  1. migration wizard
    By maybethistime in forum Zimbra Connector for Outlook
    Replies: 17
    Last Post: 06-17-2011, 07:47 AM
  2. RPC Errors with Migration Wizard
    By paulhlee1967 in forum Migration
    Replies: 0
    Last Post: 02-15-2011, 07:52 AM
  3. ZCS Migration Wizard for Domino
    By viaris in forum Migration
    Replies: 0
    Last Post: 06-18-2009, 09:45 AM
  4. exchange migration wizard
    By oxy in forum Migration
    Replies: 2
    Last Post: 09-25-2008, 01:59 PM
  5. Migration wizard for exchange
    By chandu in forum Migration
    Replies: 2
    Last Post: 12-26-2007, 11:51 PM

Tags for this Thread

Posting Permissions

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