ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #19213
Re: How to backup
Thanks. I hadn't got any time to test it yet, but I'm a little bit nervous. This is the third time I set up everything on my phone, then flash is and I can't use it anymore. :) I hope it'll be work this time. :)
> Date: Fri, 25 Mar 2016 16:07:22 +0100
> From: guru@xxxxxxxxxxx
> To: ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Ubuntu-phone] How to backup
>
> El día Friday, March 25, 2016 a las 03:51:42PM +0100, Heroldich Robin escribió:
>
> > I get a lot of permission denied error messages, but the "new" (restored) apps appear without icon, and they don't do anything. After a reboot, they disappear too.
> >
>
> Well, we need sudo and two terminals: in the 1st run:
>
> $ ssh phablet@192.168.0.41
> phablet@ubuntu-phablet:~$ sudo mkfifo fifo
> phablet@ubuntu-phablet:~$ ls -l fifo
> prw-r--r-- 1 root root 0 Mar 25 15:59 fifo
> phablet@ubuntu-phablet:~$ sudo chmod 0666 fifo
> phablet@ubuntu-phablet:~$ ls -l fifo
> prw-rw-rw- 1 root root 0 Mar 25 15:59 fifo
> phablet@ubuntu-phablet:~$ cd /
> phablet@ubuntu-phablet:/$ sudo tar -xzf ~phablet/fifo
>
> this will just hang because tar is reading from the FIFO and waits that
> data comes in;
>
> now run in another terminal:
>
> $ ssh phablet@192.168.0.41 "cat > fifo" < userdata.tar.gz
>
> --
> Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045
>
> --
> 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