Operating System - HP-UX
1832800 Members
2841 Online
110045 Solutions
New Discussion

Is it possible to read the file created by a make_net_recovery command ?

 
CAS_2
Valued Contributor

Is it possible to read the file created by a make_net_recovery command ?

Hi

Some years ago I used to run make_recovery (later renamed make_tape_recovery) to make a bootable tape cartridge. I typed 'mt' and 'tar' commands to check the cartridge was readable OR to recover any file from it.

Is there any procedure to get the /etc/profile (for instance) saved in the archive created by a make_net_recovery command ?
4 REPLIES 4
Peter Godron
Honored Contributor

Re: Is it possible to read the file created by a make_net_recovery command ?

RAC_1
Honored Contributor

Re: Is it possible to read the file created by a make_net_recovery command ?

/etc/profile would be there. This is based on assumption that you did not exclude /etc from archive. By default it would be there.
There is no substitute to HARDWORK
Patrice Le Guyader
Respected Contributor

Re: Is it possible to read the file created by a make_net_recovery command ?

Demat CAS,

What you can do :
mt -f fsf 1 (Bypassing lif part)
The must be of course a no rewind.
The next file is the archive :
To look inside it :
gzcat |tar tvf -|more
To go back : mt -f rew

If you only want to extract one file you just had to tune the tar command. I haven't used it from tape only from make_net_archive but it's the same thing.

hope this helps
Kenavo
Pat
Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
CAS_2
Valued Contributor

Re: Is it possible to read the file created by a make_net_recovery command ?

.