General
Showing results for 
Search instead for 
Do you mean 

Backup and compress directory with long pathnames to FS

SOLVED
Go to Solution
Occasional Advisor

Backup and compress directory with long pathnames to FS

hello
i'm looking for a procedure how to backup whole directory recursively with long path names and then compress it to one file
tar has a pathname limitation, so it doesn't work
i found pax as an alternative, but it seems to have a limitations too, 2gb file at most, etc.

do you please know about some utility which is able to backup the whole directory with long path names and files bigger than 2gb into one file on filesystem?

thanks in advance for any good points and thoughts

cheers,
miso
3 REPLIES
Exalted Contributor Exalted Contributor

Re: Backup and compress directory with long pathnames to FS

Shalom,

man tar or get GNU tar, but there is an option to retain full path.

HP has a tar patch that handles up to 8 GB.

fbackup will do large files and backups, but only to tape.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Honored Contributor Honored Contributor

Re: Backup and compress directory with long pathnames to FS

Actually, fbackup is your choice. It will handle unlimited file sizes. The -f option can be a tape or a giant file. Use frecover to retrieve files and directories.
Occasional Advisor

Re: Backup and compress directory with long pathnames to FS

Hello guys,
fbackup/frecover solved my problem. It works like charm.
I'm still quite unsure about the correct parameters, but so far I've succeeded. :)

Thanks for pointing me out to right direction.

Cheers,
Miso