does partial option work over ssh?

Paul Slootman paul at debian.org
Fri Jul 14 08:34:09 GMT 2006


On Fri 14 Jul 2006, Glen Davison wrote:
> 
> This is what I believe SHOULD work, but it doesn't:
> 
> rsync -aP -e 'ssh -c blowfish' user at host:/path/to/file1/ newpath/
> 
> - it just starts again.

The interrupted rsync session also needs to have had the --partial
option (implied here by -P) active, otherwise the interrupted session
will have discarded the partial data.

If --partial _was_ in effect, then how did you determine it starts
again? Remember that rsync will still verify the contents of the partial
transfer, i.e. use checksums to verify the data already there. That may
look like it's transferring again.  If you want to skip that, use
--append to just append data.

> Both machines are behind firewalls, but going in the above direction
> should be okay; plus of course it does succeed in copying, just not in
> appending.
> 
> A colleague here says he has tried to do the same thing, and he could
> get it to work for an rsync daemon, but not over ssh.

The underlying transport is not relevant.


Paul Slootman


More information about the rsync mailing list