[Techtalk] rsync problem copying directory from local machine to server

Lorne Gutz lgutz at vistar.ca
Thu Dec 19 09:42:30 EST 2002


Here is a script that I use with to back up two remote
sites.   It runs daily and has worked fine for some time.
cheers
Lorne

echo "Brockville backup"
 rsync -a --delete  --rsh=ssh 192.168.x.x:/data/www /vnas1/Brockville
echo "completed www"
 rsync -a --delete  --rsh=ssh 192.168.x.x:/data/mysql /vnas1/Brockville
echo "Brockville backup complete"
echo
echo
echo "Kanata backup"
 rsync -a --delete  --rsh=ssh 192.168.x.x:/data/www /vnas1/Kanata
echo "completed www"
 rsync -a --delete  --rsh=ssh 192.168.x.x:/data/mysql /vnas1/Kanata
echo "Kanata backkup complete"



On Wednesday 18 December 2002 19:06, Jenn Vesperman wrote:
> On Thu, 2002-12-19 at 04:18, k.clair wrote:
> > is anyone out there familiar with rsync? i sent this message to the
> > rsync list and have yet to get a response...
> > -
> > - rsync -vr --numeric-ids --dry-run / rsync.host.com::lvs_server_v1
>
> I use rsync, but not in such a complicated way.
>
> My usual rsync is somethin like rsync -e ssh local/path
> host:/remote/path.
>
> That's adequate for me, to copy things.
>
>
>
> Jenn V.





More information about the Techtalk mailing list