← Back to team overview

ubuntu-phone team mailing list archive

Re: How to backup

 

El día Wednesday, March 30, 2016 a las 07:30:01AM +0200, Heroldich Robin escribió:

> I've just tried it and there's a problem. With these command the .tar.gz file compressed to /home/phablet instead of /. :( Any idea?

have you done exactly this procedure, esp. the 'cd /' before the un-tar:

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

...

please show the output of:

$ cd /
$ pwd
$ sudo tar -tzf ~phablet/fifo

note: I used the t-flag and I only need the first lines of its output,
not all;

	matthias

-- 
Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045


References