- Code: Select all
for i in 8 5 7
do
dd if=/dev/sda$i | gzip -c > /home/maciek/back/RSYNC/piotr_sda$i.img.gz && md5sum /home/maciek/back/RSYNC/piotr_sda$i.img.gz | awk '{ print $1 }' > /home/maciek/back/RSYNC/piotr_sda$i.img.gz.md5 && ncftpput -u user -p passwordmedia /home/Piotr_ISO /home/maciek/back/RSYNC/piotr*
rm -f /home/maciek/back/RSYNC/piotr_sd*
done
After creating ISO file and MD5, files are FTP`ed to QNAP NAS.
It works properly on my wife M5 based desktop and formerly on my M5 based PC. After update of my PC to M6, large ISO files transmission is interrupted in random moments:
- Code: Select all
...back/RSYNC/piotr_sda7.img.gz: ETA: 1:00 5.13/ 9.42 GB 72.91 MB/s Remote write failed after 5529239552 bytes had been sent: Connection reset by peer.
Remote host has closed the connection.
/home/maciek/back/RSYNC/piotr_sda7.img.gz: 9.42 GB 72.52 MB/s
ncftpput /home/maciek/back/RSYNC/piotr_sda7.img.gz: socket write error.
ncftpput /home/maciek/back/RSYNC/piotr_sda7.img.gz.md5: remote host closed control connection.
I use similar tools to create ISO image of Windows partition (under Windows itself) >
So. Such tool works properly in Win, M5 base my wife PC, not updated to M6 yet, but crasches in M6.
What the problem is?