1752815 Members
5941 Online
108789 Solutions
New Discussion юеВ

Re: tar of file 5GB

 
SOLVED
Go to solution
Jairo Campana
Trusted Contributor

tar of file 5GB

consult:
I did backup (file of 5GB.) with tar1.13.25 that its permit files > 2gb

my questions is:
for restore I must use the tar of default hpux11.0 (that it does not allow backup >2gb)or have use the tar1.13.25 .

legionx
13 REPLIES 13
Steven E. Protter
Exalted Contributor

Re: tar of file 5GB

HP has a tar upgrade that allows files up to 8 GB.

Make sure the target filesystem has largefiles enabled before you restore.

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
Patrick Wallek
Honored Contributor
Solution

Re: tar of file 5GB

This is one of the problems with using something like tar for large files. As far as I know you MUST use an equivalent version of tar to do the restore since the native version of tar does not handle files larger than 2GB.

You could try using the default version of tar, but I have a feeling it will not work. You should install the tar 1.13.25 that you used on your other machine.

An even better option would have been to use fbackup to back up the file. fbackup handles large files and is also quite portable between HP-UX platforms and is native to HP-UX so there is nothing else to install.
Jairo Campana
Trusted Contributor

Re: tar of file 5GB

you did not understand my question
legionx
Pete Randall
Outstanding Contributor

Re: tar of file 5GB

You'll have to use the 1.13.25 (or latest) version of tar.


Pete

Pete
Michael Steele_2
Honored Contributor

Re: tar of file 5GB

Use 'cksum' on the original and copied 5gb file to verify integrity of data.

cksum original_file
cksum copied_file

And I believe you'll need 13.25 on the destination machine. So just 'ftp' or 'rcp' it over. Should be in /usr/local/sbin but 'which tar'.

Also, here's the download site:

http://hpux.cict.fr/hppd/hpux/Gnu/tar-1.13.25/
Support Fatherhood - Stop Family Law
Jairo Campana
Trusted Contributor

Re: tar of file 5GB

not understand my question
jairo.bak 5GB.
have a backup with tar1.13.25(supoort >2gb) ok.
in /usr/local/bin/tar -cvf /dev/rmt/0m jairo.BAK
so,for restore use tar1.13.25:
/usr/local/bin/tar -xvf /dev/rmt/0m

or I cant use the tar default of HPUx(/usr/bin/tar)without problems
legionx
twang
Honored Contributor

Re: tar of file 5GB

As my understanding, you move the backup to another machine without tar 1.13.25. I believe you should install the tar 1.13.25 to untar the backup.
A. Clay Stephenson
Acclaimed Contributor

Re: tar of file 5GB

Once you use Gnu tar the only safe method is to use Gnu tar to restore. The patched version of HP's tar (that allows up to 8GB files) might work but Gnu tar WILL work.
If it ain't broke, I can fix that.
Jairo Campana
Trusted Contributor

Re: tar of file 5GB

yes,yeeeessss, twang: the questions is
I can or I cannot .
I must install in the other server tar1.13.25 for restore
legionx