B
B
Baldaris2015-09-21 13:46:11
MySQL
Baldaris, 2015-09-21 13:46:11

How to transfer a loaded MySQL database to another server and keep it synchronized?

Hello.
I want to move my site to another server. Transferring files is not a problem, but there is a problem with transferring a database.
DB ~ 7 GB, over 20000000 records. While a backup is being made, merged with rsync, imported, thousands of records can already be added to the database on the old server and some of the records can be modified. Are there any tools for synchronizing the database so that after updating the A-record of the domain name, the data in both databases are up-to-date and subsequently disable the database on the old server?
The problem is aggravated by the fact that an old server (FreeBSD 8.4) with rather ancient software and putting some program there can be problematic due to unresolved dependencies.
MySQL version on old server 5.1.68
MySQL version on new server 5.5.45-37.4-log - Percona Server

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Fixid, 2015-09-21
@Baldaris

Master-slave
habrahabr.ru/post/56702

I
Ivan Gontarenko, 2015-09-21
@dez-fafara

mariadb galera ;-)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question