MySQL Synchronization

Comments: 0

MySQL Synchronization

Handy Backup is a professional data backup and synchronization software with an advanced MySQL Backup feature that lets you dump your databases into readable text files.

MySQL synchronization is a process of making two MySQL databases having identical contents. It’s a general idea that is realized differently in clustering, replication and other applications.

Basically, there are two types of synchronization:

  • One-way synchronization is used when a database being synchronized doesn’t receive any changes from MySQL clients, or receives an insignificant amount of changes that can be lost.

    For example, in a Master-to-Slave replication configuration, there is a Master database that receives data from MySQL-based applications and acts as a data source for Slave databases that act as read-only storage.
  • Two-way synchronization implies that both databases can be modified by MySQL clients and any record made to one database must be inserted into the other.

Learn more about MySQL Backup.

Version 7.15.0, built on 10 July, 2018
164 MB

Contents [hide]

Data Synchronization in Clustering Configuration

MySQL clusters are built of several MySQL servers (SQL nodes) that are configured in such a way that all storage, processing and management operations are shared amongst all of them.

The storage engine used in all tables is called Network DataBase (NDB): it’s an in-memory engine which tracks changes made to any clustered server and automatically synchronizes all other servers, so at any time they have identical contents.

Synchronization in a MySQL cluster is performed automatically and doesn’t require any additional setup. It is important to remember that having a cluster does not remove the need for backups.

Clustering enables you to increase the database’s speed and availability, but it doesn’t protect from SQL injections and user mistakes. For instance, if you accidentally delete a table in one database, it will be deleted on all clustered servers too.

Recommended solution

Handy Backup Small Server

Version 7.15.0, built on 10 July, 2018. 164 MB
Backup Software from Novosoft LLC. 249 USD per license.

Handy Backup Small Server

To take advantage of the MySQL backup and recovery functions, you need the Small Server edition of our small business backup solutions. Try it for 30 days free of charge!

Synchronization in Replication Configuration

Unlike clustering, MySQL replication configuration doesn’t expect all nodes to share one in-memory storage engine and be synchronized all the time.

On the opposite, it is often recommended to set different storage engines for different servers, and distribute the roles so that one of them processes all INSERTs and UPDATEs, while the others handle all reading operations.

The reason for assigning different server roles is that storage engines perform much slower under concurrent reads and writes. Replication is a built-in feature of the database management system, in which synchronization of MySQL servers is made differently than through common SQL updates.

It is based on analyzing changes made to the Master database and reproducing them on the Slaves.

When trying to synchronize MySQL databases, the replication engine doesn’t verify that they are identical, which can lead to unexpected errors. A common approach to setting up replication is to take a full backup of the Master Server and restore it on the Slave Servers.

Handy Backup can be helpful in two aspects: it provides a fast way to perform the operation, and also creates very understandable backup files (database dumps) that can be modified by hand, which lets you easily change storage engine for your Slave Servers.

To learn more, please refer to MySQL Replication.

Version 7.15.0, built on 10 July, 2018
164 MB

Physical (Cold) Backup and Synchronization of MySQL DBMS

There is an interesting approach that enables you to backup and synchronize MySQL databases very quickly by simply stopping the DBMS and copying its binary files to a different place.

This method is often referred to as physical backup, because it doesn’t work with the database’s programming interfaces, but treats it as common HDD files.

For many businesses the cost of a downtime of several minutes may result in huge losses, and this is another situation where MySQL replication proves its worth. An example scenario of combining replication and “cold” backups could be as follows:

  1. Set up Master-to-Slave replication configuration.
  2. When you need to make backups, stop the Slave Server.
  3. Let MySQL dump all data from the memory to the disk.
  4. Copy binary files of the Slave Server’s database to a safe place.
  5. Re-run the Slave server.

Among other powerful features, Handy Backup can run third-party scripts and applications prior to and after running backup tasks. In the above scenario, this function can be used to stop the MySQL server and run it after the copying is complete.

Licensing Information

As it’s been said above, synchronization of MySQL databases can’t replace backups. The recommended way to set up automated backup of your MySQL databases is to use one of the business editions of our software.

Handy Backup Small Server
Handy Backup Server Network

Try MySQL Backup in Small Server and Server Network editions - 30 days trial!

To see pricing on these and other editions of our software, please refer to the Order section.

Video Example

In the following video tutorial you can find how to back up and restore a MySQL database with Windows version of Handy Backup.

Download and install our software today - making your first backup will only take two minutes!

Our utility lets you back up and synchronize your MySQL databases quickly and hassle free!

Version 7.15.0, built on 10 July, 2018
164 MB

Loading comments, please wait...


    Contact Us

    +1 (707) 703-13-11

    Handy Backup Small Server

    $249 per license

    Upgrade to version 7

    Volume Discounts
    1 license$249 per unit
    2-9 licensescontact us$249 per unit
    10-49 licensescontact us$249 per unit

    See all volume order prices

    Similar to MySQL Synchronization:

    Cloud Synchronization Tools - read how you can apply different types of cloud synchronization

    Medical Data Backup - learn about making backups of medical data with MySQL Server

    Auto MySQL Backup - read about different features of our software that you may find useful when backing up MySQL

    Database Backup - how to protect databases with different Database Backup plug-ins

    MS SQL Server Backup - check out how to easily back up data of Microsoft SQL

    Oracle Backup - learn how our software backs up and restores Oracle databases

    MariaDB Backup Tool - enjoy automatic MariaDB backup with our software

    Who uses our backup software?