EGW Migration Howto
From Tine 2.0 - Wiki
This page describes a step-by-step migration from EGroupWare to Tine20.
This tutorial has been successfully tested with EGroupWare 1.6.003 and Tine20 Mialena 2010-03-7. If the database of your EGroupWare installation doesn't differ to that version, the migration should also work with older/newer versions.
Installation of Tine20
Setup Tine20 as described in the Install_Howto. Only ensure, that the 'Initial admin account name' you create in your new installation, is not allready used in your EGroupWare database!
Import accounts from EGroupWare
After you have finished the Tine20 setup process, you can start the import process of user accounts and groups from EGroupWare with the following command out of your Tine20 folder:
php setup.php --egw14import egwdbhost egwdbuser egwdbpass egwdbname latin1|utf8
Replace the 'egw...' variables corresponding to your EGroupWare database settings (see 'header.inc.php' of your EGroupWare installation).
Important notice: If you had IMAP authentication in EGroupWare, there was no passwort in the old database that could be migrated. Because IMAP authentication is not implemented yet (Tracker #1470), you have to set a password for every imported user in that case or switch to LDAP authentication.
If you can't login with the migrated accounts, you have to ensure, that the group(s) the user belong to, is in a role that allows logging in. E. g. if your migrated account was in group "default users", you have to add this group to the role "user" (or create your own roles with appropriate privileges).
Import calendars from EGroupWare
Run the following command from your Tine20 folder to migrate calendars:
php tine20.php --username tine20admin --method Calendar.importegw14 egwdbhost egwdbuser egwdbpass egwdbname latin1|utf8
Replace the 'egw...' variables corresponding to your EGroupWare database settings (see 'header.inc.php' of your EGroupWare installation). The parameter 'tine20admin' used for option '--username' ist just an example. You have to use an existing account with admin privileges of your Tine20 installation (e. g. the initial admin account you had created during the setup).