1856381 Members
19249 Online
104112 Solutions
New Discussion

make_recovery image file

 
Ngoh Chean Siung
Super Advisor

make_recovery image file

Hi,

1) Under what condition the make_sys_image_flag##### where ##### is a number will be created in /var/tmp/ign_configure?

2) Make_recovery will backup the root volume group and /usr, right? Is all the HP OS files is kept inside /?

3) How to view the make_recover content from the tape?

regards.
8 REPLIES 8
YoungHwan, Ko
Valued Contributor

Re: make_recovery image file

1) /var/tmp/ign_configure/make_sys_image_flag

Please take care that any other make_sys_image has finished before starting a new recovery process. It may be other make_sys_image process still has not stopped.

2) make_recovery commands backup all lvol in the vg00.

3) To search a single file from the recovery archive:

mt -t /dev/rmt/0mn fsf 1
tar -tvf /dev/rmt/0m filename

Ngoh Chean Siung
Super Advisor

Re: make_recovery image file

Hi,

1) Is it means that every time the make recovery is completed, the make_sys_image will be created? Or this file will only created if there is an error?

regards.
Bharat Katkar
Honored Contributor

Re: make_recovery image file

HI,

"2) Make_recovery will backup the root volume group and /usr, right? Is all the HP OS files is kept inside /?"

If you issue :
# make_recovery -ACv -d

Then entire VG00 gets restored and if you execute it without -A option then following will be stored in the tape.

/.profile, /.rhosts,
/dev, /etc, /sbin,

/usr/bin, /usr/sbin,
/usr/lib, /usr/obam,
/usr/sam, /usr/share,
/usr/ccs, /usr/conf,
/usr/lbin, /usr/contrib,
/usr/local, /usr/newconfig

/var/adm/sw/security, /var/opt/ignite/local/manifest,
/var/adm/sw/products, /var/adm/sw/save,
/var/adm/sw/sessions/swconfig.last,
/var/adm/sw/sessions/swmodify.last,
/var/adm/sw/sessions/swlist.last,
/var/adm/sw/swconfig.log,
/var/adm/sw/getdate.templ,
/var/adm/sw/defaults.patchfilters,
/var/adm/sw/ui/preferences, /var/adm/sw/targets,
/var/adm/sw/software, /var/adm/sbtab,
/var/opt/ignite/recovery,
/var/adm/cron, /var/spool/cron,
/opt/ignite/bin/print_manifest,
/opt/ignite/share/man/man1m.Z/print_manifest.1m,
/opt/upgrade, /opt/dce

Hope that helps.
Regards,

You need to know a lot to actually know how little you know
Bharat Katkar
Honored Contributor

Re: make_recovery image file

Hi,
" 3) How to view the make_recover content from the tape? "
The file /var/opt/ignite/logs/makrec.log2 keeps information about all file stored on the Make_Recovery Tape.

Hope that helps.
Regards,

You need to know a lot to actually know how little you know
Ngoh Chean Siung
Super Advisor

Re: make_recovery image file

Hi,

Is anyone has idea on question 1?

regards
Bernhard Mueller
Honored Contributor

Re: make_recovery image file

Hi,

the files /var/tmp/ign_configure/*
are created when you run make_tape_recovery and when it exits, they should be deleted.

If you kill the processes (e.g. by a reboot) before they could remove the files you will have to rm them yourself afterwards.

So they are kinda log&lock files.

Regards,
Bernhard
Ngoh Chean Siung
Super Advisor

Re: make_recovery image file

Hi,

What you mean is every the make_recovery is finished, a file called make_sys_image will be created. This file is automatically be deleted if everything is fine (exp: no reboot). Am I right? So, how long will this file exists before deleted by the system?

regards.
Bernhard Mueller
Honored Contributor

Re: make_recovery image file

Hi,

to clarify:
the file make_sys_image_ is created when make_sys_image *starts* and it logs messages into this file *while* it is running. When it *exits* the file will be deleted.

When you start a make_tape_recovery and such a file still exists you will get a warning that another make_tape_recovery is still running (even though you may have just rebooted)

Regards,
Bernhard