kolab migration

Andreas Gungl Andreas.Gungl at osp-dd.de
Fri Dec 16 16:03:49 CET 2005


Am Freitag, 16. Dezember 2005 15:07 schrieb Thomas Spuhler:
> On Thursday 15 December 2005 11:28 pm, lucas at swiftkenya.com wrote:
> > hi all,
> >
> > I have been using kolab 1 for the past 1 year and the product has been
> > excellent and our system has been up and running for the past year.
> > unfortunately as it is with IT new challenges crop up all the time and
> > I have realised it's time i moved over to Kolab 2 , My biggest
> > challenge is how to do the changeover without adding the users afresh
> > plus how do i copy all the users e-mail from kolab1 to 2.
>
> From all I heard and read, you have to enter all users. I think, you can
> leave the e-mail there or may do a backup.

Don't believe that!
At first, have a look at slapcat / slapadd. Then create a test user on your 
Kolab 2 system. Compare the LDIF content to the Kolab 1 installation. Take 
care for differences. Write a little Perl script to tweak what's needed.
Then do something like: 

slapcat > old.ldif
cat old.ldif | your_script > new.ldif
slapadd new.ldif

I've migrated 50+ users without to enter them manually, however my Perl 
script is of course specific for our environment. So it won't help you.

To keep the e-mail, you can copy them from the old to the new system (but 
you would need to rebuild the indexes afterwards, which might be a pain). 
This is the way I did it.
You can let the users move them from the old account to the new one (given 
you can run both systems in parallel). Or you can use an IMAP sync 
solution. IIRC you would need to know the passwords in that case. Search 
the archive of this mailing list for details ...

Andreas




More information about the users mailing list