Migrating from A server to B server
Migrating from A server to B server
I have Debian 12 installation (server A) that holds only mail domain(s) and users.. No webhositng or anything else.
I plan to install Debian 13 on server B and migrate only needed DB tables from A to B to keep domains, accounts,passwords, dkim's, aliases etc,etc.. + rsync /var/mail/vhosts/* content.
Question is: what exact tables I need in this case that hold mail related data? Considering it's Debian 12 to Debian 13 I guess it's not recommended to drop/import whole "keyhelp" database ? Or is it ? (it would be simpler)
Also, can I do same with "roundcube" database ?
Thank you
Re: Migrating from A server to B server
you can import the KeyHelp database as well as Roundcube to your new server.
However, you'll need to update the IP addresses or hostnames in the table.
You may want to have a look here: viewtopic.php?p=38734#p38734
DKIM keys are not stored in the database, and are located here: /var/lib/rspamd/keyhelp/dkim/
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Migrating from A server to B server
so whole database can be moved to new server ? Also, regarding IP change, I guess you mean panel IP address ? Can I just update value in settings table once I import "old" DB to new server ?
This:

DKIM.. I guess it's just easier to generate new one and update DNS.