Learn about Centmin Mod LEMP Stack today
Become a Member

Rsync mysql database files?

Discussion in 'System Administration' started by pamamolf, Jun 11, 2014.

  1. pamamolf

    pamamolf Well-Known Member

    4,037
    426
    83
    May 31, 2014
    Ratings:
    +824
    Local Time:
    3:48 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi

    I am wondering if it will work if i rsync the database folder from the mysql directory to another mysql directory on another remote server or not?


    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    51,238
    11,899
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,373
    Local Time:
    11:48 PM
    Nginx 1.25.x
    MariaDB 10.x
  3. rdan

    rdan Well-Known Member

    5,431
    1,393
    113
    May 25, 2014
    Ratings:
    +2,179
    Local Time:
    9:48 PM
    Mainline
    10.2
    I can only see this one as possible if you shutdown both mysql server with the same version of mysql.