{"id":505,"date":"2010-05-27T11:35:11","date_gmt":"2010-05-27T16:35:11","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=505"},"modified":"2010-05-27T11:35:24","modified_gmt":"2010-05-27T16:35:24","slug":"clone-disk-drive-ubuntu","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2010\/05\/clone-disk-drive-ubuntu\/","title":{"rendered":"Clone Disk Drive Ubuntu"},"content":{"rendered":"<p>We&#8217;ve all used DD before:<br \/>\n<code>dd if=\/dev\/sda of=\/dev\/sdb<\/code><\/p>\n<p>But someone pointed out there was a better way &#8211; a way that would allow retrieval of data even if the drive was dying.  DD was never supposed to be able to do that, so it&#8217;s generally not the best tool to use.<\/p>\n<p><code>apt-get install gddrescue<\/code><br \/>\n<code>ddrescue -v \/dev\/sda \/dev\/sdb<\/code><\/p>\n<p>That&#8217;s it.<br \/>\nOh, I learned about ddrescue from <a href=\"http:\/\/dimitar.me\/clone-disk-drives-with-ubuntu\/\">Dimitar Darazhanski&#8217;s blog<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve all used DD before: dd if=\/dev\/sda of=\/dev\/sdb But someone pointed out there was a better way &#8211; a way that would allow retrieval of data even if the drive was dying. DD was never supposed to be able to do that, so it&#8217;s generally not the best tool to use. apt-get install gddrescue ddrescue &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2010\/05\/clone-disk-drive-ubuntu\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Clone Disk Drive Ubuntu<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-505","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=505"}],"version-history":[{"count":3,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/505\/revisions"}],"predecessor-version":[{"id":631,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/505\/revisions\/631"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}