emergency_rec(1M)


emergency_rec -- create emergency recovery tape(s)

Synopsis

emergency_rec [-e] tape_drive

Description

The emergency_rec command creates emergency recovery tape(s). By default, emergency_rec backs up the UNIX partition and the system partition, if it exists, on the primary hard disk. If there is a UNIX partition on the secondary disk, emergency_rec will back up the /usr, /home and/or /home2 filesystems from the secondary disk, if they exist.

If the -e option is specified, the entire primary disk is backed up (see ``Flags'' below).

The emergency_rec command must be executed in single user mode.

If multiple tape(s) are required to back up the system, when one tape is filled with data you are prompted to insert the next tape. For example, emergency_rec can back up a 300MB hard disk onto three 120MB cartridge tapes.

To restore systems backed up with the emergency_rec command, use the diskettes created by the emergency_disk(1M) command.

The emergency_rec command is designed to back up the system in case an emergency occurs (your hard disk is damaged and must be restored to an earlier state). In such circumstances, it is quicker and easier to restore your system with the emergency recovery diskettes and emergency recovery tape(s) instead of installing your system again.

The emergency_rec command backs up all files on each filesystem saved. Typically, the emergency_rec command is run once after all the system software is installed (if you later install additional system software, run the emergency_rec command again); SCO ARCserve/Open commands are then used on a regular basis to back up and restore user data.

Flags

-e
specifies that emergency_rec should back up the entire primary hard disk (that is, all partitions). The secondary disk is not backed up at all. If -e is specified, you must have a cartridge tape that is large enough to back up your primary hard disk. For example, you can use a 120MB cartridge tape if your system has less than 120MB of data.

Parameters

tape_drive
identifies the tape drive (``ctape1'' or ``ctape2'') containing the tape where the backup data should be placed.

Exit codes

The emergency_rec command exits with one of the following values:

0
Success.

1
Failure. Unable to open tape drive or unable to write to tape drive.

Usage

Examples

To create an emergency recovery tape using tape drive 2, insert a tape into tape drive 2 and enter:

emergency_rec ctape2

Warnings

Attempting to use the emergency_rec command to copy UnixWare from one system to another system is prohibited. The emergency recovery tape is customized for the system on which it is created and may have unpredictable ramifications if used on another system.

References

emergency_disk(1M)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.