Skip to content

Conversation

@CodingFree
Copy link

It is just a simple Powershell script to backup and restore Firefox OS. It is in a early stage, but it works.

As an user, I have to install setup adb in my environment variables in order to run this script; otherwise it won't run adb.

@askeing
Copy link
Owner

askeing commented Nov 13, 2014

@CodingFree we write a new backup/restore tool by Python (#313), could you please help us to check if it works fine on Windows?
Thank you.

@SunboX
Copy link

SunboX commented May 4, 2015

maybe related: #339

@SunboX
Copy link

SunboX commented May 4, 2015

To avoid confusion, you should re-name it to backup_restore_profile.ps1

@SunboX
Copy link

SunboX commented May 4, 2015

and it would be nice if it also can backup the memory card (Nexus 4 has build in memory)

.\backup_restore_profile.ps1 backup sdcard
.\backup_restore_profile.ps1 restore sdcard

backup:
adb pull /sdcard $PROFILE_HOME\sdcard

restore:
adb push $PROFILE_HOME\sdcard /sdcard

@CodingFree
Copy link
Author

Hi, that would be easy to do. But afaik, the script was not accepted at all.

@SunboX
Copy link

SunboX commented May 4, 2015

oh, that's sad. But thanks anyway! 😄

Added an option to backup the sdcard too.
@CodingFree
Copy link
Author

@SunboX Hi André, I have added an option to backup the sdcard. But not to restore it, yet. I think that it would be too dangerous to restore the sdcard since it would have to "erase" the sdcard before restoring the content.

And erasing a scard is not a good idea 🎱

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants