Linux/Backup

From Wiki
< Linux
Revision as of 15:33, 10 November 2012 by Marcluer (talk | contribs)

DD

  • gzip image ohne dd
gzip -c < /dev/hda1 > /tmp/partition_image.gz
  • dd
dd if=/dev/random bs=1M count=256 | gzip >./256-MB-random-data.bin
  • dd status
while /bin/true; do sleep 5; kill -USR1 `pidof dd`; done

oder 

watch -n N kill -USR1 `pidof dd` 

Links