On 02/16/2013 03:20 PM, lux-integ wrote: > On Sunday 27 January 2013 18:41:28 Bruce Dubbs wrote: >> lux-integ wrote: >>> Greetings >>> >>> I need to transfer a few tBytes of data between two machines. Both have >>> vsftpd installed. I assumed that both had an ftp client as ftp was >>> part of one of the core programs of LFS/CLFS. Having set-up vsftpd >>> (server) on the source-machine, on the destination-machine >>> at shell prompt I typed :- >>> >>> ftp [email protected] >>> >>> only to find I have no 'ftp (i.e. client) executible'. >>> >>> I have sftp but since it is only data between two neighbouring machines >>> I thought a simple even if insucure >>> method would suffice. Advice and suggestions on available ftp clients >>> would be much appreciated. >> I suggest setting up rsyncd on the source machine and use rsync on the >> destination system. A second backup then becomes much simpler. > > thanks to all for the advice. I only just got around to attempt the file > transfer (using rsync) between the machines. > > I have two machines with rsync-3.0.9. The source machine had rsync installed > in a chroot environment (as per clfs ) I ran rsync like so:- > > a) source machine: rysnc --daemon -c /etc/rsyncd.conf > b) dest. machine: rsync -avz SOURCE_IP:sourceDir/ destDir/ > > > the transfer aborts before starting. It ends with a message (destination > machine ) of the type below:- > #--------------------------- > error in IPC code ( code 4 ) at io.c(1532) Receiver [3.0.9] > #--------------------------- > > advice would be appreciated > > sincerely > luxInteg Do you have ssh installed on both machines?
If you do, you don't need to run rsyncd if you have sshd configured and running on the target machine. Just rsync -var <ip | host.domain>:<source directory> <target directory> should then work. rsync spawns ssh to make the connection and then it run over the "ssh tunnel" -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
