[SLE] Syncing two linux boxes

From: Dan Eskildsen (danes_at_image.dk)
Date: 04/13/04

  • Next message: Josh Berkus: "Re: [SLE] Syncing two linux boxes"
    To: <suse-linux-e@suse.com>
    Date: Tue, 13 Apr 2004 23:56:19 +0200
    
    

    Greetings from Denmark! The weather is getting a little warmer over here.

    Here's my question:
    I run a little webdesign shop - one man band.
    I have three computers on a LAN connected to the net via a router + adsl connection.
    One computer has SuSE 9.0 installed. I use it as an apache, mysql, sendmail server.

    Another computer on the Lan is also a SuSE 9.0 box. It is sightly used as a workstation, mainly for surfing the net and emailing. I would like to use this computer as a backup of my server just in case something should happen.

    What is the easiest way to sync the two machines?

    What I am interesting in syching:
    1. htdocs /srv/www/htdocs
    2. the mysql database
    3. My Apache configuration file at /etc/httpd/httpd.conf

    I'm a newbie so I'll need pretty detailed instructions. I would like the two machine to sync nightly.
    Do apache, mysql on the server have to shut down in other to sync or can they sync "on the fly"?

    Any suggestions? Thanks in advance.

    Regards,
    Dan


  • Next message: Josh Berkus: "Re: [SLE] Syncing two linux boxes"

    Relevant Pages

    • Counting query problem
      ... against the MySQL table that I imported from my ISP's website everything ... when I upload the PHP pages to the ISP's server ... Apache2Triad which includes Apache server, MySQL and PHP and is Windows ...
      (comp.lang.php)
    • Re: Why would it make such a difference to move mysqld to another machine?
      ... adding another hard drive to your server and moving all of the database ... apache is eating all the memory and hardly any memory is left for IO cache. ... Since MySQL is clearly the bottleneck of the sites, ...
      (freebsd-questions)
    • Server-Voraussetzungen von Tomcat / Resin
      ... ob bei diesem Server Tomcat/Resin in Frage ... # cron: Cron Daemon ... # mysql: Mysql Datenbank ... # apache: Apache Webserver mit PHP4 und suexec ...
      (de.comp.lang.java)
    • Re: Database connection issues
      ... >>> mysql to connect do not retrieve the information needed. ... > anything to do with apache or php. ... to a different server, and that works. ... A production page is hardly the way to test for database problems, make a simple small page with some connecting and queries like 'SHOW DATABASES', undependant on other scripts and resources. ...
      (comp.lang.php)
    • Re: connecting to seperate mySQL server through PHP
      ... >We currently have our mySQL server on the same box as the Apache ... to the database. ...
      (comp.lang.php)