Mirroring Webserver with rsync

Discussion in 'General' started by acech, Feb 24, 2012.

  1. acech

    acech New Member

    Hey Guys!

    I hope everyone is well!

    I am currently running a webserver using Ispconfig 2. I am looking for solutions to keep a mirror of the webserver onto a second machine. There seems to be a lot of information about how to do this for Ispconfig 3, but I have so far found no information about doing it in version 2.

    I am hoping to simply keep a mirror up to date using rsync. However other than the /var/www directory I am not sure what files I should sync. Can anyone suggest which files I need to sync and what problems I might encounter?

    Many thanks,

    Chris
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You should set up MySQL replication and also sync the configuration files that are changed by ISPConfig, e.g. /etc/postfix/local-host-names, /etc/postfix/virtusertable, Apache's Vhosts_ispconfig.conf, named.conf, etc.
     

Share This Page