How to rsync to an external HDD with TCP/IP ?

Kim Briggs patiodragon at gmail.com
Mon Jun 16 03:06:22 UTC 2008


...
>  Hi Brian (and others interested, too)
>  Well, I looked at duplicity and it sounds really interesting !
>  Thanks !! ;-)
>
>  In the meantime, with my very first inexperienced tries yesterday to get
>  the TCP/IP hooked i had many NO success !!! ;-(
>
>  Booting the system this morning the first time this external TCP/IP HDD
>  shows up properly with a FTP folder on desktop as 192.168.144.140 ;-D
>
>  I am able too to create and manipulate folders ;-))
>
>  So, optimistically I tried rsync to get a first backup to that unit with
>  the following result:
>
>  sna at WS222:~$ sudo rsync -av --progress /home/sna/
>  smb://192.168.144.140/Backup/710_804
>  ssh: smb: Name or service not known
>  rsync: connection unexpectedly closed (0 bytes received so far) [sender]
>  rsync error: error in rsync protocol data stream (code 12) at io.c(454)
>  [sender=2.6.9]
>  sna at WS222:~$
>
>  Can you, or anyone Ubuntu experts / cracks, tell me what I'm doing
>  miss / wrong here ???
>  I do notice it has to do with ssh (absolutely no experience & idea) and
>  Samba ! ;-)
>  Yes, the unit supports FTP and Samba !! ;-|
>
>  I am quite sure I am on the right path but doing properly !! ;-|
>
>  Your advice and guidance may lead me to the solution very soon ! ;-D
>
>  Cheers, svobi

Hi Svobi,

I would fall under the category of lesser-hack and not expert, but
here is how I got rsync going between two computers connected by
TCP/IP:

http://kimbriggs.com/computers/computer-notes/linux-notes/rsync-ssh-notes.file

You need to make sure there is connectivity between the two files
before you can sync them.

Here is a smb.conf file showing the absolute least restrictive
settings for samba:

http://kimbriggs.com/computers/computer-notes/linux-notes/samba-setup-ubuntu704-guide.file

good luck,
-- 
http://kimbriggs.com




More information about the ubuntu-users mailing list