Roundcube Community Forum

 

Database migration

Started by miglincit, July 14, 2025, 01:43:39 PM

Previous topic - Next topic

miglincit

Hello,

I had to setup my server and during that I also updated to newer versions of all services...
E.g. Debian Buster (10) to Bookworm (12) aso.

And it that course I also installed Roundcube 1.6.5. from scratch.
I do have an SQL-Dump of the data of the previous installation and would like to know the easiest way to merge the data from the older version in to the new database. I am especially interested in restoring:
  • identities
  • contacts
  • contact-groups

I did add/create some sub-folders (3) in the meanwhile, but those can be recreated if necessary.

Any help is appreciated
Thanks
Thomas

SKaero

The easiest would be to update the old database, if you have merge the two databases it will be rather tricky.

To update the database you can either use the installer script that comes with Roundcube or do it manually by running the SQL files for each update that are in the SQL folder.