Operating System - HP-UX
1834811 Members
2214 Online
110070 Solutions
New Discussion

How restore on linux PC the vxdump file created by HP-UX

 
Juan_78
Occasional Advisor

How restore on linux PC the vxdump file created by HP-UX

Hi Administrators.

I have a backup file created on a remote backup server running linux. The vxdump command is:
/usr/sbin/vxdump -0uf - /data | /usr/bin/ssh -l backup -c blowfish backupserver dd bs=1024 of=/backup/HP/VXDUMP/vxdump.0uf.data

The file vxdump.0uf.data is very big, it has 107GB, for that reason my directory /tmp is full when I use vxrestore -ivf on HP-UX box.

I need only restore a small files of 1MB, so I would like restore on linux box using any application that can read vxdump files.

Exist others alternative for vxrestore on linux box?
Do you have others ideas?

very thanks.
Nothing in the world can take the place of persistence
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: How restore on linux PC the vxdump file created by HP-UX

Restore it to an HP-UX box with VxVM

Use ftp/scp/rcp to copy it to a Linux box via wired or wireless network.

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
Rick Garland
Honored Contributor

Re: How restore on linux PC the vxdump file created by HP-UX

You can invoke the vxrestore command with an interactive option. 'vxrestore -ivbf ...'
-i = interactive -v = verbose -b = block size -f = file (the tape device name)

The interactive option allows you to browse through the tape looking for the specific file(s) you need and you can specifically mark the file(s) for extract and start the restore.

Being that you can restore a specific file from the vxdump tape you can perform the restore on the HPUX:/tmp without worry of filling up the /tmp filesystem.
Juan_78
Occasional Advisor

Re: How restore on linux PC the vxdump file created by HP-UX

Friends.
Is possible use another program or command for restore a vxdump file? I am searching a replace for vxrestore that run on Linux box.
Exist it?
Nothing in the world can take the place of persistence
Rick Garland
Honored Contributor

Re: How restore on linux PC the vxdump file created by HP-UX

On my RH there is no vxrestore.

I am running journaled file systems (ext3) but I am unsure if vxrestore would exist on Linux.

Each UNIX flavor has there own version of dump/restore applications. Example, SUN=ufsdump,ufsrestore. Using the base dump/restore would be portable but I do not believe that vxdump/vxrestore is as portable.

Juan_78
Occasional Advisor

Re: How restore on linux PC the vxdump file created by HP-UX

Hi Rick.
Yes, you have all reason, each UNIX has its own utility backup, but some have compatibility.

For example, on my linux I can use "restore -ivf" command for read backup file created by ufsdump (on Solaris box.

I did not know that HP-UX is very close.
Thanks.
Nothing in the world can take the place of persistence
Robert-Jan Goossens
Honored Contributor

Re: How restore on linux PC the vxdump file created by HP-UX

well you could mount your linux drive on the hpux server (nfs), but 107GB will take a lot of time.

Robert-Jan
Juan_78
Occasional Advisor

Re: How restore on linux PC the vxdump file created by HP-UX

Hi Robert.

Yes, My nfs server is my linux box and I mount the remote directory on my HP box, but it is very slow, but it isn't problem, the main problem is that the /tmp directory is full when I use vxrestore, and my services (apache, php, clamd, spamassassin and more) don't work when /tmp is full.

Is possible specific to vxrestore another directory temporaly, different to /tmp?
For example /var/tmp, /data/tmp, etc

Thanks
Nothing in the world can take the place of persistence
Rick Garland
Honored Contributor

Re: How restore on linux PC the vxdump file created by HP-UX

Yes you can vxrestore to another directory.

Start by going to that directory 'cd /wherever' - the `cwd`

Then you can invoke the vxrestore command with the options supplied. The file(s) marked for extraction will be restored in the `cwd` directory