On Thu, 28 Sep 2000, Dan Phoenix wrote:
>Hello i am new to this list.
>I was wondering if someone could set me up in right direction.
>What i want to do is update all my other 15 webservers
>from a cvs tree with rsync.....anyone help me out?
Are they connected in a LAN or long-distance? Can you log in from one to
another with ssh?
Here's a script I use to back up a directory containing a website (the graphics
are made with POV-Ray, hence the directory name) across a LAN:
#!/bin/sh
rsync -avuz --exclude=*.ppm littlecat::phma/pov /home/phma/
rsync -avuz --exclude=*.ppm /home/phma/pov littlecat::phma/
And the same with ssh:
#!/bin/sh
rsync -avuze ssh --exclude=*.ppm littlecat:/home/phma/pov /home/phma/
rsync -avuze ssh --exclude=*.ppm /home/phma/pov littlecat:/home/phma/
You need only one of the two rsync lines if you're always going the same
direction.
phma