Operating System - HP-UX
1756279 Members
2927 Online
108843 Solutions
New Discussion юеВ

Re: Tar command.. more queries

 
SOLVED
Go to solution
Henry Chua
Super Advisor

Tar command.. more queries

Hi Guys,

Just to check.. is there a limited size in which tar command can be used to back up?

THank you for your kind advise!
6 REPLIES 6
Ravi_8
Honored Contributor
Solution

Re: Tar command.. more queries

Hi

Normal tar would support upto 2GB. for larger file backup gnu tar is the better tool
never give up
Ravi_8
Honored Contributor

Re: Tar command.. more queries

Fred Ruffet
Honored Contributor

Re: Tar command.. more queries

Even with GNU tar, you may have problems with files larger than 2GB as long as it depends on fstat lib. If you have the problem with GNU tar, use a pipe as input for tar (no call to fstat).

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Bharat Katkar
Honored Contributor

Re: Tar command.. more queries

Yes,
TAR doesn't support largefiles i.e. beyond 2 GB.

For that you either go with gnu version or use fbackup.

Regards,
You need to know a lot to actually know how little you know
Sheriff Andy
Trusted Contributor

Re: Tar command.. more queries

With patch PHCO_29229, its enhancement says that it can make tar backup files up to 8GB.

http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_29229&context=hpux:800:11:00#Enhancement:
A. Clay Stephenson
Acclaimed Contributor

Re: Tar command.. more queries

If this is an HP-UX to HP-UX backup then you will be better advised to use fbackup/frecover. These utilities will handle files larger than 8GB BUT they are not portable beyond HP-UX. Gnu tar is probably your least evil option if you must cross platform boundaries. In the worst case you can use split (or bsplit) to divide files into 8GB or less chunks and then cat them back together.
If it ain't broke, I can fix that.