I need to hand in my old phone, but before I do, I want to be sure I am not going to lose any data, including app data.
I've tried the usual adb backup -apk -shared -all
, however this produced a file that is a little under 9 GiB. The device capacity is 64 G and is almost full. Also, I made a backup about five months ago that is a much more plausible 45 GiB. Alas, I don't recall what command I used five months ago. (More specifically, I don't remember what arguments; I'm 99% certain it was some invocation of adb backup
.)
What am I doing wrong? How can I back up "everything"? (I don't need e.g. OS stuff, but I definitely have more than 9 GiB of pictures, user-installed apps, and such.)
-shared
parameter advises it to also include "shared data", i.e. SD card contents. // Matthew: apps can opt-out of backup, so with one monolitic file you never know what you get. Take a look at my tool Adebar, which a.o. creates a script to backup each app separately (so you see which fail) and optionally also shared storage (though that you could backup simpler by simply copying all its files). The script will already show which apps won't backup, just look inside once it is created.