Author Topic: Best way to clone emails to another server?  (Read 375 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Best way to clone emails to another server?
« on: April 04, 2020, 03:23:30 PM »
Hello,

Recently i set up new server, more powerful than my earlier and added whmch also. Since i want every account managed by whmch i need to manually migrate my  clients from my old server and add them again via whmch. But what is the best way copy/clone emails from client accounts? Does copying  /var/vmail/myclientmail to new server same place do the trick?

Thanks

Offline
*
Re: Best way to clone emails to another server?
« Reply #1 on: April 05, 2020, 02:20:58 PM »
Yes, it will work, that's how I did it a few months ago. But you will have to set the permission too. Also before copying anything, I made sure I had created accounts for every client and did them one by one. Not sure if that was necessary, just wanted to be safe and avoid uncomfortable phone calls with clients who lost emails.

Also if you want to transfer the passwords, you can do that too through the Postfix table on MySQL. Let me know if you need more information on that.

Offline
*
Re: Best way to clone emails to another server?
« Reply #2 on: April 07, 2020, 10:58:16 PM »
Works like charm. Thanks m8!