Operating System - HP-UX
1836426 Members
3545 Online
110100 Solutions
New Discussion

Re: backup and restoring with pax.

 
Anoop R Nath
Advisor

backup and restoring with pax.

Can any one Help me regarding pax backup and restoration.

Here i am using hp 11i v23.
i already installed PAX-ENH_B.11.23.02_HP-UX_B.11.23_IA_PA.depot.

1> how to use -x option in pax
2> how to make an archive of size >8GB by pax.
3> how to verify an archive in tape using pax.

Can i install any other patches for the same.
11 REPLIES 11
Dennis Handly
Acclaimed Contributor

Re: backup and restoring with pax.

It kind of works like tar but different. ;-)

>1) how to use -x option in pax

Just take the ustar default for > 8 Gb member. And add -w to create one.

>2) how to make an archive of size >8GB by pax.

It just works by default.

>3) how to verify an archive in tape using pax.

pax -f /dev/tape-device -v
Anoop R Nath
Advisor

Re: backup and restoring with pax.

Thanks Dennis
i have one more doubt

1> Will you please specify some steps for verifying PAX-ENH

2>How can i set ustar as default, Please give the format.

waiting for ur response.
James R. Ferguson
Acclaimed Contributor

Re: backup and restoring with pax.

Hi:

As for the installation of PAX-ENH you simply fetch the bundle from the HP Software Depot and use 'swinstall' as you would for anything else. There is a 'pax' patch that is required too, but this is installed with the bundle.

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PAX-ENH

The installation instructions are here:

http://h20392.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=PAX-ENH

This doesn't get much simpler.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: backup and restoring with pax.

>2) How can i set ustar as default

It is the default. If you want to pedantic you can use "-x ustar".

But if you want to use > 8 Gb, you need to change it to "-x pax".
Anoop R Nath
Advisor

Re: backup and restoring with pax.

Dear.

Again i am facing some problem .I think the problem is with my format provided will you please check the same .
If i am in the current directory which contains two files totally taking around of 18GB space

pax -w -f -x pax /dev/rmt/10mn .
Anoop R Nath
Advisor

Re: backup and restoring with pax.

Dear.

Again i am facing some problem .I think the problem is with my format provided will you please check the same .
If i am in the current directory which contains two files totally taking around of 18GB space

pax -w -f -x pax /dev/rmt/10mn
Dennis Handly
Acclaimed Contributor

Re: backup and restoring with pax.

>pax -w -f -x pax /dev/rmt/10mn .

You placed -x in the middle of -f archive:
pax -w -x pax -f /dev/rmt/10mn .
Anoop R Nath
Advisor

Re: backup and restoring with pax.

Thanks dennis a lot.

i had sucessfully taken the data in tape,now will you please give the format to restore the data from tape to any directory in the server
Dennis Handly
Acclaimed Contributor

Re: backup and restoring with pax.

>give the format to restore the data from tape to any directory in the server

cd to-directory
pax -r -f /dev/rmt/10mn
Anoop R Nath
Advisor

Re: backup and restoring with pax.

Thanks Dennis a lot,

i am successfully restore the data from tape.
is it possible to back up data having size more than 40GB.

What about gnu tar utility. is there any advantage by using gnu tar compare to pax.
Steven E. Protter
Exalted Contributor

Re: backup and restoring with pax.

Shalom,

pax as you may know is the archiver ignite uses.

1> how to use -x option in pax
man pax

HP-UX has good doc.
2> how to make an archive of size >8GB by pax.
Install a patch to enable files greater than 8 GB. Search the itrc patch database for pax. Note that if your replace pax, you may have trouble with ignite reocvery. Back in the 5.x days, I ran into a problem that was caused because pax could build an ignite archive but the ignite recovery reader, pax_ux could not read archives with files bigger than 8 gb.
3> how to verify an archive in tape using pax.
The only way to be sure is to restore on a test system.

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