Operating System - HP-UX
1829857 Members
1997 Online
109993 Solutions
New Discussion

Re: Backup with Tar - Long Path name

 
SOLVED
Go to solution
Emanuele De Angelis
Frequent Advisor

Backup with Tar - Long Path name

Hi all,
i have a problem with tar.
How do i make a tar for file whith long path name?
And Restore?

Thanks
3 REPLIES 3
G. Vrijhoeven
Honored Contributor
Solution

Re: Backup with Tar - Long Path name

Hi,

Did you try edding the N option:

Man tar: N Write a POSIX format archive. This format allows file names
of up to 256 characters in length, and correctly archives
and restores the following file types: regular files,
character and block special devices, links, symbolic links,
directories, and FIFO special files. It also stores the
user and group name of each file and attempts to use these
names to determine the user-ID and group-ID of a file when...

HTH,

Gideon


Cheryl Griffin
Honored Contributor

Re: Backup with Tar - Long Path name

tar does not support long file names.
"Downtime is a Crime."
Emanuele De Angelis
Frequent Advisor

Re: Backup with Tar - Long Path name

Thanks all.