{"id":2286,"date":"2019-02-06T04:58:39","date_gmt":"2019-02-06T04:58:39","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2286"},"modified":"2019-02-06T04:58:41","modified_gmt":"2019-02-06T04:58:41","slug":"backup-android-with-adb-on-windows","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/backup-android-with-adb-on-windows\/","title":{"rendered":"Backup Android with adb on Windows"},"content":{"rendered":"\n<p><strong>Install SDK<\/strong><\/p>\n\n\n\n<p>Install Android Studio.  This will install the SDK and tools like adb and fastboot<\/p>\n\n\n\n<p>Download from <a rel=\"noreferrer noopener\" aria-label=\"here (opens in a new tab)\" href=\"https:\/\/developer.android.com\/studio\/index.html\" target=\"_blank\">here<\/a><br><br>To run adb, you&#8217;ll need to be in the same directory as it, so open a Command Prompt and cd to the following directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd %APPDATA%..\\Local\\Android\\Sdk\\platform-tools<\/pre>\n\n\n\n<p>Full directory path is  <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">C:\\Users\\UserName\\AppData\\Local\\Android\\Sdk\\platform-tools<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Backup Android<\/strong><\/p>\n\n\n\n<p>On your Android device you will need to enable USB debugging from the developer options.  Enable the developer options if you have not already.<\/p>\n\n\n\n<p>When you plug your phone in it should ask you to Allow USB debugging.  Hit OK to enable it.<\/p>\n\n\n\n<p>Now run the backup command from your computer.  Replace UserName with your computers User Name<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">adb backup -apk -obb -shared -all -f \\Users\\UserName\\Desktop\\android-backup.ab<\/pre>\n\n\n\n<p>On your phone you should get a window that shows Full Backup<\/p>\n\n\n\n<p>Add optional password for backup and hit &#8220;Back up my data on phone&#8221;<\/p>\n\n\n\n<p>Now Wait for it to finish&#8230;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Restore Backup<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">adb restore C:\\Users\\UserName\\android-backup.ab<\/pre>\n\n\n\n<p>Should get a restore window on your phone, hit restore and wait.<br><\/p>\n\n\n\n<p><strong>Errors<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">error: device unauthorized.<br>This adb server's $ADB_VENDOR_KEYS is not set<br>Try 'adb kill-server' if that seems wrong.<br>Otherwise check for a confirmation dialog on your device.<\/pre>\n\n\n\n<p>USB Debugging is not allowed for computer.  Try replugging the USB cable and accepting the USB Debugging.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install SDK Install Android Studio. This will install the SDK and tools like adb and fastboot Download from here To run adb, you&#8217;ll need to be in the same directory as it, so open a Command Prompt and cd to &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/backup-android-with-adb-on-windows\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[540],"tags":[581,541,75,582,273],"class_list":["post-2286","post","type-post","status-publish","format-standard","hentry","category-android","tag-adb","tag-android","tag-backup","tag-sdk","tag-windows"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=2286"}],"version-history":[{"count":3,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2286\/revisions"}],"predecessor-version":[{"id":2294,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2286\/revisions\/2294"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}