Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Standart input in "uncompress" command

Status
Not open for further replies.

Alter

MIS
Oct 9, 2001
6
KZ
Hello!

When I make backup I execute the following command

$tar cvf - tmp/label $FILES | compress -c > /dev/rmt/0n

So to restore files I make temporary file db.Z:

$cat /dev/rmt/0n > /arch/db.Z
$zcat /arch/db.Z | tar xhvf -

When I try to restore whithout making temporary file, I get an error.

$cat /dev/rmt/0n | uncompress | tar xhvf -
cat: input error on /dev/rmt/0n: Not enough space

Can you explain me what's wrong?
Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top