adamchernow's Avatar
adamchernow 3
9 Asked
33 Answered
8 Best
0
No one has voted on this question yet :(
2 years, 11 months ago

What's the easiest method to backup my webserver onto a standby machine? It's running on Debian.

Tip for best answer: M$0.25
Separate topics with commas, or by pressing return. Use the delete or backspace key to edit or remove existing topics.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

What is Your Answer?

0
0
0

2 Answers

0
gointomexico's Avatar
gointomexico | 2 years, 10 months ago
3
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.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

Report Abuse

Post Reply Cancel
0
bobfaist's Avatar
bobfaist | 2 years, 9 months ago
3
Use "rsync" to backup from one server to another. rsync is a package available on debian.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

Report Abuse

Post Reply Cancel

Learn something new with our FREE educational apps!

Private lessons in the comfort of your own home. Get back in shape or finally pick up a guitar with our great experts guiding you the whole way!
Learn Guitar
Learn Hip Hop
Learn Pilates