Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to verify backup from ftp server using this command.

duplicity verify ftp://xxx.net@ftpback-bhs1-15.ip-198-100-151.net/ /home

I am getting this error

Difference found: File home/nginx has permissions 0:0 700, expected 500:500 700
Difference found: File home/nginx/domains has permissions 0:0 700, expected 500:500 755
Difference found: File home/nginx/domains/enxxxgd.com has permissions 0:0 700, expected 500:500 755
Difference found: File home/nginx/domains/enxxxgd.com/log has permissions 0:0 700, expected 500:500 755
python: ERROR: (rs_file_copy_cb) unexpected eof on fd417
python: ERROR: (rs_job_complete) patch job failed: unexpected end of input
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1411, in <module>
  File "/usr/bin/duplicity", line 1404, in with_tempdir
  File "/usr/bin/duplicity", line 1340, in main
  File "/usr/bin/duplicity", line 757, in verify
    for backup_ropath, current_path in collated:
  File "/usr/lib64/python2.6/site-packages/duplicity/diffdir.py", line 269, in collate2iters
    relem1 = riter1.next()
  File "/usr/lib64/python2.6/site-packages/duplicity/patchdir.py", line 499, in integrate_patch_iters
    final_ropath = patch_seq2ropath( normalize_ps( patch_seq ) )
  File "/usr/lib64/python2.6/site-packages/duplicity/patchdir.py", line 479, in patch_seq2ropath
    misc.copyfileobj( current_file, tempfp )
  File "/usr/lib64/python2.6/site-packages/duplicity/misc.py", line 166, in copyfileobj
    buf = infp.read(blocksize)
  File "/usr/lib64/python2.6/site-packages/duplicity/librsync.py", line 80, in read
  File "/usr/lib64/python2.6/site-packages/duplicity/librsync.py", line 94, in _add_to_outbuf_once
    raise librsyncError(str(e))
librsyncError: librsync error 103 while in patch cycle
share|improve this question
up vote 1 down vote accepted

Seems to be a bug with Duplicity:

That thread included a couple of workarounds such as running the verify on single directories at a time vs. the entire tree. Not ideal but better than nothing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.