Backup and restore using ubports-installer
Awesome, saw you opened a PR here, i'll give you a code review with some pointers. Really appreciate the work you put into this, i'm confident we can get it done fairly soon
Flohack last edited by
@AlainW94 It should be dealt already with, otherwise how would the installer install anything into /data??
@Flohack In my case, I did a check of the mounted partition in the installer, then if it is not mounted, I mount it. (/dev/block/sda44 -> /data)
Flohack last edited by
@NeoTheThird Hi! It was a try. Now I need to do the same with promise-android otherwise it will not work
Re: Git workflow
Here's something i wrote up for another installer user the other day, maybe that's helpful to you
you'll want to keep your
mastercompletely in sync with our
master, so when you navigate to it on your machine, the first thing you'll do is
git checkout masterto make sure you're on your
git pull upstream master --rebaseto fetch the latest version from our
git push origin masterto push our
masteron github. Now if you want to implement a new feature, you will create a branch by going
git checkout -b nameofbranch. Then you make your changes. If you want to create a commit, you
git add path/to/filesfor all your files you want to commit and then go
git commit -m "My Commit Message". As soon as you have all your commits created, go ahead and
git push origin nameofbranchto push your branch to your own fork on github. Then go to the webinterface to create the pull request.
@NeoTheThird Awewome, thanks !!!
Fla last edited by
Any news on this? I see no changes in the PR in the last month... The idea is awesome, you can do it!
@Fla hi, It still in review. but you can try it a tell us your opinion on it ! I only could test it on Pro5.
@alainw94 I would like to reinstall UT on my Pro 5. So I need to backup first and will need to restore afterwards.
How reliable is the ubports-installer for this purpose now?
Hi @ubuntoutou, It makes a while that I didn't touch it but it was working well for PRO5, I'm using it for my own backup and restore.
If you use it please let me knwo about the result !;)
You will need as much free space on your hard drive as the phone occupancy.
For example if you have a 32Go memory and you are using about 16Go, you will need 16Go of free space on the computer where you are running the installer in backup mode.
Hope this will help you.
Keneda last edited by Keneda
This feature in ubports installer would be great, when using it.
Alongside with samba working completly, again, in file manager for other cases.
In meantime i use wifitransfert to back up "share" directory when needed.