Operating System - HP-UX
1753569 Members
6018 Online
108796 Solutions
New Discussion юеВ

how to check if a make_tape_recovery is succeeded?

 
huaxiang
Frequent Advisor

how to check if a make_tape_recovery is succeeded?

1. host#make_tape_recovery -Av&;
2. didn't see the succed message in the end, how to check if it is good ?


thanks.

4 REPLIES 4
huaxiang
Frequent Advisor

Re: how to check if a make_tape_recovery is succeeded?

I HAVE made a tape backup before ,this time says "* Number of Archives to Save = 2",how to overwrite the former one, and save only the new one?

below is the message:

#Make_tape_recovery -Av&
[1] 25625
vcdb1#[/] * Creating local directories for configuration files and archive.

======= 10/23/08 21:48:26 EAT Started make_tape_recovery. (Thu Oct 23
21:48:26 EAT 2008)
@(#)Ignite-UX Revision C.7.5.142
@(#)ignite/net_recovery (opt) Revision:
/branches/IUX_RA0803/ignite/src@72866 Last Modified: 2008-02-06
15:49:50 -0700 (Wed, 06 Feb 2008)

* Testing for necessary pax patch.
* Recovery Archive Description = Recovery Archive

* Recovery Archive Location = /dev/rmt/0mn

* Number of Archives to Save = 2
James R. Ferguson
Acclaimed Contributor

Re: how to check if a make_tape_recovery is succeeded?

Hi:

You most recent log should be:

'/var/opt/ignite/recovery/latest/recovery.log'

Regards!

...JRF...


Steven E. Protter
Exalted Contributor

Re: how to check if a make_tape_recovery is succeeded?

Shalom,

There is a log file written.

If scripted you can check echo $? for a return code for the job. If it failed it will be non-zero.

The only way to be sure with make_tape_recovery is to periodically run a Disaster Recovery test on a similar system.

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
Tim Nelson
Honored Contributor

Re: how to check if a make_tape_recovery is succeeded?

I second SEP's comment.

You MUST periodically test your recovery proceedures.

Does not do any good to find out that something does not work after a disaster.