This is tested on ASUS ROG G55VW, Xubuntu 18.04.
Automate Backuping From Remote Computer via SSH
Automate Disk Imaging on Ubuntu With DD and Cronjob
Note that DD copies byte by byte, that means even space that is not used. There is workaroud by writing zeros on not used disk space, but not included in this article.
First find out what you want to include in your image. You can list all your disks and partitions with command.
sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABELContinue reading