← Back to team overview

ubuntu-phone team mailing list archive

Re: 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


Follow ups

References