cd /tmp wget dl.fedoraproject.org/pub/epel/6/x86_64/dcfldd-1.3.4.1-4.el6.x86_64.rpm sudo yum install dcfldd-1.3.4.1-4.el6.x86_64.rpm dcfldd --version
备份分区 分割保存
dcfldd if=/dev/sdc of=/tmp/SD-Card-Backup.img
dcfldd if=/dev/sdc | split -b 3800MB - /tmp/SD-Card-Backup.img
恢复分区
dcfldd of=/dev/sdc if=/tmp/SD-Card-Backup.img
cat /tmp/SD-Card-Backup.img* | dcfldd of=/dev/sdc
dcfldd if=BerryBoot.img bs=1M status=progress | tee >(dcfldd of=/dev/sdc) | dcfldd of=/dev/sdd
验证数据
diff /dev/sdc /tmp/SD-Card-Backup.img
Via: 如何备份一个磁盘分区