
Media Processing Server System Operator’s Guide
Page 132 # P0602484 Ver: 2.7
4. Recover Files
Recovery of files using the clone.pl script is the same as step 3 under
Execution on page 131, this restores the entire partition to recover the needed
files. Otherwise, to obtain individual files mount the backup partition with the
files you wish to recover and copy them back to the original location
manually.
5. Recover Partitions/Files/Root when booted off CD
If the system drive is corrupted, boot the system off the CD and do the
recovery. If clone.cfg is saved, copy clone.cfg to /tmp. Otherwise,
manually mount the slices on the system drive before executing clone.pl.
Recover partitions /var /usr and root, when clone.cfg is in /tmp.
#perl clone.pl -b off -r on -p '/ /var /usr' -L 4
Recover partitions /usr and root, when no clone.cfg exists.
#mount /dev/dsk/c0t0d0s0 /tmp/ c0t0d0s0
#mount /dev/dsk/c0t0d0s6 /tmp/ c0t0d0s6
#perl clone.pl -b off -r on -p '/ /usr' -L 4
Configure
The clone.cfg file contains a list of all system and backup drives and all mounted
slices information of the most recent backup procedure. The configuration file is
created automatically after the successful completion of a clone.pl operation. If
$MPSHOME is set then the clone.cfg file is stored in /opt/vps/common/etc/
clone.cfg. Otherwise, the file is located in the /tmp directory. The content of this
file can be changed.
#
# Example clone.cfg file.
#
# Note the backup drive specified in command line options
has high priority.
#
# TYPEDRIVE
#
systemc0t0d0
#
backupc0t1d0
#
# Mounted slices information
#
# TYPEMOUNTED ONFILESYSTEM
mountedfs/c0t0d0s0
mountedfs/usrc0t0d0s6
mountedfs/varc0t0d0s4
mountedfs/optc0t0d0s5
Comentarios a estos manuales