2012-05-11 12 views
5

rsyncを使用して、あるサーバーから別のサーバーに500GBのファイルを転送しようとしています。私はこのコマンドを使用します。rsyncエラー:rsyncプロトコルのデータストリームでエラーが発生しました(コード12)

rsync -vrPt -e 'ssh -p 2222' [email protected]:/folder /newfolder

これは正常に機能し、約10分15秒間同期していて、毎回このエラーをスローします。

rsync: connection unexpectedly closed (16884 bytes received so far) [receiver] rsync: writefd_unbuffered failed to write 4 bytes to socket [generator]: Broken pipe (32) rsync error: error in rsync protocol data stream (code 12) at io.c(1525) [generator=3.0.6] rsync error: error in rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.6]

何が問題なのですか?

答えて

1

NATテーブルのエントリをタイムアウトするルータのようです。 (いずれかのサーバがDSLリンク上にあると仮定します)

「これは、アイドル状態の接続によってルータまたはリモートシェルサーバが接続を閉じる原因となる可能性があります。 〜からhttp://rsync.samba.org/issues.html

関連する問題