Learn about Centmin Mod LEMP Stack today
Register Now

Rsync mysql database files?

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

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,063
    427
    83
    May 31, 2014
    Ratings:
    +830
    Local Time:
    5:59 AM
    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

    52,172
    11,998
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,501
    Local Time:
    12:59 PM
    Nginx 1.25.x
    MariaDB 10.x
  3. rdan

    rdan Well-Known Member

    5,434
    1,395
    113
    May 25, 2014
    Ratings:
    +2,181
    Local Time:
    10:59 AM
    Mainline
    10.2
    I can only see this one as possible if you shutdown both mysql server with the same version of mysql.