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. Creating & using ext3 filesystem images Ext3 is a linux filesystem and used by most of...
  4. linux watch command & example usage you can use watch command directly like this watch –interval=1...
  5. Disk Usage Information The CLI way The df utility displays the disk space...