Creating emergency recovery tapes
Emergency recovery tapes allow you to restore your system and its
data to the configuration stored on the media.
NOTE:
If you have installed the NetWare Services package,
you may need to run the Directory Services Install
utility before beginning this procedure.
If you are creating emergency recovery media immediately after
installing your system, you do not need to run this utility.
If, however, you add NDS partitions and NetWare volumes after
installation, you must run Directory Services Install
so that these partitions and data can be backed up.
For more information, see
``Directory Services Install''
in SCOhelp.
To create emergency recovery tapes:
-
Locate and label tapes for this procedure. Include the system
name, date the tapes were created, and sequence number.
The number of tapes needed varies according to the
size and configuration of your system.
-
Switch from the graphical environment to the system console, by pressing
<Ctrl><Alt><Esc>. Log in to the system console as root.
-
If the system is already in single-user mode, skip to step 5.
Otherwise, make sure there are no active users on the system. Enter:
who
-
If root is the only user logged in, bring the
system to single-user mode with this command:
shutdown -y -g0 -i1
If other users are listed, bring the system to single-user
mode with this command:
shutdown -y -g300 -i1
The -g300 flag in this command allows users 5 minutes
(300 seconds) to close their files and log out. A broadcast
message from root provides warnings that the system
is coming down.
-
At the single-user prompt (#),
insert the first emergency recovery tape into
the appropriate cartridge tape drive.
-
Create the emergency recovery tapes using either step a or step b.
- a.
-
Use this step only if one or both of the following conditions
are true for the system:
-
only one hard disk is installed,
and this disk also contains partitions
for operating systems other than UnixWare 7
-
only one hard disk is installed,
the UnixWare 7 NetWare Services product is installed, and
the NetWare server on your system is the only server on the network
Enter:
/sbin/emergency_rec -e tape tapesize
The -e
option tells emergency_rec to back up the entire
primary hard disk.
tape is the tape drive location of your inserted
tape (ctape1 or ctape2).
tapesize is the size of the tape specified either as a number
of 512-byte blocks or as a number with a suffix of
k, M or G
to indicate kilobytes, megabytes or gigabytes.
For example, a tapesize of 512000 or 250M would indicate
that the tape can hold 250MB of data.
If the hard disk is larger than the capacity of a single tape,
you are prompted to insert additional tapes as needed.
NOTE:
You can omit tapesize if the capacity of a single tape
is larger than the size of the entire hard disk.
Wait for this command to finish processing
and then go to Step 7.
- b.
-
Use this step for a multiple hard disk system or a
single disk system that does not meet the conditions in Step 8a.
Enter:
/sbin/emergency_rec tape
tape is the tape drive location of your
inserted tape (ctape1 or ctape2).
The emergency_rec command (without the -e option) backs up:
-
all UnixWare 7 partitions on your primary hard disk
-
the /home, /home2, /var,
and /usr filesystems from
the secondary hard disk, if they exist there
-
the SYS: volume of the NetWare Server,
if NetWare Services is installed
-
any master NDS partitions defined on your system,
if NetWare Services is installed
NOTE:
The emergency_rec command does not back up any
other UnixWare 7 filesystems on the secondary disk, nor any filesystem
on additional hard disks, nor any additional NetWare server volumes
defined on any disk.
To back up these filesystems and volumes, see
``After creating emergency recovery tapes''.
You are prompted to insert additional tapes as needed.
-
Remove the last tape from the tape drive.
-
Store the emergency recovery tapes with the emergency recovery floppy
disks in a secure location.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999