I often have to migrate between different Arch Linux systems. Some libraries have identical configurations, but different versions.
Concrete example: on OS A, I have MariaDB 14, with config files (
/var/lib/mysql) that I want to migrate to OS B with MariaDB 15.
Is it more appropriate to :
- copy the configuration files then install the library (with
pacmanin my case);
- or install the library, and replace the configuration files after ? This question is not only reliable to MariaDB, but also to other programs like Sublime Text, Chromium, keepass, ...
When are the configuration files updated? When updating the library? When launching the library? Does this change from one program to another?
Thank you in advance for your answers