make_net_recovery content options

Joao Rei
Frequent Advisor

make_net_recovery content options

I run every week make_net_recovery to backup only the core O.S. (lvol1,lvol2,...,lvol8)

Rigth now Im using
-x inc_entire=vg00
-x exclude=/oracle
-x exclude=

Im thinking to use only the O.S. mount points
-x include=/
-x include=/stand
-x include=/var

like this:
/opt/ignite/binia/make_net_recovery -n 1 -P s -x include=/ -x include=/stand -x include=/var -x include=/usr -x include=/tmp -x include=/opt -x include=/home -s

The second approach will backup and recover correctly the O.S.?

Diferent O.S. versions (11.00, 11.11, 11.23) do behave diferently?


Joao Rei

Steven E. Protter
Exalted Contributor

Re: make_net_recovery content options


I believe the second approach will work but must be tested. That means recovering a system.

The syntax is common to all platforms.

Steven E Protter
Owner of ISN Corporation
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: make_net_recovery content options

You risk not saving everything needed to restore the system disk(s). vg00 is the bootable disk volume so all lvols on that disk must be saved (and recovered). If you have a junk lvol on vg00, you can exclude that mountpoint but the standard way to do this is: -x inc_entire=vg00

Bill Hassell, sysadmin
Honored Contributor

Re: make_net_recovery content options

It will work - if you do not forget a mount point.

However it would probably be more efficient to do it the way you are currently doing. the list are probably going to be smaller, and more manageable. Plus you will not accidently forget to back up a critical vg00 mount point.........
Joao Rei
Frequent Advisor

Re: make_net_recovery content options

Thanks for the replies.