linux cloning & imaging
First method:
sudo dd if=/dev/sda of=/dev/sdb status=progress
This will copy the entire drive to a compressed image file.
# dd if=/dev/sda ibs=4096 | gzip > partition.image.gz conv=noerror
If you want to restore the drive in the future you would use this:
# dd if=partition.image.gz | gunzip | dd of=/dev/sdba
Second method:
Open Gparted-GUI, choose copy partition, select target drive & Device — Create partition table.