Home » Kerio User Forums » Kerio Connect » Mail Server Migration
  •  
DeepThought

Messages: 64
Karma: 0
Send a private message to this user
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
  •  
bm

Messages: 57
Karma: 11
Send a private message to this user
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]

  •  
DeepThought

Messages: 64
Karma: 0
Send a private message to this user
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
  •  
fishtech

Messages: 527
Karma: 16
Send a private message to this user
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.
  •  
robvas

Messages: 3
Karma: 1
Send a private message to this user
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
  •  
Maerad

Messages: 220
Karma: 38
Send a private message to this user
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
  •  
MacLab

Messages: 213
Karma: 15
Send a private message to this user
Phil, out of curiosity is this a new mini running 10.14 and the T2 chip?

MacLab, Inc.
Kerio Certified Partner, Reseller, Hosting Provider, Kerio Connect Certified.
http://maclaboratory.com
  •  
Backspin

Messages: 57
Karma: 27
Send a private message to this user
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.


  •  
Will Mayall

Messages: 71
Karma: 10
Send a private message to this user
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]

  •  
DeepThought

Messages: 64
Karma: 0
Send a private message to this user
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: Spamhaus Block List (CSS)
Next Topic: Outlook 2016 Mac, Kerio Connect 9.2.8, Large Attachments
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Thu Jan 17 21:50:29 CET 2019

Total time taken to generate the page: 0.79108 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.