How do I backup my Ubuntu Phone so I can restore it to the same state after a factory reset? To specify, I'm looking for the following:
- Backup configuration
- Backup apps
- Backup app configuration
- Backup files
Copying the /home/phablet/
folder will save the files, but does this also save all the config files and programs?
/home/phablet
will backup everything except the apps which are in a number of places including/opt/click.ubuntu.com/
and/usr/share/click/preinstalled
. However even backing up those directories won't be enough. Installing applications will unpack files in/opt
but will also trigger other things like apparmor profile processing.