我試圖使用Duplicity將Ubuntu 16.04的大文件系統(〜800 GB)備份到Amazon S3。它看起來像支持了大部分的文件系統,但卻一直停留在最後。Ubuntu 16.04 Duplicity備份到Amazon S3失敗,「[Errno 104]連接重置對等」
我現在已經好幾次運行此命令,它不停地進行故障/在同一個地方中止(約8小時後備用):
$ duplicity --no-encryption --s3-use-ia --archive-dir /var/abc/tmp --tempdir /var/abc/tmp --exclude /var/abc/tmp /var/abc s3://s3-us-west-2.amazonaws.com/mybucket
Local and Remote metadata are synchronized, no sync needed.
Warning, found incomplete backup sets, probably left from aborted session
Last full backup left a partial set, restarting.
Last full backup date: Tue Jul 25 11:13:45 2017
RESTART: Volumes 32085 to 32085 failed to upload before termination.
Restarting backup at volume 32085.
Restarting after volume 32084, file backups/resourcespace.20170730.sql.gz, block 399
Attempt 1 failed. error: [Errno 104] Connection reset by peer
Attempt 2 failed. error: [Errno 104] Connection reset by peer
Attempt 3 failed. error: [Errno 104] Connection reset by peer
Attempt 4 failed. error: [Errno 104] Connection reset by peer
Giving up after 5 attempts. error: [Errno 104] Connection reset by peer
我第一次嘗試後,我試圖升級口是心非最新PPA現在正在運行0.7.13.1。再次嘗試 - 同樣的失敗。
接下來,我將boto從2.38.0升級到2.48.0(通過PIP),並且仍然看到相同的故障。
我發現一些較舊的帖子提示,這是由於某種5GB的亞馬遜方面的限制,但是這些帖子也聲稱它應該是固定在0.7系列的Duplicity(我正在運行)。
有關如何進一步排除故障的任何建議將不勝感激,謝謝!
謝謝@yajo。在我的情況下,它確實向S3存儲桶記錄了大約700GB的數據(通過AWS網絡用戶界面進行驗證),所以它絕對可以正常驗證。我最好的猜測是,它試圖上傳文摘或其他東西時被卡住了。 – DanJ