- Integrated Systems
- About Us
- Integrated Systems
- About Us
06-23-2003 12:41 PM
I am still using the old make_recovery command to make ignite tapes on my 11.11 servers partly out of laziness and I am trying to get my systems updated to using the new make_tape_recovery command. but i am unfamiliar with the options. i know i can run a strict command to backup all essential file structures, but the nuances of the options are what I need help with. I can't seem to find good examples in the IgniteUX documentation.
I do have it loaded and am running 11.11...
I know I can include a level of granularity in my make_tape_recovery command. How do I include Filesystems?
I want to inlcude all of VG00 and parts of VG01, namely my users' home directories on VG01... I have them on 2 different mount points. Here is what I want to backup:
# bdf |grep -e orafin -e home -e vg00
/dev/vg00/root 258048 142415 108444 57% /
/dev/vg00/stand 199381 50777 128665 28% /stand
/dev/vg00/var 1638400 1513784 124616 92% /var
/dev/vg00/usr 1638400 1150654 457296 72% /usr
/dev/vg00/opt 1024000 835583 176650 83% /opt
/dev/vg00/home 307200 134591 161851 45% /home
2048000 627897 1331358 32% /home/finsupt
2048000 1959217 83429 96% /home/findev
BTW, I have /tmp on another filesystem so I am not backing that up at all.
Solved! Go to Solution.
06-23-2003 12:48 PM
# /opt/ignite/bin/make_tape_recovery -Av -x inc_entire=vg00 -x include=/home/finsupt -x include=/home/findev
06-23-2003 12:52 PM
Here is one way to try it:
make_tape_recovery -x inc_entire=vg00 -x include=/home/finsupt -x include=/home/findev -I -v -a /dev/rmt/0mn
Having /tmp in a non-vg00 volume group could make things interesting if you have to recover and run from this archive. You'll probably wind up having to make a new /tmp filesystem on your recovered system before trying to run.
06-23-2003 12:56 PMSolution
Use 'make_tape_recovery' in lieu of the deprecated 'make_recovery':
/opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -x inc_cross=home/finsupt -x inc_cross=/home/findev -exclude=/tmp -I -v -a /dev/rmt/0mn
...should give you what you want.
The '-I' option will cause the recovery to be interactive should you ever boot from the tape. This will obviate the need to "pounce" on the process during the initial 10-seconds to otherwise interact with it.
Do a man 'make_tape_recovery' for more information.
06-23-2003 12:58 PM
As a rule, Our company standard is to have /tmp on a non root VG... I can see there are benefits to having it this way and negatives as well in the case of a recovery...but I think my systems run faster with this configuration.
06-23-2003 01:06 PM
One thought about my backing up cross mounted filesystems and about /tmp...
If my OS has crashed, I guess in most cases it wont have crashed my other disks on another VG unless my box is hosed by an electrical problem. I guess in that case it would be a DR situation and i would be recovering to a new box.
Regarding /tmp, I guess for necessity I could create a small /tmp upon restore just for the restore and then reconfigure once I have the box back up...
Such is life... I much rather having /tmp separate from vg00, just my preference.
06-25-2003 03:52 AM
or there is another way to do this grafically. Use #make_tape_recovery -i command which will give you one window in that you can include or exclude the Lvs as per your requirements.
06-25-2003 05:58 AM
JRF and John both mentioned the "-I" option for interactive recovery.
The "el" option lets you specify a LAN NIC. A capital i is the interactive option. To me the font makes it look like an "el" in their answers. Use the capital i.
06-25-2003 06:02 AM
Just be alert to this.