22 Aug
2006
22 Aug
'06
06:30
ext3 partiton. It gave this result: dd: reading `/dev/hdc1': Input/output error 510656+0 records in 510656+0 records out 261455872 bytes (261 MB) copied, 101.931 seconds, 2.6 MB/s
dd_rescue dd_rescue dd_rescue dd_rescue.
What would be the correct dd command to back up the whole vfat partition as a file in an ext3 partition?
Lots of different ways. 1. dd if=/dev/hdc1 of=/dev/hdxn #back up a file system
Has caveats with some filesystems like XFS.
2. mount /dev/hdc1 /windows/c cd /windows/c rsync -auz . /mnt/windows.backup
Do not use -z when copying locally. Just a waste of cycles. rsync -Pav /windows/c/ /mnt/windows.backup/
3. tar czf /mnt/backup/windows.c.tar.gz .
-czf, czf is error prone. Jan Engelhardt --