Using ssh is not an option because I am backing up OS X to a Linux
drive. rsync on the linux side cannot handle the extra attributes and
resource forks of OS X.

So, I need a way that involves one-sided rsync, thus the mounted-
filesystem solution.



On Apr 2, 10:26 am, Chris Pepper <[EMAIL PROTECTED]> wrote:
> At 8:00 AM -0700 2007/04/02, duklaa wrote:
>
>
>
> >I am having problems getting rsync to work on a folder on my sshfs
> >mounted. I am getting "permission denied" errors. However, I can read/
> >write to the volume just fine from both the finder as well as the unix
> >prompt.
>
> >The exact same rsync command works fine if I mount the same
> >destination using nfs instead of sshfs:
>
> >/usr/bin/rsync --verbose --progress --stats --compress --archive --
> >recursive --times --perms --links --delete -E --owner --group -D --
> >exclude-from=backup_excludes.txt --one-file-system / /Volumes/MyServer/
> >backup
>
> >I am running latest Tiger.
>
> >Any clues?
>
>         No, but a suggestion. If you are doing an update, instead of
> a full copy, rsync will be *much* faster if you let it connect via
> ssh instead of pointing it at a network mount (AFP, NFS, sshfs, etc.).
>
>         The 'magic' part of rsync is comparison of binary files,
> which requires reading both files to generate rolling checksums; then
> only the differences need to be copied over the network. With rsync
> connecting to the remote server via ssh, both systems read the files
> and calculate checksums locally, copying over the differences.
> Running over a network share, the system running rsync needs to copy
> the whole remote file over the network link so it can compare against
> the checksums on the local file; then the differences are copied.
>
>         So rather than copying only checksums + deltas over an
> ssh/rsh link (see "--rsh" in rsync's manual page), if rsyncing
> against a share you copy whole files + deltas, which is double the
> total data size in the worst case.
>
>                                                 Chris
> --
> Chris Pepper:                <http://www.reppep.com/~pepper/>
>                               <http://www.extrapepperoni.com/>
> The Rockefeller University:  <http://www.rockefeller.edu/>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"macfuse-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/macfuse-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to