
directory /mnt/home/peri and extracts the tar archive from standard input. The directory
being tarred to, /mnt/home/peri in this case, must already exist.
# tar cf - . | (cd /mnt/home/peri; tar xfBp - )
5. Unmount the backup slice.
# cd / # umount /mnt
Alternate Solaris Recovery
Replacing the System Drive
1. If the system drive fails, power down the system and remove the system drive (c1t0).
2. Remove the backup drive at c1t1 and place it in c1t0.
3. Power on and run the following command:
boot -rs
Replacing Directories
You can restore subdirectories or an entire file system using tar on the backup file system. The
following procedure restores files onto /opt/bin.
1. Use the df command to see what slice is mounted on /opt.
# df -k /opt
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1t0d0s5 11878657 6181095 5578776 53% /opt
2. Mount the corresponding slice from the backup drive. The following command mounts slice 5
of backup disk c1t1 onto /mnt.
# mount /dev/dsk/c1t1d0s5 /mnt
3. Change to the backup directory you want to restore.
# cd /mnt/bin
4. Use tar to restore an archive copy. You must specify the corresponding subdirectory on the
target backup drive. The following command creates a tar file to standard output from /mnt/
bin. The output is piped to another tar command that changes directory /opt/bin and extracts
the tar archive from standard input.
# tar cf - . | (cd /opt/bin; tar xfBp - )
5. Unmount the backup slice.
# cd / # umount /mnt
Alternate Solaris Recovery
October 2014
Avaya Media Processing Server 500 Hardware Installation and Maintenance
169