Results 1 to 7 of 7

Thread: Moving from Ubuntu to FreeBSD

  1. #1
    MrSnaKe is offline Intermediate Member
    Join Date
    Aug 2009
    Posts
    20
    Rep Power
    6

    Question Moving from Ubuntu to FreeBSD

    Hello Guys,

    I've installed on ubuntu next version of ZCS:

    Release 6.0.2_GA_1912.UBUNTU8_64 UBUNTU8_64 FOSS edition.

    Also I configured latest version of ZCS on FreeBSD:

    Release 7.1.1_GA_3205.FreeBSD_amd64 FreeBSD_amd64 FOSS edition.

    Question: How I can move all data from Ubuntu tu FreeBSD (include mail accounts, domains, and all data on the server, I mean alll users mail)?
    Release 6.0.2_GA_1912.UBUNTU8_64 UBUNTU8_64 FOSS edition.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,580
    Rep Power
    57

    Default

    Quote Originally Posted by MrSnaKe View Post
    Also I configured latest version of ZCS on FreeBSD:

    Release 7.1.1_GA_3205.FreeBSD_amd64 FreeBSD_amd64 FOSS edition.
    That isn't the most recent version of Zimbra and I assume you understand that you will be moving to an unsupported platform. No bug reports can be filed for any problems you encounter, Zimbra does not provide any updates for that operating system and effectively you're on your own.

    Quote Originally Posted by MrSnaKe View Post
    Question: How I can move all data from Ubuntu tu FreeBSD (include mail accounts, domains, and all data on the server, I mean alll users mail)?
    You'll have to export a list of accounts then use zmprov to ctreate them on the new server, you can move the mail using IMAPSYNC - search the wiki and forums for further details on exporting data then importing it on a new server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    MrSnaKe is offline Intermediate Member
    Join Date
    Aug 2009
    Posts
    20
    Rep Power
    6

    Default

    Quote Originally Posted by phoenix View Post
    That isn't the most recent version of Zimbra and I assume you understand that you will be moving to an unsupported platform. No bug reports can be filed for any problems you encounter, Zimbra does not provide any updates for that operating system and effectively you're on your own.

    You'll have to export a list of accounts then use zmprov to ctreate them on the new server, you can move the mail using IMAPSYNC - search the wiki and forums for further details on exporting data then importing it on a new server.
    Ok, so what version you propose to use?
    Release 6.0.2_GA_1912.UBUNTU8_64 UBUNTU8_64 FOSS edition.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,580
    Rep Power
    57

    Default

    Quote Originally Posted by MrSnaKe View Post
    Ok, so what version you propose to use?
    Use one of the supported distributions on the ZCS downloads page - they are the only versions provide, tested and supported by Zimbra. I use CentOS (with the ZCS RHEL build) and I don't like Ubuntu based systems but if that works for you then use it.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    MrSnaKe is offline Intermediate Member
    Join Date
    Aug 2009
    Posts
    20
    Rep Power
    6

    Default

    One more question. I found next

    Zimbra 6 to Zimbra 7 Migration

    but I also had this problem

    http://www.zimbra.com/forums/attachm...rationtool.jpg

    can you help me what I must input in LDAP Base Query?
    Release 6.0.2_GA_1912.UBUNTU8_64 UBUNTU8_64 FOSS edition.

  6. #6
    MrSnaKe is offline Intermediate Member
    Join Date
    Aug 2009
    Posts
    20
    Rep Power
    6

    Default

    Guys any ideas how to fix this?
    Release 6.0.2_GA_1912.UBUNTU8_64 UBUNTU8_64 FOSS edition.

  7. #7
    MrSnaKe is offline Intermediate Member
    Join Date
    Aug 2009
    Posts
    20
    Rep Power
    6

    Default

    I found next

    Zimbra to Zimbra migration part one. Accounts and mailboxes » Open Source Explorations

    I configured

    Code:
    # Configuration file for zmztozmig with all necessary settings
    #
    #Source ZCS server IP/name,admin user name and password, server port
    SourceZCSServer=mail.example.com
    SourceAdminUser=admin@mail.example.com
    SourceAdminPwd=fgergergegr
    SourceAdminPort=7071
    #
    #Destination/Target ZCS server IP/name,admin user name and password, server port
    TargetZCSServer=mail.example1.com
    TargetAdminUser=admin@mailexample1.com
    TargetAdminPwd=sfgfwsgawsfg
    TargetAdminPort=7071
    #
    #Change ZimbraMailTransport after successful migration
    #ZimbraMailTransport=smtp:mta.zcs.mail.mydomain.com
    #
    #Threads to run simultaneously
    Threads=1
    #
    #Specify directory for mailbox download
    WorkingDirectory=/tmp/ztozmig/mailboxdumps/
    #
    #Specify directory to contain failed mailbox tar files
    FailedDirectory=/tmp/ztozmig/mailboxfailures/
    #
    #Specify directory to contain successfully migrated mailbox tar files, if KeepSuccessFiles=TRUE
    SuccessDirectory=/tmp/ztozmig/successes/
    #
    #Specify directory to contain logs
    LogDirectory=/opt/zimbra/log/ztozmiglogs
    #
    #Do you want to keep tar mailbox files after successful migration- TRUE/FALSE
    KeepSuccessFiles=TRUE
    #
    #Specify the comma separated list of item types to be migrated. For complete mailbox migration, comment it.
    #types can have following parameters - message,conversation,contact,appointment,task,wiki,document
    #types=message,conversation,contact,appointment,task,wiki,document
    #
    #resolve can have skip (ignores duplicates),modify (update older items),
    #reset (delete the old subfolder (or entire mailbox if /)) or replace (replace the existing items) values.
    #Only one value at a time as these parameters are mutually exclusive.
    #resolve=skip
    #
    #Specify Domain map - (DomainMap= From_domain To_Domain)
    #DomainMap=
    #DomainMap=google.com yahoo.com
    #Domains to migrate in case of Accounts parameter is set to "all"
    Domains=aaa.com
    #
    #List accounts to be migrated. Accounts should be comma (',') separated. Use 'all' to get
    #all accounts from source server.Domains parameter must be defined to list the domains to be
    #migrated.
    Accounts=all
    after run /opt/zimbra/libexec/zmztozmig as zimbra user I received next

    Code:
    [zimbra@mail ~/libexec]$ ./zmztozmig
    [INFO|main:1| 11/24/2011 13:06:39]: ConfigFile: /opt/zimbra/conf/zmztozmig.conf
    [INFO|main:1| 11/24/2011 13:06:39]: Version: 1.4
    [INFO|main:1| 11/24/2011 13:06:39]: Processing Domain: aaa.com
    Creating account list....
    [INFO|main:1| 11/24/2011 13:06:40]: Request URL: https://mail.example.com:7071/service/admin/soap
    ZMSSLSocketFactory instantiated
    [INFO|main:1| 11/24/2011 13:06:40]: Going to get accounts from mail.example.com. It may take few minutes...
    [INFO|main:1| 11/24/2011 13:06:40]: REST URL: https://mail.example.com:7071/service/afd/?action=getSR&types=accounts&domain=aaa.com
    [INFO|main:1| 11/24/2011 13:06:40]: GetAllAccountsListByREST: HTTP Code: 200
    [INFO|main:1| 11/24/2011 13:06:40]: "vira.mazak@aaa.com","d3e8abba-ccd8-4f88-9ae8-e7a2c7cb175a","account","Vira Mazak","active","402a07e3-5859-40d2-9585-af982a71bf3c"
    [INFO|main:1| 11/24/2011 13:06:40]: "uliana.shevchun@aaa.com","653361e9-c9d9-47ce-abbe-bf7ebd209ac0","account","Uliana Shevchun","active","402a07e3-5859-40d2-9585-af982a71bf3c"
    [INFO|main:1| 11/24/2011 13:06:40]: "sergiy.kovalchuk@aaa.com","bca8fe98-ad1b-4c0b-a64f-5cfa59b66969","account","Sergiy Kovalchuk","active","402a07e3-5859-40d2-9585-af982a71bf3c"
    [INFO|main:1| 11/24/2011 13:06:40]: "sergiy.bukhta@aaa.com","5a90eb93-5342-4bf0-83ae-4cb3f611420f","account","Sergiy Bukhta","active","402a07e3-5859-40d2-9585-af982a71bf3c"
    [INFO|main:1| 11/24/2011 13:06:40]: "oleksandra.pavlova@aaa.com","36ae56ee-d7ca-4d1b-b7cf-42c165877f5c","account","Oleksandra Pavlova","active","402a07e3-5859-40d2-9585-af982a71bf3c"
    [INFO|main:1| 11/24/2011 13:06:40]: "oleh.kalensky@aaa.com","62ceb020-855d-40d6-bc05-be6fc7437d7b","account","Oleh Kalensky","active","402a07e3-5859-40d2-9585-af982a71bf3c"
    [INFO|main:1| 11/24/2011 13:06:40]: "office@aaa.com","f7f505fd-c0d5-45a8-822f-b6698a626de4","account","Office","active","402a07e3-5859-40d2-9585-af982a71bf3c"
    [INFO|main:1| 11/24/2011 13:06:40]: "galsync@aaa.com","5e1e1eeb-4ae1-4e66-a1ff-91e7c3dacfe8","account","","active",""
    [INFO|main:1| 11/24/2011 13:06:40]: Accounts list created.
    [INFO|main:1| 11/24/2011 13:06:40]: Thread count: 1
    [INFO|main:1| 11/24/2011 13:06:40]: Request URL: https://example1.com:7071/service/admin/soap
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: vira.mazak@aaa.com
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (vira.mazak@aaa.com)
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Request URL: https://example1.com:7071/service/admin/soap
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: vira.mazak@aaa.com
    [WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: vira.mazak@aaa.com
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(vira.mazak@aaa.com).
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User vira.mazak@aaa.com does not exists.
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.038
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: uliana.shevchun@aaa.com
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (uliana.shevchun@aaa.com)
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: uliana.shevchun@aaa.com
    [WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: uliana.shevchun@aaa.com
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(uliana.shevchun@aaa.com).
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User uliana.shevchun@aaa.com does not exists.
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.027
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: sergiy.kovalchuk@aaa.com
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (sergiy.kovalchuk@aaa.com)
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: sergiy.kovalchuk@aaa.com
    [WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: sergiy.kovalchuk@aaa.com
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(sergiy.kovalchuk@aaa.com).
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User sergiy.kovalchuk@aaa.com does not exists.
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.022
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: sergiy.bukhta@aaa.com
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (sergiy.bukhta@aaa.com)
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: sergiy.bukhta@aaa.com
    [WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: sergiy.bukhta@aaa.com
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(sergiy.bukhta@aaa.com).
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User sergiy.bukhta@aaa.com does not exists.
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.021
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: oleksandra.pavlova@aaa.com
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (oleksandra.pavlova@aaa.com)
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: oleksandra.pavlova@aaa.com
    [WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: oleksandra.pavlova@aaa.com
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(oleksandra.pavlova@aaa.com).
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User oleksandra.pavlova@aaa.com does not exists.
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.019
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: oleh.kalensky@aaa.com
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (oleh.kalensky@aaa.com)
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: oleh.kalensky@aaa.com
    [WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: oleh.kalensky@aaa.com
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(oleh.kalensky@aaa.com).
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User oleh.kalensky@aaa.com does not exists.
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.016
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: office@aaa.com
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (office@aaa.com)
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: office@aaa.com
    [WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: office@aaa.com
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(office@aaa.com).
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User office@aaa.com does not exists.
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.017
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Processing Account: galsync@aaa.com
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Going to download TarredMailBox (galsync@aaa.com)
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountRequest Failed: no such account: galsync@aaa.com
    [WARNING|ZTOZThread1:12| 11/24/2011 13:06:40]: GetAccountInfoByName Failed: galsync@aaa.com
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: Download TarredMailBox Error(galsync@aaa.com).
    [SEVERE|ZTOZThread1:12| 11/24/2011 13:06:40]: User galsync@aaa.com does not exists.
    [INFO|ZTOZThread1:12| 11/24/2011 13:06:40]: Total Time Taken (in seconds): 0.015
    [INFO|main:1| 11/24/2011 13:06:40]: ****************SUMMARY**************************
    [INFO|main:1| 11/24/2011 13:06:40]: Total Accounts processed         :    8
    [INFO|main:1| 11/24/2011 13:06:40]: Successfull Accounts             :    0
    [INFO|main:1| 11/24/2011 13:06:40]: Failed accounts                  :    8
    [INFO|main:1| 11/24/2011 13:06:40]: Total Migration Time(seconds)    :    0.175
    [INFO|main:1| 11/24/2011 13:06:40]: *************************************************
    [zimbra@mail ~/libexec]$
    what I did wrong?
    Release 6.0.2_GA_1912.UBUNTU8_64 UBUNTU8_64 FOSS edition.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 39
    Last Post: 09-04-2012, 11:18 PM
  2. Replies: 3
    Last Post: 02-18-2011, 03:49 PM
  3. Moving ZCS from Opensuse 10.2 to Ubuntu 6.06
    By Chombly in forum Migration
    Replies: 2
    Last Post: 03-06-2008, 11:50 AM
  4. Server platform change RH to Ubuntu issues
    By marke in forum Administrators
    Replies: 5
    Last Post: 11-07-2007, 12:27 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
  •