BACKUP DISK

dd if=/dev/sdX | gzip > a.gz

RESTORE BACK

gzip -dc  a.gz | dd of=/dev/sdX


Buy me a beer

Related posts:

  1. MBR backup with dd command @ LINUX MBR is the master boot record of your disks. It...
  2. Linux mbr record backup with sfdisk included extened partition infos You can backup your system partition table with sfdisk which...
  3. linux watch command & example usage you can use watch command directly like this watch –interval=1...
  4. Disk Usage Information The CLI way The df utility displays the disk space...
  5. How to change ‘ls’ command color @ linux terminal First change ls commands color attribute to auto alias ls=’ls...