Operating System - HP-UX
1833758 Members
3159 Online
110063 Solutions
New Discussion

Re: automated make_recovery

 
Brian Pyle
Frequent Advisor

automated make_recovery

I have used make recover a bit on my HP-UX servers. I have never been able to trap the output though, so I could script this to completely automate it. I want the output from the make_recovery command. I've tried redirecting output 2>&1 and 3>&1 and 4>&1 and so on but to no avail.

TIA
Brian
Follow The Path With Heart
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: automated make_recovery

Hi Brian:

Try:

# make_recovery... 2>&1 | tee

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: automated make_recovery

Hi Brian:

Here's another way that requires that you do "nothing".

When you run 'make_tape_recovery' (the replacement for 'make_recovery') as provided in the latest versions of Ignite (>= 3.2), the output you see via stdout is automatically placed in /var/opt/ignite/recovery/latest/recovery.log. A "manifest" is also automatically generated as is a "flist" of the files actually copied.

...JRF...