← Back to team overview

ubuntu-phone team mailing list archive

Re: How to backup

 

If you do not explicitly request the ubuntu-device-flash to wipe (with --wipe) the device then the /userdata is not touched by the flashing.

Once you have a tar.gz of the /userdata/* content you can put it back whenever you wish. Just adb push the tar.gz and untar it to the /userdata/

cheers,

bzoltan

On 03/23/2016 03:27 PM, Bruce Griffis wrote:
So would I be able to flash a fresh image and restore? How would I restore?

On Wednesday, March 23, 2016 2:05:04 AM EDT, Zoltán Balogh <zoltan.balogh@xxxxxxxxxxxxx> wrote:
Hi,

I usually `adb shell` into the device and go to the /userdata to make a `tar cvf userdata.tar.gz ./*`

After that I exit the adb and simple `adb pull /userdata/userdata.tar.gz ./` the big file. I think that is the most brutal :) and lowest level way to back up all the user data you have on the device.

It backs up all your application and all data you have under the /home/phablet space

cheers,

bzoltan

On 22/03/16 20:43, Gareth France wrote:
I'm about to try reflashing my phone and in another thread was advise of what to back up. However now I've come to do it I've realised connecting my phone to my laptop gives me Documents, Downloads, Music etc with no way to get to the root directory. Accessing via SSH does but I have no idea how to copy off the device with this.

So how exactly do I connect via cable to the root directory and say copy x off phone into y on laptop?

Cheers









Follow ups

References