{"id":372,"date":"2016-06-29T19:46:32","date_gmt":"2016-06-29T23:46:32","guid":{"rendered":"https:\/\/www.ccrossan.com\/?p=372"},"modified":"2016-06-29T19:46:32","modified_gmt":"2016-06-29T23:46:32","slug":"backup-restore-google-authenticator-database","status":"publish","type":"post","link":"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/","title":{"rendered":"Backup Google Authenticator Database"},"content":{"rendered":"\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=crossan007\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n<p>Two factor authentication is great &#8211; I wish\u00a0<em>everything<\/em> would use it. \u00a0 My personal <a href=\"https:\/\/www.google.com\/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=3&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwiTiLqZtM7NAhUI_R4KHXw1DlgQFggsMAI&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTwo-factor_authentication&amp;usg=AFQjCNHbXQkgE_OXz1ecXQhA1wMGgXJU7w&amp;sig2=MpCrff9CFPg6usQ0m520JQ&amp;bvm=bv.125801520,d.dmo\">2FA<\/a> (specifically <a href=\"https:\/\/en.wikipedia.org\/wiki\/Time-based_One-time_Password_Algorithm\">TOTP<\/a>) \u00a0mobile app is <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.apps.authenticator2&amp;hl=en\">Google Authenticator<\/a>. \u00a0It allows you to scan a barcode, or manually enter a 2FA initilization token, and gives you a nice display of all of your stored 2FA tokens, with a great countdown of the token&#8217;s expiration. \u00a0However, it does have one critical <del>flaw<\/del> feature: \u00a0You can&#8217;t export your accounts.<\/p>\n<p>Let me re-state that: \u00a0Your 2FA tokens are locked away in your mobile device. \u00a0Without the device, you&#8217;re locked out of your accounts (Hopefully you created backup codes). \u00a0If your device becomes inoperable, good luck!<\/p>\n<p>However, if you have root access to your device, you can grab the Google Authenticator database and stow it away for safe keeping by grabbing it from the following location on your phone:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\/data\/data\/com.google.android.apps.authenticator2\/\r\n\r\nIf you have ADB enabled, you can just run the following command:\r\n\r\n\u00a0adb pull \/data\/data\/com.google.android.apps.authenticator2 <\/pre>\n<p>Keep this information very secure, as it can be used to generate 2FA codes for all of your accounts!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two factor authentication is great &#8211; I wish\u00a0everything would use it. \u00a0 My personal 2FA (specifically TOTP) \u00a0mobile app is Google Authenticator. \u00a0It allows you to scan a barcode, or manually enter a 2FA initilization token, and gives you a nice display of all of your stored 2FA tokens, with a great countdown of the &hellip; <a href=\"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Backup Google Authenticator Database<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[71],"tags":[166,165,75,167,94,168,25,72,109,52],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Backup Google Authenticator Database - Charles&#039; Blog\" \/>\n<meta property=\"og:description\" content=\"Two factor authentication is great &#8211; I wish\u00a0everything would use it. \u00a0 My personal 2FA (specifically TOTP) \u00a0mobile app is Google Authenticator. \u00a0It allows you to scan a barcode, or manually enter a 2FA initilization token, and gives you a nice display of all of your stored 2FA tokens, with a great countdown of the &hellip; Continue reading Backup Google Authenticator Database &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/\" \/>\n<meta property=\"og:site_name\" content=\"Charles&#039; Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-29T23:46:32+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"crossan007\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crossan007.dev\/blog\/#website\",\"url\":\"https:\/\/crossan007.dev\/blog\/\",\"name\":\"Charles&#039; Blog\",\"description\":\"SharePoint | PowerShell | Exchange | SCCM | Ubuntu | PHP | JavaScript | A\/V Live Production | More...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crossan007.dev\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/#webpage\",\"url\":\"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/\",\"name\":\"Backup Google Authenticator Database - Charles&#039; Blog\",\"isPartOf\":{\"@id\":\"https:\/\/crossan007.dev\/blog\/#website\"},\"datePublished\":\"2016-06-29T23:46:32+00:00\",\"dateModified\":\"2016-06-29T23:46:32+00:00\",\"author\":{\"@id\":\"https:\/\/crossan007.dev\/blog\/#\/schema\/person\/bd99569cd81332c8fd866d023848b979\"},\"breadcrumb\":{\"@id\":\"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crossan007.dev\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Backup Google Authenticator Database\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/crossan007.dev\/blog\/#\/schema\/person\/bd99569cd81332c8fd866d023848b979\",\"name\":\"crossan007\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/crossan007.dev\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fff72c74fb6a0da29accf0db83ad4b4b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fff72c74fb6a0da29accf0db83ad4b4b?s=96&d=mm&r=g\",\"caption\":\"crossan007\"},\"url\":\"https:\/\/crossan007.dev\/blog\/author\/crossan007\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/","og_locale":"en_US","og_type":"article","og_title":"Backup Google Authenticator Database - Charles&#039; Blog","og_description":"Two factor authentication is great &#8211; I wish\u00a0everything would use it. \u00a0 My personal 2FA (specifically TOTP) \u00a0mobile app is Google Authenticator. \u00a0It allows you to scan a barcode, or manually enter a 2FA initilization token, and gives you a nice display of all of your stored 2FA tokens, with a great countdown of the &hellip; Continue reading Backup Google Authenticator Database &rarr;","og_url":"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/","og_site_name":"Charles&#039; Blog","article_published_time":"2016-06-29T23:46:32+00:00","twitter_misc":{"Written by":"crossan007","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/crossan007.dev\/blog\/#website","url":"https:\/\/crossan007.dev\/blog\/","name":"Charles&#039; Blog","description":"SharePoint | PowerShell | Exchange | SCCM | Ubuntu | PHP | JavaScript | A\/V Live Production | More...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crossan007.dev\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/#webpage","url":"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/","name":"Backup Google Authenticator Database - Charles&#039; Blog","isPartOf":{"@id":"https:\/\/crossan007.dev\/blog\/#website"},"datePublished":"2016-06-29T23:46:32+00:00","dateModified":"2016-06-29T23:46:32+00:00","author":{"@id":"https:\/\/crossan007.dev\/blog\/#\/schema\/person\/bd99569cd81332c8fd866d023848b979"},"breadcrumb":{"@id":"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crossan007.dev\/blog\/android\/backup-restore-google-authenticator-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crossan007.dev\/blog\/"},{"@type":"ListItem","position":2,"name":"Backup Google Authenticator Database"}]},{"@type":"Person","@id":"https:\/\/crossan007.dev\/blog\/#\/schema\/person\/bd99569cd81332c8fd866d023848b979","name":"crossan007","image":{"@type":"ImageObject","@id":"https:\/\/crossan007.dev\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/fff72c74fb6a0da29accf0db83ad4b4b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fff72c74fb6a0da29accf0db83ad4b4b?s=96&d=mm&r=g","caption":"crossan007"},"url":"https:\/\/crossan007.dev\/blog\/author\/crossan007\/"}]}},"_links":{"self":[{"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/posts\/372"}],"collection":[{"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/comments?post=372"}],"version-history":[{"count":2,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/posts\/372\/revisions"}],"predecessor-version":[{"id":374,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/posts\/372\/revisions\/374"}],"wp:attachment":[{"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/media?parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/categories?post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/tags?post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}