Re: tar

From: Doug Freyburger (dfreybur_at_yahoo.com)
Date: 09/29/04


Date: 29 Sep 2004 11:14:24 -0700

William S. Perrin wrote:
>
> Anyway to make this go faster?
> tar cf - oracle/ | remsh pluto "cd /; tar pvxf -"
> Native HPUX tar, cpio can't handle 2GB files.

Dump and restore can handle large files, and they run slightly
faster than tar. Others have mentioned gzip to compress the
data stream, that should be a "z" in the tar command once you
switch from the HPUX native one to the GNU one.

> Could I use bigger BLOCK size??

There's a pipe in your command. Pipes are inherently
unblocked. Your question is meaningless in this context.



Relevant Pages

  • Re: How to open a .tar
    ... The tar command has many options, you will need to look at the manual ... A compressed tar file (compressed tarball) may have different ... through a pipe to the tar command. ...
    (comp.unix.shell)
  • Re: The tar trick !!!
    ... The dash represents the standard input or standard output stream. ... The first command, 'tar cf - .', creates a tar archive of the directory ... The second tar command reads from the pipe that the first tar command ...
    (comp.os.linux.misc)
  • Re: tar command
    ... that it executes upto the tar command but when it comes to the zip command ... or a combination of fork and exec. ...
    (perl.beginners)
  • Re: tar over 2 GB - how to backup it?
    ... I have seen cases of v5.1 tar being able to back up 10GB Oracle files ... 1.The tar command is not enabled for files greater than 2 Gig in size ... due to limitations imposed by XPG/4 and POSIX.2 standards. ...
    (comp.unix.aix)
  • Re: tar -cvzf /dev/fd0
    ... On Mon, 16 Feb 2009, in the Usenet newsgroup comp.os.linux.security, in article ... and you didn't look at the man or info page for tar - it's trying to ... to learn how to use the tar command. ...
    (comp.os.linux.security)