Koozali.org: home of the SME Server

Migration tools

achandra

Migration tools
« on: May 03, 2007, 06:36:00 PM »
Hello,

I searched a while and didnt really find a quick or satisfying answer to this question -

Assuming you have over 15 people on the SME email system and need to migrate to a more powerful box, what is the most effiecient and accurate method for migration of mail boxes???

AND.. when migrating from .OST to maildirs, minus the nasty outlook to imap migration way, there has got to be something more efficient.

The clients have per mail box over a 1GB of data which cant be lost- yes they know how to delete. Yes its all important.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Migration tools
« Reply #1 on: May 03, 2007, 06:45:31 PM »
Quote from: "achandra"
Hello,

I searched a while and didnt really find a quick or satisfying answer to this question -

Assuming you have over 15 people on the SME email system and need to migrate to a more powerful box, what is the most effiecient and accurate method for migration of mail boxes???

AND.. when migrating from .OST to maildirs, minus the nasty outlook to imap migration way, there has got to be something more efficient.

The clients have per mail box over a 1GB of data which cant be lost- yes they know how to delete. Yes its all important.
How about a backup and restore?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

pcm

This is how I do it
« Reply #2 on: May 08, 2007, 08:01:14 AM »
This is how I do it, I use the Lazyadmin tool you can find it here http://mirror.contribs.org/smeserver/contribs/mblotwijk/Contribs/lazy-admin-tools/, install.
Lazyadmin tool will drop 11 files that all are named lat-* in the directory "/usr/sbin". You open and edit all files and change ( search and replace) the lines that say "/home/e-smith/accounts" To "/home/e-smith/db/accounts" on both old and new server. That will move all users the you move the settings.

Then you attach the old disk to the new server in a USB caddy
“mkdir /mnt/usb”
“mount /dev/sdc3 /mnt/usb” (this could be tricky you have to know what disk you are using SATA SCSI etc.)
and
copy users (all files in "/home/e-smith/files/users")
ibays (all files in "/home/e-smith/files/ibays")
mysql  (all files in "/var/lib/mysql" minus the mysql directory and mysql.sock) files.

This will fix almost all but not passwords, mysql users, special settings and windows connections

That will fix it