Hello,

Tar always saves a "pipe file" and do not permit to backup its contents.

mkfifo a
echo 123 > a &
tar -cz a | tar -tzv
prw-rw-r-- pcarga/pcarga     0 2008-06-23 11:58 a

Instead of:

mkfifo a
echo 123 > a &
tar -cz a -read-pipes-to-files | tar -tzv
-rw-rw-r-- pcarga/pcarga     4 2008-06-23 11:58 a

My problem is that I must backup an oracle database that its dump does not
fit in local filesystem. This way
I'm not able to create temp files. Also, I wanted to include some diretories
in this same tar. I wanted to use something like this:

mkfifo $FIFO
$ORACLE_HOME/bin/exp file=$FIFO &
tar -cz $FIFO other-dir1 other-dir2 | ssh remoteHost "cat > mybackup"

Any solution for this case?

-- 
Luiz Angelo Daros de Luca
[EMAIL PROTECTED]
ICQ: 19290419

I Know, "Where you wanted to go today",
but I decided to stop here instead!
MS Windows

Reply via email to