Operating System - HP-UX
1833948 Members
1713 Online
110063 Solutions
New Discussion

VXRESTORE to /dev/null ??

 
Paul Murray_1
Frequent Advisor

VXRESTORE to /dev/null ??

Hi Guys,

Does anyone know of a way to push all restored data from a vxrestore session to /dev/null ?? Or alternatively, create a directory whose contents will be automatically sent to /dev/null ??

Basically, I am trying to see if I can read a vxdump volume without restoring anything back to disk.

Any / All help is greatly appreciated.

TIA,
Paul.
Just remember, nobody knows everything !!
4 REPLIES 4
Joseph C. Denman
Honored Contributor

Re: VXRESTORE to /dev/null ??

I believe the t option allows you to list the contents of a vxdump.

man vxrestore

...jcd...
If I had only read the instructions first??
Paul Murray_1
Frequent Advisor

Re: VXRESTORE to /dev/null ??

Hi Joseph,

Thanks for your reply, but the -t switch only reads the table of contents and doesn't (unfortunately) verirfy the integrity of the dump volume.

The only way I can think of verifying the volume is to actually perform a restore, but I do not have the available disk space to write the files back to disk - hence the requirement to dump to a "/dev/null" equivalent.

(Thanks anyway !!)

Regs,
Paul.
Just remember, nobody knows everything !!
Paula J Frazer-Campbell
Honored Contributor

Re: VXRESTORE to /dev/null ??

Paul

This might work:-

Use the -r switch in a dir that is big enought to hold the largest file and pipe the output to a logfile.

At the same time run a small rm script to look for files with at least r-------- and remove them.

so running both at the same tine you will get a log of each recovered file and as soon as it is fully there the rm script will pick it up and zap it.

Lateral thinking !!! - It might work.


Paula
If you can spell SysAdmin then you is one - anon
Paul Murray_1
Frequent Advisor

Re: VXRESTORE to /dev/null ??

Paula,

What a cunning little idea !!!!

I'll give it a try, then "I'LL BE BACK !!"



(Thanks),
Paul.
Just remember, nobody knows everything !!