ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #19138
Re: How to backup
Here's the first few lines:
drwxrwx--x system/system 0 2016-03-24 13:32 userdata/
-rw-rw-rw- root/root 0 2016-03-25 07:10 userdata/.last_update
-rw------- root/root 2097152000 2016-03-25 08:53 userdata/ubuntu.img
hrw------- root/root 0 2016-03-25 08:53 userdata/system.img link a következőre: userdata/ubuntu.img
-rw-r--r-- root/root 4 2016-03-25 07:11 userdata/.last_ubuntu-build
drwxrwx--x system/system 0 2016-03-25 08:55 userdata/android-data/
drwx------ root/root 0 2016-03-25 08:53 userdata/android-data/property/
-rw------- root/root 7 2016-03-24 13:36 userdata/android-data/property/persist.sys.usb.config
-rw------- root/root 8 2016-03-25 08:53 userdata/android-data/property/persist.ubuntu.version.rootfs
-rw------- root/root 8 2016-03-25 08:53 userdata/android-data/property/persist.ubuntu.version.device
> Date: Fri, 25 Mar 2016 13:28:08 +0100
> From: guru@xxxxxxxxxxx
> To: ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Ubuntu-phone] How to backup
>
> El día Friday, March 25, 2016 a las 01:09:50PM +0100, Heroldich Robin escribió:
>
> > Hey,
> >
> > I've just tested it, but it doesn't work. I compressed my /userdata/ folder, then copied it to my machine. Flashed my phone with --wipe and. Then I used the following command:
> >
> > ssh phablet@192.168.0.41 tar zxvf - < userdata.tar.gz
> >
> > It finished, but I have the default app with the default settings. After a reboot as well. Any idea?
>
> yes, depending of the real content, i.e. how the directory structure is
> in your tar file userdata.tar.gz, you must set additional flags to tar
> to change to the correct directory or even to allow un-tar containing
> the first "/"; if this does not help, show the first few lines of
>
> $ tar tvf userdata.tar.gz | head
>
> matthias
>
> --
> Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045
> Bundeswehr: Wir.Dienen.Deutschland. - Wir.Machen.Krieg. (We.Serve.Germany. - We.Make.War.)
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help : https://help.launchpad.net/ListHelp
Follow ups
References