[TAG] Mirror 2 web servers (fwd)
Ben Okopnik
ben at callahans.org
Wed Mar 24 19:54:07 MSK 2004
On Wed, Mar 24, 2004 at 11:11:39AM -0500, John Karns wrote:
>
> "man bash" at the command prompt will yield the extensive bash man page,
> assuming that you have it available on your system.
>
> Also, there are some articles on the subject in the archives of the Linux
> Gazette, some of which were authored by Ben Okopnik, one of the members of
> the answer gang.
Yep. Just search for "shell scripting" (including the double-quotes) at
<http://linuxgazette.net/search.html> and you'll see it right at the top
of the stack.
> The rsync utility is often used for mirroring and can save bandwidth. For
> the MySQL side of it, you may need to get a bit more creative. I would
> suggest fishing around on the 'net for DB mirroring with MySQL, as I
> think rsync is intended more as a tool to deal with plain ASCII files,
> although I could be off on that.
[grin] Just a little, John. "rsync" is intended for file transfer in
general, no restriction as to type. I use it with the "-e ssh" option
(actually, I have "RSYNC_RSH=/usr/bin/ssh" set in my "~/.bash_profile"),
so it uses SSH as the underlying mechanism, but "rsh", although
deprecated in most situations, is also type-independent (although it's
somewhat clunky - the STDIN/STDOUT method of transferring data does make
it _look_ like a text-specific gadget.)
* Ben Okopnik * okopnik.freeshell.org * Technical Editor, Linux Gazette *
-=-=-=-=-=o0o=-=-=-=-= <http://linuxgazette.net/> =-=-=-=-=o0o=-=-=-=-=-
More information about the TAG
mailing list