Linux/Backup: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 7: Line 7:
</blockquote>
</blockquote>


* dd mit progressbar
<blockquote>
<pre>
dd if=/dev/random bs=1M count=256 | progressbar >./256-MB-random-data.bin
</pre>
</blockquote>


* dd status
* dd status

Revision as of 15:20, 10 November 2012

DD

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

Links