HP StoreOnce Backup System Linux and UNIX Configuration Guide (BB852-90952)

Back up the Solaris kernel (iSCSI or Fibre Channel)
1. Check to see what media is available.
# mtx f /dev/scsi/changer/c3t1d0 status
Storage Changer /dev/scsi/changer/c3t1d0:1 Drives, 24 Slots
( 1 Import/Export )
Data Transfer Element 0:Empty
Storage Element 1:Full :VolumeTag=72255101
Storage Element 2:Full :VolumeTag=72255102
Storage Element 3:Full :VolumeTag=72255103
Storage Element 4:Full :VolumeTag=72255104
Storage Element 5:Full :VolumeTag=72255105
Storage Element 6:Full :VolumeTag=72255106
Storage Element 7:Full :VolumeTag=72255107
Storage Element 8:Full :VolumeTag=72255108
Storage Element 9:Full :VolumeTag=72255109
Storage Element 10:Full :VolumeTag=72255110A
Storage Element 11:Full :VolumeTag=72255110B
Storage Element 12:Full :VolumeTag=72255110C
Storage Element 13:Full :VolumeTag=72255110D
Storage Element 14:Full :VolumeTag=72255110E
Storage Element 15:Full :VolumeTag=72255110F
Storage Element 16:Full :VolumeTag=722551110
Storage Element 17:Full :VolumeTag=722551111
Storage Element 18:Full :VolumeTag=722551112
Storage Element 19:Full :VolumeTag=722551113
Storage Element 20:Full :VolumeTag=722551114
Storage Element 21:Full :VolumeTag=722551115
Storage Element 22:Full :VolumeTag=722551116
Storage Element 23:Full :VolumeTag=722551117
Storage Element 24:Full :VolumeTag=722551118
Storage Element 25 IMPORT/EXPORT:Empty
2. Move the cartridge from slot 1 to the tape drive.
# mtx f /dev/scsi/changer/c3t1d0 load 1 0
3. Ensure you are in the root directory.
# cd /
4. Back up the kernel using tar.
# tar cvf /dev/rmt/2cb ./platform/`arch -k`/kernel/sparcv9/unix
5. Move the cartridge back to slot 1.
# mtx f /dev/scsi/changer/c3t1d0 unload 1 0
Restore the Solaris kernel (iSCSI or Fibre Channel)
1. Move the cartridge from slot 1 to the first tape drive.
# mtx f /dev/scsi/changer/c3t1d0 load 1 0
2. Create a temporary folder to restore the backup into.
# mkdir temp
# cd /temp
3. Restore the kernel to the temporary folder.
# tar xvf /dev/rmt/2cb
4. Move the cartridge back to slot 1.
# mtx f /dev/scsi/changer/c3t1d0 unload 1 0
34 Solaris (x86 and SPARC)