OBAS is migrated to a container with upgraded OS (e.g. from CentOS 5 x86 to CentOS 6 x86_64) according to How to upgrade OS (major) of PBA-S server or migrate PBA-S to new container, but hspc-mn-backup utility fails with an error:
[ DIE ] [Backup] MySQL version '5.1.66' does not match '5.0.95' backup is created for.
MySQL versions do not match in source and destination containers.
On the destination container remove mysql-server, mysql-libs and mysql packages:
# rpm -e mysql-server --nodeps # rpm -e mysql --nodeps # rpm -e mysql-libs --nodeps
Download and install mysql-server, mysql-libs and mysql packages with version matching ones on the source container:
# rpm -i mysql-server-5.0.95-1.el5_7.1.x86_64.rpm --nodeps # rpm -i mysql-libs-5.0.95-1.el5_7.1.x86_64.rpm --nodeps # rpm -i mysql-5.0.95-1.el5_7.1.x86_64.rpm --nodeps
Re-initiate migration on the source container:
# hspc-mn-backup -m root@[TMP_IP] –d