Files
2021-10-21 14:57:58 +08:00

8 lines
457 B
Markdown
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 4.2 硬盘或分区克隆及恢复
推荐使用Clonezilla再生龙http://www.clonezilla.org/
dd命令底层低效仅供备用
备份:`sudo dd if=/dev/sda1 of=~/elf.bak status=progress`
还原:`sudo dd if=~/elf.bak of=/dev/sda1 status=progress`
压缩备份:`sudo dd if=/dev/sda1 status=progress | gzip -c > ~/elf.bak`
压缩还原:`gunzip -c ~/elf.bak | sudo dd of=/dev/sda1 status=progress`