Operating System - HP-UX
1752745 Members
4808 Online
108789 Solutions
New Discussion юеВ

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