本地磁盘之间的 cygwin rsync 失败,并出现 rsync 错误:rsync 协议数据流中的错误(代码 12)
我正在使用 cygwin rsync 将本地磁盘备份到 USB 3.0 外部磁盘。通常,该过程会失败并出现以下错误:
alex/Pictures/AppData/Lightroom/Current
Db/Lightroom
Previews.lrdata/0/03E9/03E9CB0E-96B7-4602-BBAE-CBF820381731-514d8ee17112aeee3852fda5392a8ee8.lr-preview.noindex
rsync: writefd_unbuffered failed to write 4092 bytes to socket
[sender]: Software caused connection
abort (113)
rsync: connection unexpectedly closed (35523 bytes received so far)
[sender]
rsync error: error in rsync protocol data stream (code 12) at
/home/lapo/package/rsync-3.0.8-1/src/rsync-3.0.8/io.c(601)
[sender=3.0.8]
Traceback (most recent call last):
File "simpleBackupTest.py", line 23, in <module>
subprocess.check_call(rsyncCommand,
shell=True)
File "/usr/lib/python2.6/subprocess.py",
line 498, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'rsync -v
--log-file=/cygdrive/c/data/logs/rsync/rsync_backup_task.log
-a /cygdrive/c/Users/ /cygdrive/j/backup/Users' returned
non-zero exit status 12
本地磁盘似乎在 & 之前可用。发生此错误后,所以我不认为驱动器已断开连接。
有什么想法可能导致这种情况吗?
I'm using cygwin rsync to backup my local disk to a USB 3.0 external disk. Frequently, the process fails with the following error:
alex/Pictures/AppData/Lightroom/Current
Db/Lightroom
Previews.lrdata/0/03E9/03E9CB0E-96B7-4602-BBAE-CBF820381731-514d8ee17112aeee3852fda5392a8ee8.lr-preview.noindex
rsync: writefd_unbuffered failed to write 4092 bytes to socket
[sender]: Software caused connection
abort (113)
rsync: connection unexpectedly closed (35523 bytes received so far)
[sender]
rsync error: error in rsync protocol data stream (code 12) at
/home/lapo/package/rsync-3.0.8-1/src/rsync-3.0.8/io.c(601)
[sender=3.0.8]
Traceback (most recent call last):
File "simpleBackupTest.py", line 23, in <module>
subprocess.check_call(rsyncCommand,
shell=True)
File "/usr/lib/python2.6/subprocess.py",
line 498, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'rsync -v
--log-file=/cygdrive/c/data/logs/rsync/rsync_backup_task.log
-a /cygdrive/c/Users/ /cygdrive/j/backup/Users' returned
non-zero exit status 12
The local disk seems to be available before & after this error, so I don't think its the drive being disconnected.
Any ideas what could be causing this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论