New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Back - restore email to new server

Started by Dangerousdave26, November 18, 2026, 11:26:30 PM

Previous topic - Next topic

Dangerousdave26

Old server
I used New Backup
User Accounts = By Account (only have one on this server)
Features and Settings =
  Mail users and mail aliases
  Contents of server Mysql databases
Destination = local file
Frequency = none
Notifications = email

Then I manually ran the backup.

Then I copied over the file to the new server

Using New Backup again I restored the account. Note the account name is different on the new server. I had changed the name of the file to match the new account name before I uploaded it.

The email addresses seemed to have copied fine. I can see them under Admin control panel | Email | Email Accounts

If I go to Mail Explorer all of the email accounts show up. If I click on my email account Inbox is there with all of my subfolders but no messages in any of them.


All of the mail services restart fine

I can log into Roundcube but there are no folders and no emails in the inbox. There is a red pop up box on the bottom right side that says "Server Error: STATUS: Internal error occured. Refer to server log for more information. [date and time]

My guess is this is a result of the old user account for being tied to the email accounts. I am not sure where the roundcube error log is. Not one specifically named round cube in /var/log folder.

Anyone who can give me some advice it would be appreciated.



Dangerousdave26

And when I am looking at the old server I can see the "mail" folder under the account name. That folder is not on the new one so my backup didn't work.

What is the correct way to do the backup and restore for only voicemail?



Dangerousdave26

Well it turns out the restore halfway worked. A few of the email accounts imported without an issue. Some of them like mine did not copy all of the emails and the owner of the folder was root:root. Once I chown the folders I could log in. For my account and one other I had to copy over the email files from the backup. Then chown them again.

The instructions you provided (again Thank you) say to chown vmail:mail. On another server I run with multiple domains and email address all of them are set {user account}:mail. That is how I setup this one. I tested with one of the accounts making them vmail:mail and it through a bunch of errors when I logged into the mailbox.