{{include tonguesDd}} [[HomePage]] > [[SoftwareIndex Software Index]] > [[SoftwareFilesystem File-system]] ====dd==== duplication, imaging, transferral & restoration Verify installed version by using the command-line interface: %%# dd --version%% Usage: %%dd --help%% WARNING: **{{color text="YOU MUST KNOW WHAT YOU ARE DOING OTHERWISE ALL YOUR DATA MAY BE DESTROYED" c="red"}}** **Some //dd// operations require the drive to be __dismounted__ beforehand** (a LiveDVD, or USB, is useful in this case) ==Duplication & Imaging== __Creating a duplicate partition (//sdb1//) of //sda1// partition (where the target partition must be greater in capacity)__: %%dd bs=4096 conv=noerror if=/dev/sda1 of=/dev/sdb1%% __Creating a compressed, duplicate image file of the //sda1// partition__: %%dd bs=4096 conv=noerror if=/dev/sda1 | gzip -fv9 > sda1partition.img.gz%% http://www.zdnetasia.com/drive-and-partition-backups-with-dd-62203014.htm http://www.linuxquestions.org/questions/linux-newbie-8/learn-the-dd-command-362506/ ==Also on the Wiki== ~[[Backup|Backup Information]] ~[[RippingOpticalMedia]] ==Related Webpages== ~[[http://www.murga-linux.com/puppy/viewtopic.php?p=453827#453827 forum thread]] ~http://www.cyberciti.biz/tips/how-do-i-make-linux-filesystem-backup-with-dd.html ~http://www.debianhelp.co.uk/ddcommand.htm ~http://www.inference.phy.cam.ac.uk/saw27/notes/backup-hard-disk-partitions.html ~http://www.backuphowto.info/linux-backup-hard-disk-clone-dd ~[[http://www.murga-linux.com/puppy/viewtopic.php?t=54231 forum thread]] ~[[http://www.murga-linux.com/puppy/viewtopic.php?t=65509 forum thread]] ~http://www.linuxjournal.com/article/1320 ~[[http://en.wikipedia.org/wiki/Dd_(Unix)]] ~http://linux.die.net/man/1/dd ---- ==Categories== CategorySoftware CategoryFileSystem CategoryCommandline CategoryTutorial