1833420 Members
3423 Online
110052 Solutions
New Discussion

Hp-ux Ignite

 
Martin Robinson
Frequent Advisor

Hp-ux Ignite

Hi, I have a server with two 70G disks in vg00
and I want to ignite only the system directories not the data directories. How do I alter ignite to backpu specific directories
6 REPLIES 6
Ian Dennison_1
Honored Contributor

Re: Hp-ux Ignite

Modify the /var/opt/ignite/recovery/makerec.append, add the file systems you need in the format,...

** User Data **
dir: /mntpta
dir: /mntptb

Run the 'make_recovery -d [Tape]', which will back up the core mount points only, plus whatever is in the makerec.append file.

If you need more info on the command or file format, 'man make_recovery'!

Share and Enjoy! Ian

Building a dumber user
Tim D Fulford
Honored Contributor

Re: Hp-ux Ignite

Try

make_tape_recovery -vI -x inc_entite=vg00 -x exclude=/data -x exclude=/data2 -a /dev/rmt/0mn

I have not tried the above, but for more info do man make_tape_recovery & look at the -x options

Tim
-
Ian Dennison_1
Honored Contributor

Re: Hp-ux Ignite

OK, having read the question again,...

extract from man make_recovery

Core-OS only:

Core-OS consists of:
/.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,
/sbin, /dev, /stand,
/opt/ignite/bin/print_manifest,
/opt/ignite/share/man/man1m.Z/print_manifest.1m,
/opt/upgrade, /opt/dce

Generated by: make_recovery

The standard make_recovery commmand with no options will only backup the files mentioned above.

Why not try it in preview mode (-p) if you are not sure?

'A little less conversation, a little more action'

Ian
Building a dumber user
T G Manikandan
Honored Contributor

Re: Hp-ux Ignite

make_tape_recovery -A -x inc_entire=vg00 -x exclude=/data1 -x exclude=/data2 -I -v -d "make_tape_recovery on 210602" -a /dev/rmt/0mn

you can check the /var/opt/ignite/logs/makerec.log
for the files that are ignited.

you can also use the make_recovery

#make_recovery -A -p -C -v -i -d /dev/rmt/0mn

This above command does a preview before doing an ignite

Now open the file /var/opt/ignite/recovery/makrec.append to remove the unwanted directories going in

After this

#make_recovery -r -C -v -i -d /dev/rmt/0mn
to start the previewed files.


Thanks
Martin Robinson
Frequent Advisor

Re: Hp-ux Ignite

Is it possible by editing the makrec.append that I can run ignites on the system with only the selected files. every time. instead of running of using the -p option andediting the makrec.append every time I want to ignite the server.
Also is the makrec.append written over every time an ignite is created.
Ian Dennison_1
Honored Contributor

Re: Hp-ux Ignite

if you are worried about losing the makerec.append, copy it to makerec.append.keep, then copy this version over the makerec.append before you kick off the make_recovery (perhaps in a script)

Question: Why not just try it and see what it writes?

Share and Enjoy! Ian
Building a dumber user