Forum archive
Mariabackup for migration?
Im looking for advice here. I need to migrate a V15 TKL Lamp applicance to V16 TKL Lamp appliance.. and the most obvious solution would be TKLBAM... but I haven't been able to get that to work due to issues in my database tables.
I was working on other options for migration and came across mariabackup.... so far it sounds perfect on paper, but my question is... am I able to use mariabackup on v15 which is MariaDB 10.1 and take a full backup, then prepare it, then transfer it to the new TKL V16 which is MariaDB 10.3 and restore it?
When I try this I can't ever get Mariadb to start up again.
Anyone have a suggestion other than TKLBAM (Which I may try to get working again now that I have been cleaning up the column length issues) for migrating appliances?
Thanks!
In theory, I imagine that it should "just work". Having said that AFAIK, it's intended to just backup a DB (for later restore to the same version of MariaDB). So considering that you are migrating data to a new version, then perhaps there is something within the DB that isn't right for the newer version? I.e. perhaps you need to upgrade the DB? I suggest that you try the built-in tool on the v16.x server:
If MySQL/MariaDB still won't start, then I suggest checking the journal and see if there is anything obvious in there: