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,022
    421
    83
    May 31, 2014
    Ratings:
    +816
    Local Time:
    11:42 PM
    Nginx-1.17.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

    50,472
    11,662
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,084
    Local Time:
    6:42 AM
    Nginx 1.25.x
    MariaDB 10.x
  3. rdan

    rdan Well-Known Member

    5,419
    1,386
    113
    May 25, 2014
    Ratings:
    +2,167
    Local Time:
    4:42 AM
    Mainline
    10.2
    I can only see this one as possible if you shutdown both mysql server with the same version of mysql.