通常你可能会把数据放在一个分区上,有时候可能需要对该设备或者上面的一个分区进行备份。 -- Jarret
本文导航
-dcfldd 工具 …… 04%
-备份分区 …… 23%
-恢复分区 …… 48%
-验证数据 …… 69%
-分割镜像 …… 79%
编译自: https://www.linuxforum.com/threads/partition-backup.3638/
作者: Jarret
译者: ictlyh
sudo apt-get install dcfldd
cd /tmp
wget dl.fedoraproject.org/pub/epel/6/i386/dcfldd-1.3.4.1-4.el6.i686.rpm
sudo yum install dcfldd-1.3.4.1-4.el6.i686.rpm
dcfldd --version
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 of=/dev/sdc if=/tmp/SD-Card-Backup.img
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
dcfldd if=/dev/sdc | split -b 4000MB - /tmp/SD-Card-Backup.img
cat /tmp/SD-Card-Backup.img* | dcfldd of=/dev/sdc
欢迎光临 51学通信论坛2017新版 (http://bbs.51xuetongxin.com/) | Powered by Discuz! X3 |