Operating System - HP-UX
1830624 Members
2007 Online
110015 Solutions
New Discussion

Re: Back up with gnu tar.

 
vaishakh k
Advisor

Back up with gnu tar.

can any one help me...

1. i already installed gnu tar in my hp ux 11.23.is there any new command for taking back up which is more than 8 Gb.

2. i already tried with "tar -cvf ". but it showing error message.

7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Back up with gnu tar.

Shalom,

1. There is no new command, just tar. The old tar is probably still on the PATH variable. Make sure PATH is set so the new gnu tar is first or use it with its full path.

2. See the man page for gnu tar, but I've been told it works the same. HP ships a patch in the itrc patch database that enables its tar to make archives larger than 8 GB. That is why I never found the need to use gnu tar.

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
vaishakh k
Advisor

Re: Back up with gnu tar.

Dear

Thanks for your valuable time.
Can u specify the patch no if its so i need to upgrade my tar ,also by using this patch wheather its possible to take a backup of 18 GB using tar?

can u mention the correct format to take backup to a tape using the modified tar.. is it

tar -cvf /dev/rmt11mn
Dennis Handly
Acclaimed Contributor

Re: Back up with gnu tar.

>Can you specify the patch ID to upgrade my tar

I think you can patch tar to go up to 8 Gb but no larger. To go larger you need pax(1):
PHCO_38835 11.31 pax(1) cumulative patch
PHCO_38165 11.23 Cumulative changes to pax(1)
PHCO_35998 11.11 pax(1) cumulative patch

Besides these patches, you need to download PAX-Enh from sofware.hp.com.

PHCO_36587 11.11 tar(1) cumulative patch
PHCO_39454 11.23 tar(1) catalogs ; directory timestamp

>by using this patch whether it's possible to take a backup of 18 GB using tar?

You can use tar if each file is smaller than 8 Gb. If files are > 8 Gb, you need pax.
T G Manikandan
Honored Contributor

Re: Back up with gnu tar.

You need to go with pax if you have files > 8G
Steven Schweda
Honored Contributor

Re: Back up with gnu tar.

> 1. i already installed gnu tar in my hp ux
> 11.23 [...]

How? Where?

> 2. i already tried with "tar -cvf ".

So, which "tar" is that?

type tar

> but it showing error message.

But you're not showing the error message, and
my psychic powers are too weak to tell me
what you saw.

> You need to go with pax if you have files
> > 8G

Or GNU "tar". But installing GNU "tar" may
not help unless you actually _run_ GNU
"tar".
Steven Schweda
Honored Contributor

Re: Back up with gnu tar.

> [...] you need pax.

> You need to go with pax [...]

You guys sure are free and easy with this
"need" stuff. If there's some actual reason
that GNU "tar" would not work in this case,
please reveal it. Otherwise, please try to
remember that there is often more than one
way to solve a computer problem, so one
seldom _needs_ to do _any_ particular thing.
Sajjad Sahir
Honored Contributor

Re: Back up with gnu tar.

See

tar -cvf source

taking bakup of the saj folder which one is under opt dir, in to a media

tar -cvf /dev/rmt11mn /opt/saj

thanks and regards

Sajjad