Operating System - HP-UX
1751892 Members
5588 Online
108783 Solutions
New Discussion

tar failed with long path .. need alternative

 
SOLVED
Go to solution
rleon
Regular Advisor

tar failed with long path .. need alternative

We tried to backup our Websphere application but found that is has a deep deep deep directory stucture.

 

Tar faild due to the length of the path.

 

gtar seems to work but it seems to move long listings to a different folder in a different directory.

 

How can I "back" this up using a unix tool to where it will catch everything reglardless of the length of the path and allow me to move the archive and when I open it .. it lays everything back down.

 

 

Thanks In Advance

 

Ricardo

 

3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: tar failed with long path .. need alternative

Well, you already tried gtar.  You could try pax(1) since it the recommended replacement for fbackup(1m)/frecover(1m).

Just use "-x pax".

 

Or you can use fbackup and frecover for HP-UX.

Steven Schweda
Honored Contributor

Re: tar failed with long path .. need alternative

 
Nighwish
Frequent Advisor
Solution

Re: tar failed with long path .. need alternative

Hi

 

"Been there done that"

 

You can use Gnu tar:

 

http://www.gnu.org/software/tar/

 

Regards.