question

The asker of this question selected no best answer.

answers (2)

gointomexi...
0
Votes
gointomexico  |  July 16, 2009 06:45 AM
Every time you deploy your master webserver, just have a script rsync your changes to your failover server, or copy all of your changes to yoru fialover server. Because your webserver is static, your changes are infrequent, this will work. Your failover will be exactly like your master. More simply,

rsync -vcr user@failover_server

add this to your crontab on your local acount, and set up no password ssh between the two boxes so you can automate the process. Kick it off arround the time you usualy deploy your webserver.
http://www.manpagez.com/man/1/rsync/
http://www.manpagez.com/man/5/crontab/
http://www.manpagez.com/man/8/httpd/

If you dont have rysnc (and you should) run apt-get install rysnc
http://linux.die.net/man/8/apt-get

and thinks for using debian. Debian Rox.
Comment
bobfaist
0
Votes
bobfaist  |  August 09, 2009 03:15 AM
Use "rsync" to backup from one server to another. rsync is a package available on debian.
Comment
140

ask any question

Top of Page
Buy Mahalo Dollars
WITH CREDIT CARD OR PAYPAL

Please log in to use this function.