이 명령을 사용하여 FTP 서버에서 백업을 확인하려고 합니다.
duplicity verify ftp://[email protected]/ /home
이 오류가 발생합니다.
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>
with_tempdir(main)
File "/usr/bin/duplicity", line 1404, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1340, in main
verify(col_stats)
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
self._add_to_outbuf_once()
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
답변1
이중성의 실수인 것 같습니다.
이 스레드에는 전체 트리가 아닌 한 번에 단일 디렉터리에서 유효성 검사를 실행하는 등 여러 가지 해결 방법이 포함되어 있습니다. 이상적이지는 않지만 없는 것보다는 낫습니다.