rsync between gateway and workstation

2004-03-03 Thread Johan
Hi, Have one workstation 192.168.1.2 Have one gateway for access to internet 192.168.1.1 Connection between them by crossover cable. Only this 2 boxes. Want to copy the gateway /home/ directory to the workstation on /mnt/backup/. Both sides of copy is on ext3. Rsync is installed on both boxes

Re: rsync between gateway and workstation

2004-03-03 Thread Jim Salter
There are many different ways to accomplish this. Are you wanting to use rsync in daemon mode, or rsync over an ssh transport? I hate to deliver the stock answer, but it sounds like you need to RTFM a bit and then try us back if you still can't get it to work. -J Hi, Have one workstation

Re: rsync between gateway and workstation

2004-03-03 Thread Johan
Hi Jim, Thanks for your reply. Read the man rsync...even printed itbut well it looks a lot like shorthand to me. Kindly some pointers if other howto or whatever excist. I did research as best I could..butmaybe i don't have enough between the ears?? Rsync over ssh...will only once

Re: rsync between gateway and workstation

2004-03-03 Thread Jim Salter
Assuming you have sshd up and running on the remote box, and a user named backup which can log in interactively, you could do something like the following: rsync -av --rsh=/usr/bin/ssh [EMAIL PROTECTED]:/path/to/stuff Note that many *nix distributions / ssh installations (quite properly) do

Re: rsync between gateway and workstation

2004-03-03 Thread Johan
Hi Jim, Now it is working. I had all correct but... --rsh=/usr/bin/ssh...no mention in my docs of this. I just added this and there she goes. Thanks Johan *** On Wednesday 03 March 2004 20:50, Jim Salter wrote: Assuming you have sshd up and running on the remote