Page 1 of 1

migration -> is there a working solution?

Posted: Wed Jan 30, 2008 4:41 pm
by arminhaaf
It seems there is no way to migrate scalix data to a new server with a new OS, another hostname/IP and a new scalix version (at least nobody has a solution for my problem posted previously http://www.scalix.com/forums/viewtopic.php?t=9932)

So is there a way to copy mailboxes including calendar data from one scalix instance (11.0.4.25) to another instance (11.3). I'm willing to create all users/groups/aliases... by hand

I tried it with omcpoutu but there is no calendar data after importing and no folders (my backup strategy builds on that feature and it seems thats not a good strategy ) :(

Posted: Thu Jan 31, 2008 4:01 am
by Valerion
If you're on Scalix 11 you should use sxmboxexp / sxmboximp instead of omcpoutu / omcpinu.

Posted: Thu Jan 31, 2008 10:55 am
by Axel
I moved my Scalix 11.0.4 to another machine which should run Scalix 11.3 (both SLES 10). Here is what I did:

- install the new machine with all required software. Do not install Scalix yet. You can choose a different IP but the hostname MUST be the same as the hostname of the old machine.
- create user and group "scalix" on the new machine. UID and GID MUST be same as on the old server.
- Stop Scalix on the old machine.
- perform a backup of the message store and settings:

Code: Select all

tar --preserve --same-owner -czf backup.tar /var/opt/scalix

- perform a backup of the instance.cfg

Code: Select all

tar --preserve --same-owner -cf instance.tar /etc/opt/scalix

- copy both tar-files to the new machine and untar them. You should now have /etc/opt/scalix and /var/opt/scalix/??/s/...
- install the Scalix version that runs on the old machine on the new machine (for me it was 11.0.4).
- update Scalix to 11.3
- change IP and/or hostname. (Take a look at the Scalix Wiki how to do that.)

Don't know if there is a faster way but this works fine for me. Kept everything :D

Posted: Thu Feb 07, 2008 5:58 am
by arminhaaf
I used the export-import and it works with just minor glitsches

- the import automatically adds the old server as mailnode
- all folder permissions are lost