Avaya Media Processing Server 500 Hardware Installation And Maintenance page 168

Table of Contents

Advertisement

Maintenance
11. Install the boot block on the root backup slice. If the backup drive is not c1t1, change c1t1 to
the backup target. The back-quoted command inserts the machine type this command is
executed on:
# /usr/sbin/installboot /usr/platform/`/sbin/uname -i`/lib/fs/ufs/
bootblk \ /dev/rdsk/c1t1d0s0
12. Unmount the backup slice.
# cd / # umount /mnt
13. Non root slices can be tarred without an exclude file. Mount the corresponding slice from the
backup drive determined in step
clone.pl
on page 156. The following command mounts slice 5 of backup disk c1t1 onto /mnt.
# mount /dev/dsk/c1t1d0s5 /mnt
14. Change directory to the corresponding system drive mount point.
# cd /opt
15. Use tar to create an archive copy on the backup drive. The following command creates a tar
file to standard output, that is then piped to another tar command that changes directory to
the backup drive and extracts the tar archive from standard input.
# tar cvf - . | (cd /mnt; tar xfBp - )
Refer to the MPS Command Reference Manual for tar syntax.
16. Unmount the backup slice.
# cd / # umount /mnt
17. Repeat the mount, cd, tar, and umount commands for each of the slices you must back up.
Backing Up an Individual Directory Using tar
You can back up file system subdirectories with tar. Tar does not delete files from the backup slice,
even if they no longer exist in the file system being copied from. To delete files on the backup slice,
manually remove individual files and directories while keeping the remaining backup file system
intact. Alternatively, run newfs to delete the entire backup slice then execute tar from scratch for the
affected slice, see
Backing Up the Entire Drive Using tar
shows how to back up /opt/home/peri using tar.
1. Use the df command to see what slice is mounted on /opt.
# df -k /opt
Filesystem
/dev/dsk/c1t0d0s5 11878657 6181095 5578776
2. Mount the corresponding slice from the backup. The following command mounts slice 5 of
backup disk c1t1 onto /mnt.
# mount /dev/dsk/c1t1d0s5 /mnt
3. Change to your backup directory.
# cd /opt/home/peri
4. Use tar to create an archive copy on the backup drive. You must specify the corresponding
subdirectory on the target backup drive. The following command creates a tar file to standard
output from /opt/home/peri. The output is piped to another tar command that changes
Avaya Media Processing Server 500 Hardware Installation and Maintenance
168
4
on page 157 of
kbytes
used
avail capacity Mounted on
Comments? infodev@avaya.com
Preparing for Solaris Backup using
on page 166. The following procedure
53%
/opt
October 2014

Advertisement

Table of Contents
loading

Table of Contents