dd

dd - data definition #

Show mounted devices #

df -h
sudo lsblk

Backup #

sudo su
dd if=[DISC_PATH] | gzip > ./[NAME].img.gz

Restore #

sudo su
gzip -cd ./[NAME].img.gz | dd of=[DISC_PATH] 
Edit Edit this page