I did not find the answer right away on searching the internet. But I eventually found where. So I simply put this here in case anyone else needs to rsync their data to or from a samba share using Fedora 17.
When I browse the network in my gui desktop, I can mount the public share from my little nas. However, the string name for the location in the desktop browser is
Code:
smb://o6o1.local/storage/
This is not rsync friendly. Example:
Code:
[auser@Fedora17 ~]$ rsync smb://o6o1.local/storage ./ -rvn
ssh: Could not resolve hostname smb: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(605) [Receiver=3.0.9]
There is probably some way to tell rsync that I am using that smb: host but that is not what I wanted to do at the moment.
I found by mount command that Fedora used the fuse-daemon to connect the share on a far off folder in a /run directory that I did not know about before.
Code:
[auser@Fedora17 ~]$ mount
....
gvfs-fuse-daemon on /run/user/auser/gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=500,group_id=500)
...
[auser@Fedora17 ~]$ ls /run/user/auser/gvfs/
storage on o6o1.local
[auser@Fedora17 ~]$
With that I was able to use rsync the way I previously have done.
Code:
[auser@Fedora17 ~]$ rsync /run/user/auser/gvfs/storage\ on\ o6o1.local/ ./ -rv
sending incremental file list
....
sent 2009352292 bytes received 2199492 bytes 1332594.76 bytes/sec
total size is 2001876702 speedup is 1.00
[auser@Fedora17 ~]$
Yay!