beautypg.com

Restoring scripts, Full restore – Visara Master Console Center Administration Guide User Manual

Page 187

background image

Chapter 11 Backing Up and Restoring MCC Software

Administration Guide

187

Restoring Scripts

Caution: Do NOT try to run scriptrestore except on a tape generated by

scriptbackup. Also, do NOT attempt to do a MCCrestore except
on a tape generated by MCCbackup. Data loss or corruption
may result.

Full Restore

This procedure assumes the MCC has a fully installed operating system with
correctly partitioned files.
1.

Login as root.

2.

Enter the following commands to replace the root partition with the
backup files:

#mt –f /dev/nrmt0h fsf

# cd /

# restore -Yrv

3.

Enter the following commands to move the tape to the third section on the
tape where the /usr partition resides.

# mt –f /dev/nrmt0h fsf 2

# cd /usr

4.

Enter the following command to replace the /usr partition with the
backup files.

# restore –Yrv

5.

Enter the following command to reboot the system and restore the MCC.

# sync; sync; shutdown –rf now