{"action":"created","issue":{"url":"https://api.github.com/repos/Mozilla-TWQA/B2G-flash-tool/issues/307","labels_url":"https://api.github.com/repos/Mozilla-TWQA/B2G-flash-tool/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/Mozilla-TWQA/B2G-flash-tool/issues/307/comments","events_url":"https://api.github.com/repos/Mozilla-TWQA/B2G-flash-tool/issues/307/events","html_url":"https://github.com/Mozilla-TWQA/B2G-flash-tool/pull/307","id":48184904,"number":307,"title":"Powershell script to backup and restore Firefox OS","user":{"login":"CodingFree","id":4342359,"avatar_url":"https://avatars.githubusercontent.com/u/4342359?v=3","gravatar_id":"","url":"https://api.github.com/users/CodingFree","html_url":"https://github.com/CodingFree","followers_url":"https://api.github.com/users/CodingFree/followers","following_url":"https://api.github.com/users/CodingFree/following{/other_user}","gists_url":"https://api.github.com/users/CodingFree/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingFree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingFree/subscriptions","organizations_url":"https://api.github.com/users/CodingFree/orgs","repos_url":"https://api.github.com/users/CodingFree/repos","events_url":"https://api.github.com/users/CodingFree/events{/privacy}","received_events_url":"https://api.github.com/users/CodingFree/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-11-08T23:44:51Z","updated_at":"2015-05-04T15:27:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Mozilla-TWQA/B2G-flash-tool/pulls/307","html_url":"https://github.com/Mozilla-TWQA/B2G-flash-tool/pull/307","diff_url":"https://github.com/Mozilla-TWQA/B2G-flash-tool/pull/307.diff","patch_url":"https://github.com/Mozilla-TWQA/B2G-flash-tool/pull/307.patch"},"body":"It is just a simple Powershell script to backup and restore Firefox OS. It is in a early stage, but it works.\r\n\r\nAs an user, I have to install setup adb in my environment variables in order to run this script; otherwise it won't run adb."},"comment":{"url":"https://api.github.com/repos/Mozilla-TWQA/B2G-flash-tool/issues/comments/98752785","html_url":"https://github.com/Mozilla-TWQA/B2G-flash-tool/pull/307#issuecomment-98752785","issue_url":"https://api.github.com/repos/Mozilla-TWQA/B2G-flash-tool/issues/307","id":98752785,"user":{"login":"SunboX","id":83344,"avatar_url":"https://avatars.githubusercontent.com/u/83344?v=3","gravatar_id":"","url":"https://api.github.com/users/SunboX","html_url":"https://github.com/SunboX","followers_url":"https://api.github.com/users/SunboX/followers","following_url":"https://api.github.com/users/SunboX/following{/other_user}","gists_url":"https://api.github.com/users/SunboX/gists{/gist_id}","starred_url":"https://api.github.com/users/SunboX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SunboX/subscriptions","organizations_url":"https://api.github.com/users/SunboX/orgs","repos_url":"https://api.github.com/users/SunboX/repos","events_url":"https://api.github.com/users/SunboX/events{/privacy}","received_events_url":"https://api.github.com/users/SunboX/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T15:27:11Z","updated_at":"2015-05-04T15:27:11Z","body":"and it would be nice if it also can backup the memory card (Nexus 4 has build in memory)\r\n\r\n````text\r\n.\\backup_restore_profile.ps1 backup sdcard\r\n.\\backup_restore_profile.ps1 restore sdcard\r\n```\r\n\r\n**backup:**\r\n`adb pull /sdcard $PROFILE_HOME\\sdcard`\r\n\r\n**restore:**\r\n`adb push $PROFILE_HOME\\sdcard /sdcard`"}}