GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » GFI User Forums » Kerio Connect » Mail Server Migration
Mail Server Migration [message #144621] Tue, 18 December 2018 21:32 Go to next message
DeepThought is currently offline  DeepThought
Messages: 72
Registered: March 2014
I'm going to be migrating my mail server to a new Apple Mac mini (which will be running mirrored SSDs and a Pegasus RAID server for the data store. Currently the server is on a Mac mini running a standard mirror with the data store locally.

Has anyone got ay suggestions on the best way to migrate? I assume moving the data store to the external Pegasus first, then performing a full backup from the old MacMini and restoring to the new Mac mini?

Cheers
Re: Mail Server Migration [message #144622 is a reply to message #144621] Wed, 19 December 2018 11:04 Go to previous messageGo to next message
bm
Messages: 57
Registered: July 2008
1. Install new Kerio
2. Stop all services on new Kerio
3. RSYNC Datastore (via terminal or CCC)
4. Stop old Kerio services
5. Repeat step 2
6. Copy config from old to new Kerio
7. Shut down old Kerio
8. Change IP/host on new Kerio (to old one) and datastore paths in config
9. Start new Kerio

[Updated on: Wed, 19 December 2018 11:10]

Report message to a moderator

Re: Mail Server Migration [message #144624 is a reply to message #144622] Wed, 19 December 2018 12:30 Go to previous messageGo to next message
DeepThought is currently offline  DeepThought
Messages: 72
Registered: March 2014
Thanks bm - so you're saying to do the whole migration in one go?

Could you clarify in step 5 why you'd repeat step 2 - Stop all services on new Kerio - they'd already be stopped wouldn't they?

Is there a Kerio kb on copying the config?

Thanks again
Re: Mail Server Migration [message #144633 is a reply to message #144624] Thu, 20 December 2018 22:52 Go to previous messageGo to next message
fishtech is currently offline  fishtech
Messages: 608
Registered: September 2010
check this one out...

https://manuals.gfi.com/en/kerio/connect/content/server-conf iguration/export-and-migration/transferring-an-installation- of-kerio-connect-to-another-server-or-operating-system-360.h tml


btw... when you come back on the other side it's likely the path to your mailstore will have changed.

so, there are several paths you MUST update within the Connect admin interface to reflect this in your new installation. The paths include Backup location and Full Text Search Index location. I think there is something else... can't remember off-hand.

ft.
Re: Mail Server Migration [message #144663 is a reply to message #144624] Thu, 27 December 2018 14:25 Go to previous messageGo to next message
robvas is currently offline  robvas
Messages: 4
Registered: November 2018
Location: USA
philstone wrote on Wed, 19 December 2018 06:30
Thanks bm - so you're saying to do the whole migration in one go?

Could you clarify in step 5 why you'd repeat step 2 - Stop all services on new Kerio - they'd already be stopped wouldn't they?

Is there a Kerio kb on copying the config?

Thanks again

The first stop is for the old server, second is for the new server
Re: Mail Server Migration [message #144694 is a reply to message #144663] Wed, 02 January 2019 15:32 Go to previous messageGo to next message
Maerad is currently offline  Maerad
Messages: 275
Registered: August 2013
Here's how I did it:

- Stop Kerio service on old server
- Install Kerio on the new server, stop it right away (just to be sure that everything you need is installed) and copy the mailserver.cfg somewhere else
- Copy your kerio folder from the old server into the new one
- Go into the mailserver.cfg from the "new" install and look up the new path. Copy that, close the file, open the old one in you kerio folder on the new server and do a "search and replace" to change the old dir to the new one.
- Start the services and be done. Or do a reboot :3
Re: Mail Server Migration [message #144722 is a reply to message #144621] Sat, 05 January 2019 02:39 Go to previous messageGo to next message
MacLab is currently offline  MacLab
Messages: 233
Registered: May 2012
Phil, out of curiosity is this a new mini running 10.14 and the T2 chip?
Re: Mail Server Migration [message #144728 is a reply to message #144624] Sat, 05 January 2019 13:39 Go to previous messageGo to next message
Backspin is currently offline  Backspin
Messages: 130
Registered: June 2008
Location: Amsterdam, the Netherland...
philstone wrote on Wed, 19 December 2018 12:30

Could you clarify in step 5 why you'd repeat step 2 - Stop all services on new Kerio - they'd already be stopped wouldn't they?

Seems like a type to me, he probably means repeat step 3. That would make more sense.

Step 3 syncs all your data to the new server, while the old server is still running. This way, you won't have downtime during sync (Otherwise, if you have a lot of data to copy, you could have considerable downtime).
However, because you are syncing a live server, it is possible that files are changed after or during sync, so you won't have an exact copy.

This is why you stop the old kerio in step 4, and then rsync again in step 5. Because you are using rysnc, only changed and new files are synced, so this sync will be much faster than the first sync from step 3. And because the old kerio is now stopped, there won't be any changing or new files during sync, so this time you will end up with an exact copy.

The 2 methods from the knowledgebase article on migrating do work, but both cause considerable downtime because you are copying your full datastore while your old server is stopped, so effectively your services are down as long as it takes to copy all your data.




Re: Mail Server Migration [message #144729 is a reply to message #144728] Sat, 05 January 2019 19:37 Go to previous messageGo to next message
mayall is currently offline  mayall
Messages: 97
Registered: October 2006
Ages ago, I wrote a detailed process for migration that has little downtime:

http://forums.kerio.com/t/25707/detailed-steps-to-move-kerio -connect

You might want to at least take a look at it to see if it helps.

I'll also mention that I used the above process a few years ago to move from Mac to Linux (Ubuntu) on AWS. I am extremely happy that I made the move.

Thanks,

Will Mayall

[Updated on: Sat, 05 January 2019 19:40]

Report message to a moderator

Re: Mail Server Migration [message #144735 is a reply to message #144621] Mon, 07 January 2019 10:07 Go to previous message
DeepThought is currently offline  DeepThought
Messages: 72
Registered: March 2014
Thanks all - I did the migration and it all went smoothly. Seeing as the new server was blank I stopped them both at the same time, copied the data across and restarted the services and all went in fine.

Thanks again.
Previous Topic: imapcopy or outlook download
Next Topic: PublicContacts
Goto Forum:
  


Current Time: Fri Mar 24 20:17:19 CET 2023

Total time taken to generate the page: 0.01810 seconds