Backup and compress directory with long pathnames to FS (44 Views)
Reply
Occasional Advisor
Michal Plandor
Posts: 13
Registered: ‎06-30-2006
Message 1 of 4 (44 Views)
Accepted Solution

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
Please use plain text.
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 2 of 4 (44 Views)

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
Please use plain text.
Honored Contributor
Bill Hassell
Posts: 14,205
Registered: ‎05-29-2000
Message 3 of 4 (44 Views)

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.
Please use plain text.
Occasional Advisor
Michal Plandor
Posts: 13
Registered: ‎06-30-2006
Message 4 of 4 (44 Views)

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
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation