1752786 Members
5854 Online
108789 Solutions
New Discussion юеВ

Tar with large files

 
David_367
Occasional Contributor

Tar with large files

I'd like to use tar in HPUX 11.00 to migrate some database files of size larger than 2GB.
Is this possible?
I read the man doc. It says tar doesn't suport files larger than 2 GB.

Thanks in advance.
8 REPLIES 8
V.Tamilvanan
Honored Contributor

Re: Tar with large files

Hi,
You install gnutar .With this u can backup the files which are bigger that 2GB.
Download from the following site.
http://hpux.tn.tudelft.nl/hppd/hpux

-hth
tamil
Umapathy S
Honored Contributor

Re: Tar with large files

you can try gnu tar

http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/

HTH
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Umapathy S
Honored Contributor

Re: Tar with large files

check this thread.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfad8a1abbac8d5118ff10090279cd0f9,00.html

HTH
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Alexander E. Ivanov
Frequent Advisor

Re: Tar with large files

Massimo Bianchi
Honored Contributor

Re: Tar with large files

Hi,
yes, hpux tar does not support filez over 2G, and so does gzip.


IF you must move this files is better to use fbackup/frecover, dd, or a commercial product.

HTH,
Massimo
Dario_1
Trusted Contributor

Re: Tar with large files

David:

Try the gnu tar:

http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/

I will also try fbackup and frecover.

Regards,

DR
Bill Hassell
Honored Contributor

Re: Tar with large files

As mentioned, industry-standard tar does not handle files over 2Gb. This is also true for cpio, pax and other legacy Unix tools. Large files usually contain important data and should be handled with appropriate tools for reliable data transfers. To transfer between two HP-UX systems, use fbackup. It is much faster (use a config file) and much more reliable.

And although there is a patch for tar to handle files up to 8Gb, the resultant tar tape is incompatible with other HP-UX systems without the patch and also incompatible with other Unix systems. GNU tar (the right version) will handle large files but the same version of GNU tar must reside on the target system too.

If this sounds like a call to evaluate backup methods, it certainly is. Dozens to hundreds of gigabytes of data demands a careful decision about the backup solution. Gigabytes of data is too expensive to recover from a cheap backup program that can't handle tape problems.


Bill Hassell, sysadmin
Dave La Mar
Honored Contributor

Re: Tar with large files

David -
I documented the attached, for fbackup of large files, last time I needed to.

Best of luck.

Regards,
dl
"I'm not dumb. I just have a command of thoroughly useless information."