{"id":25,"date":"2012-10-03T03:26:00","date_gmt":"2012-10-03T03:26:00","guid":{"rendered":"https:\/\/robertrath.com\/gadgetzone\/archives\/25-backing-up-the-entire-raspberry-pi.html"},"modified":"2012-10-03T03:26:00","modified_gmt":"2012-10-03T03:26:00","slug":"backing-up-the-entire-raspberry-pi","status":"publish","type":"post","link":"https:\/\/robertrath.com\/gadgetzone\/archives\/25-backing-up-the-entire-raspberry-pi.html","title":{"rendered":"Backing Up The Entire Raspberry Pi"},"content":{"rendered":"<!-- s9ymdb:5 --><img loading=\"lazy\" decoding=\"async\" class=\"serendipity_image_left\" width=\"220\" height=\"150\" src=\"\/gadgetzone\/uploads\/Images\/backup2.gif\" alt=\"\" \/> Prior to attempting to run my &#8216;Pi at 1000Mhz I decided it would be a good idea to backup the entire machine.<br \/>\n<br \/>\nAs it uses a 4GB SD it made sense to use another 4GB card as the backup destination. As it turns out it was simpler than I expected.<br \/>\n<br \/>\nI placed a new 4GB SD card in a USB card reader and inserted into on of the &#8216;Pi&#8217;s USB ports. I then checked to see what device node the &#8216;Pi used for the card. In my case I found the card at &#8216;\/dev\/sda&#8217;, and that it has not been automatically mounted. In my case it was not automatically mount but other\/future version of &#8216;wheezy&#8217; may do this so it is important to use the &#8216;mount&#8217; command to check this.<br \/>\n<br \/>\nThe following command line shows how I block copied the entire content on the operating system block device &#8216;\/dev\/mmcblk0&#8217; to the unmount SD card at &#8216;\/dev\/sda&#8217;.<br \/>\n<br \/>\n<strong>sudo dd if=\/dev\/mmcblk0 of=\/dev\/sda bs=4M<\/strong><br \/>\n<br \/>\n<blockquote>root@raspberrypi:\/boot# dd if=\/dev\/mmcblk0 of=\/dev\/sda bs=4M<br \/>\n945+1 records in<br \/>\n945+1 records out<br \/>\n3965190144 bytes (4.0 GB) copied, 840.205 s, 4.7 MB\/s<br \/>\n<\/blockquote><br \/>\n<br \/>\nTo test I simply placed the new card into the Raspberry Pi and up it came, a perfect clone!<br \/>\n<br \/>\nAs it turns out, my &#8216;Pi failed to start at 1000Mhz \ud83d\ude41 so the effort was well worth it :-).<br \/>\n<br \/>\n<br \/>\n&#8230; Robert<br \/>\n<br \/>\n","protected":false},"excerpt":{"rendered":"<p>Prior to attempting to run my &#8216;Pi at 1000Mhz I decided it would be a good idea to backup the entire machine. As it uses a 4GB SD it made sense to use another 4GB card as the backup destination. As it turns out it was simpler than I expected. I placed a new 4GB &#8230; <a title=\"Backing Up The Entire Raspberry Pi\" class=\"read-more\" href=\"https:\/\/robertrath.com\/gadgetzone\/archives\/25-backing-up-the-entire-raspberry-pi.html\" aria-label=\"Read more about Backing Up The Entire Raspberry Pi\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/comments?post=25"}],"version-history":[{"count":0,"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/posts\/25\/revisions"}],"wp:attachment":[{"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/media?parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/categories?post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/tags?post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}