{"id":5397,"date":"2016-01-26T11:58:19","date_gmt":"2016-01-26T09:58:19","guid":{"rendered":"http:\/\/www.karadere.com\/blog\/?p=5397"},"modified":"2016-01-26T11:58:19","modified_gmt":"2016-01-26T09:58:19","slug":"rasperry-pi-backup-alma-yontemleri","status":"publish","type":"post","link":"https:\/\/www.karadere.com\/blog\/rasperry-pi-backup-alma-yontemleri.html","title":{"rendered":"Rasperry Pi Backup alma y\u00f6ntemleri"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/www.linux.pl\/images\/publikacje\/logo\/RaspberryPi_Logo.png\" alt=\"\" width=\"730\" height=\"155\" \/><\/p>\n<p>Kaynak : \u00a0<a href=\"http:\/\/raspberrypi.stackexchange.com\/questions\/311\/how-do-i-backup-my-raspberry-pi\" target=\"_blank\">http:\/\/raspberrypi.stackexchange.com\/questions\/311\/how-do-i-backup-my-raspberry-pi<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Rasperry pi i\u00e7in birden fazla backup alma y\u00f6ntemi mevcut s\u00f6yle ki ;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>If you want to preserve all of the data, you will probably have to create a disk image. Furthermore, Windows cannot recognize typical Linux filesystems, so you probably won&#8217;t even be able to see your files, when you plug in your SD card.<\/p>\n<p>Creating a disk image will preserve not only files but also the filesystem structure and when you decide to flash your new SD card, you will be able to just plug it in and it will work.<\/p>\n<h1>Linux<\/h1>\n<p>On Linux, you can use the standard <code>dd<\/code> tool:<\/p>\n<pre><code>dd if=\/dev\/sdx of=\/path\/to\/image bs=1M\n<\/code><\/pre>\n<p>Where <code>\/dev\/sdx<\/code> is your SD card.<\/p>\n<h1>Mac<\/h1>\n<p>On Mac, you can also use the standard <code>dd<\/code> tool with a slightly different syntax:<\/p>\n<pre><code>dd if=\/dev\/rdiskx of=\/path\/to\/image bs=1m\n<\/code><\/pre>\n<p>Where <code>\/dev\/rdiskx<\/code> is your SD card.<\/p>\n<p>(using rdisk is preferable as its the raw device &#8211; quicker)<\/p>\n<p>To find out which disk your device is type <code>diskutil list<\/code> at a command prompt &#8211; also, you may need to be root; to do this type <code>sudo -s<\/code> and enter your password when prompted.<\/p>\n<h1>Windows<\/h1>\n<p><strong>Option 1<\/strong><\/p>\n<p>On Windows, you can use the reverse process that you used when flashing the SD card.<\/p>\n<p>You can use <a href=\"https:\/\/launchpad.net\/win32-image-writer\/+download\">Win32 Disk Imager<\/a>, which is the preferred tool for flashing a SD card of the Foundation. Just enter the filename, select the device and press read:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/89CMl.png\" alt=\"Win32 Disk Imager\" \/><\/p>\n<p>Of course, you can also use <a href=\"http:\/\/www.chrysocome.net\/rawwrite\">RawWrite<\/a>, <a href=\"http:\/\/www.chrysocome.net\/dd\"><code>dd<\/code> for Windows<\/a> or similar tools, the process is quite similar.<\/p>\n<p><strong>Option 2<\/strong><\/p>\n<p>If you don&#8217;t want to back up your entire system, but only specific files, I suggest you connect to your Raspberry Pi via SFTP and copy the files to your local computer (You can use the <a href=\"http:\/\/winscp.net\/eng\/index.php\">WinScp<\/a> client). If you have SSH enabled, SFTP usually requires no special configuration on the Raspberry Pi side.<\/p>\n<p>Another option is to <a href=\"http:\/\/raspberrypi.stackexchange.com\/questions\/5427\/can-a-raspberry-pi-be-used-to-create-a-backup-of-itself\/\">copy the files to a remote system using rsync<\/a>.<\/p>\n<p>You can also install special drivers so your Windows can read <code>ext<\/code> filesystems (and will thus be able to read the whole SD card), such as <a href=\"http:\/\/www.ext2fsd.com\/\"><code>ext2fsd<\/code><\/a> but it is probably not worth the effort.<\/p>\n<p>Windows ie DD den backup almak<\/p>\n<div class=\"post-video\"><iframe loading=\"lazy\" width=\"1165\" height=\"655\" src=\"https:\/\/www.youtube.com\/embed\/Guts3Uw_naQ?wmode=transparent&#038;fs=1\"  allowfullscreen><\/iframe><\/div>\n<p><a href=\"http:\/\/www.chrysocome.net\/dd\" target=\"_blank\">http:\/\/www.chrysocome.net\/dd<\/a><\/p>\n<table class=\"download\">\n<caption>Downloads for dd family<\/caption>\n<thead>\n<tr>\n<th scope=\"col\">Program<\/th>\n<th scope=\"col\">Version<\/th>\n<th scope=\"col\">Content<\/th>\n<th scope=\"col\">Format<\/th>\n<th scope=\"col\">Platform<\/th>\n<th scope=\"col\">Download<\/th>\n<\/tr>\n<\/thead>\n<tfoot>\n<tr>\n<td colspan=\"6\" scope=\"col\"><a href=\"http:\/\/www.chrysocome.net\/dd-install\">Installation Instructions<\/a><\/td>\n<\/tr>\n<\/tfoot>\n<tbody>\n<tr class=\"row-1\">\n<td scope=\"col\">dd<\/td>\n<td scope=\"col\">0.6beta3<\/td>\n<td scope=\"col\">Binary<\/td>\n<td scope=\"col\">.zip<\/td>\n<td scope=\"col\">Windows<\/td>\n<td scope=\"col\"><a href=\"http:\/\/www.chrysocome.net\/downloads\/dd-0.6beta3.zip\">dd-0.6beta3.zip<\/a><\/td>\n<\/tr>\n<tr class=\"row-2\">\n<td scope=\"col\">dd<\/td>\n<td scope=\"col\">0.6beta3<\/td>\n<td scope=\"col\">Source<\/td>\n<td scope=\"col\">.zip<\/td>\n<td scope=\"col\">Delphi<\/td>\n<td scope=\"col\"><a href=\"http:\/\/www.chrysocome.net\/downloads\/dd-0.6beta3.src.zip\">dd-0.6beta3.src.zip<\/a><\/td>\n<\/tr>\n<tr class=\"row-1\">\n<td scope=\"col\">dd<\/td>\n<td scope=\"col\">0.6beta1<\/td>\n<td scope=\"col\">Source<\/td>\n<td scope=\"col\">.zip<\/td>\n<td scope=\"col\">Delphi<\/td>\n<td scope=\"col\"><a href=\"http:\/\/www.chrysocome.net\/downloads\/dd-0.6beta1.src.zip\">dd-0.6beta1.src.zip<\/a><\/td>\n<\/tr>\n<tr class=\"row-2\">\n<td scope=\"col\">dd<\/td>\n<td scope=\"col\">0.5<\/td>\n<td scope=\"col\">Binary<\/td>\n<td scope=\"col\">.zip<\/td>\n<td scope=\"col\">Windows<\/td>\n<td scope=\"col\"><a href=\"http:\/\/www.chrysocome.net\/downloads\/dd-0.5.zip\">dd-0.5.zip<\/a><\/td>\n<\/tr>\n<tr class=\"row-1\">\n<td scope=\"col\">dd<\/td>\n<td scope=\"col\">0.4beta4<\/td>\n<td scope=\"col\">Binary<\/td>\n<td scope=\"col\">.zip<\/td>\n<td scope=\"col\">Windows<\/td>\n<td scope=\"col\"><a href=\"http:\/\/www.chrysocome.net\/downloads\/dd-0.4beta4.zip\">dd-0.4beta4.zip<\/a><\/td>\n<\/tr>\n<tr class=\"row-2\">\n<td scope=\"col\">dd<\/td>\n<td scope=\"col\">0.4beta4<\/td>\n<td scope=\"col\">Source<\/td>\n<td scope=\"col\">.zip<\/td>\n<td scope=\"col\">Delphi<\/td>\n<td scope=\"col\"><a href=\"http:\/\/www.chrysocome.net\/downloads\/dd-0.4beta4.src.zip\">dd-0.4beta4.src.zip<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Ek kaynaklar :\u00a0<\/strong><strong><a href=\"https:\/\/www.raspberrypi.org\/forums\/viewtopic.php?f=5&amp;t=5947\" target=\"_blank\">https:\/\/www.raspberrypi.org\/forums\/viewtopic.php?f=5&amp;t=5947<\/a><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>I would recommend looking into the &#8220;dd&#8221; command on your Ubuntu installation, but be incredibly careful with it as it has the potential to destroy data if used incorrectly. Backup first! <img decoding=\"async\" title=\"Smile\" src=\"https:\/\/www.raspberrypi.org\/forums\/images\/smilies\/icon_e_smile.gif\" alt=\":-)\" \/><\/p>\n<p>In general, the command is used like so, where DISK is the device name such as sdc and where YOURUSER is your username:<\/p>\n<dl class=\"codebox\">\n<dt><\/dt>\n<dd><strong><code>sudo dd if=\/dev\/DISK of=\/home\/YOURUSER\/backup.img<\/code><\/strong><\/dd>\n<\/dl>\n<p>This example would backup your stick to your home directory. You would then write the image back to another stick with a command like:<\/p>\n<dl class=\"codebox\">\n<dt><\/dt>\n<dd><strong><code>sudo dd if=\/home\/YOURUSER\/backup.img of=\/dev\/DISK<\/code><\/strong><\/dd>\n<\/dl>\n<p>For more specific details, see the man page for dd, or look it up on the Ubuntu wiki.<\/p>\n<p>Let us know how you get on.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rasperry Pi Backup alma y\u00f6ntemleri<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[2],"tags":[434,541,1767],"class_list":["post-5397","post","type-post","status-publish","format-standard","hentry","category-2015-2016","tag-alma-yontemleri","tag-backup","tag-rasperry-pi","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"views":2099,"_links":{"self":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/5397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/comments?post=5397"}],"version-history":[{"count":0,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/5397\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/media?parent=5397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/categories?post=5397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/tags?post=5397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}