make_tape_recovery.1m (2012 03)

m
make_tape_recovery(1M) make_tape_recovery(1M)
environment variables. Help text and some command output not parsed by Ignite-UX will be left in the
user’s specified locale.
RETURN VALUE
make_tape_recovery
returns the following values:
0 No warnings or failures occurred; the execution completed successfully.
1 A failure occurred.
2 A warning occurred.
EXAMPLES
There are two lines for all but the first
make_tape_recovery
examples given. For each of these
examples, the first line assumes that the
make_tape_recovery
command is being executed on a
stand-alone system, thus not needing the
-s server option. The second line assumes the use of a server.
Create a system recovery tape by interacting with the Ignite-UX GUI from the Ignite-UX server:
export DISPLAY=hostname :0
ignite
Create a system recovery tape on the stand-alone system using the standard defaults or from the client,
using settings from the last invocation of the Ignite-UX GUI:
make_tape_recovery
make_tape_recovery -s
myserver
Create a system recovery tape with all the files/directories on the disk(s)/volume group(s) containing the
files specified by the default essentials file list
/opt/ignite/recovery/mnr_essentials
or the
user-defined version of this file, that replaces this file,
/var/opt/ignite/recovery/mnr_essentials
:
make_tape_recovery -A
make_tape_recovery -s
myserver -A
Create a system recovery tape that includes files from all file systems in the
vg00 volume group:
make_tape_recovery -x inc_entire=vg00
make_tape_recovery -s
myserver -x inc_entire=vg00
Create a system recovery tape that includes all of the vg00 and vg01 volume groups, but that excludes
the /depots directory:
make_tape_recovery -x inc_entire=vg00 -x inc_entire=vg01
-x exclude=/depots
make_tape_recovery -s
myserver -x inc_entire=vg00 -x inc_entire=vg01
-x exclude=/depots
Preview the creation of the System Recovery Tape:
make_tape_recovery -p
Create a System Recovery Tape that contains the entire root volume group which will run interactively
when used and contains a custom tape title:
make_tape_recovery -x inc_entire=vg00 \
-I -t "Pre-upgrade recovery tape"
Use the -u option to have the Ignite-UX software automatically updated when needed from the Ignite
server:
make_tape_recovery -s myserver -a /dev/rmt/1mn -A -u
This example assumes that the /var/opt/ignite/depots/recovery_cmds software depot
has been created on the Ignite server. This depot is created by running the ignite GUI at least
once to make a recovery tape of a system or by running pkg_rec_depot (see also
pkg_rec_depot (1M)). Once created, this depot will automatically be updated each time Ignite-UX is
updated on the server, assuming this is not a stand-alone recovery tape creation session:
HP-UX 11i Version 3: March 2012 9 Hewlett-Packard Company 9