The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Update site between servers

Discussion in 'General Discussion' started by gabrielpasv, Oct 9, 2011.

  1. gabrielpasv

    gabrielpasv Member

    Joined:
    Aug 2, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Hi Guys...

    I have 2 servers with the exactly same cpanel sites and contents. I want both server to have the same contect always. Looks like make this happen automaticaly is kind of difficul (using rsyn and msql replication).

    Is there any way I can "update" a site? I mean... if I change some sites on server 1 I go on let say something similar to the "transfer" tool that will update my site. Is there anything like that/



    THanks
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    387
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Hello,

    Other than the method you have already mentioned ( rsync + mysql replication ), there is no other conventional approach...

    But if it is a cPanel server and you need only a few accounts to be synced, you can write a script which will take the account(s) backup on server1 ( where you make changes ) and restore the backup on server2 ( were you need the replicated account ).

    Please make sure that you test stuffs thoroughly before applying this.

    Thank you,
    Nibin.
     
Loading...

Share This Page