Author Topic: Missing Items - CWP To CWP Migration  (Read 93 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Missing Items - CWP To CWP Migration
« on: November 01, 2024, 02:03:56 PM »
I have come across the following items which gets missed out during CWP to CWP migration

1. MX records (If external mail services have been used)
2. Contacts of roundcube

I manually copied MX records
and
logged in to roundcube email (each) and used import-export option to transfer contacts (Any better method like an SQL query on roundcube DB?)

Are there any other items which gets missed out during this CWP-CWP migration?

Offline
**
Re: Missing Items - CWP To CWP Migration
« Reply #1 on: November 08, 2024, 07:30:28 PM »
Hi,

Look at this script:
https://github.com/JaimeObregon/export-roundcube-sql
It seems this script is what you look for to transfer the roundcube settings for specific domain between the servers.

Please note I didn't test this script.

If you want to transfer the whole roundcube database then do following:

As root on the source server do:

1.
Code: [Select]
mysqldump -Q --opt roundcube > roundcube.sql
2. Copy the file roundcube.sql to the destination server over FTP, SCP or some other way preferred by you.

3. Restore the database content on the destination server:

Code: [Select]
mysql roundcube  < roundcube.sql