This page has been created to help you with the iR 110 Ultra 10 tape backup
1. I want to backup the Root, Var or the Document Library to Tape. I can boot from the Ultra 10 hard disk |
2. I want to backup the Document Library to Tape. I cannot boot from the Ultra 10 hard disk |
3. I want to restore the Document Library from tape with the Backup/Restore software |
4. I want to backup/restore with the Backup/Restore software using tape indexes |
5. I am getting the error "Tape Device /dev/rmt/xxx not known". I need help |
6. I'd like to see some other usefull mt commands |
1. I want to backup the Root, Var or the Document Library to Tape. I can boot from the Ultra 10 hard disk
Situation:
The customer wants to backup one or all of the Ultra 10 slices using
the Backup Restore Utility
Solution:
The three slices that can be backed up with the Backup Restore utility
are;
|
|
|
|
|
|
|
|
2. Start the Backup/Restore software by any method below
Right click on the Open Windows Desktop
Right click on printer
Left click on Backup/Restore Login
or
su to root
type system_admin.adm
3. Right click on Edit and choose Add Backup
4. Here is a description of each of the options;
Mount Directory This is where
you choose the slice to backup. For now Select Document Library
Tape
Device
Leave it at Travan NS (TM) Compressed
Tape
Drive
Location First external Tape drive
Tape
Drive
Local. A remote backup is possible but I havent learned that yet
Backup
Level
Full. In this example we are doing a full backup
Tape
Position
Leave at 1. Use this to index multiple backups onto a single tape
When
Use this to select when to do a backup. For now choose Now
5. Double check your settings and click apply
6. A new command tool should start automatically. Here is what our backup log appears like
DUMP: Writing 32 Kilobyte records
DUMP: Date of this level 0 dump: Wed Mar 06 13:43:08 2002
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c0t0d0s4
(len:/var/spool/kodak_library/DocumentStorage) to /dev/rmt/0hn.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Estimated 47928 blocks (23.40MB).
DUMP: Dumping (Pass III) [directories]
DUMP: Dumping (Pass IV) [regular files]
DUMP: 47870 blocks (23.37MB) on 1 volume at 622 KB/sec
DUMP: DUMP IS DONE
DUMP: Level 0 dump on Wed Mar 06 13:43:08 2002
Hit [Return] to continue
7. Hit return and close the Backup/Restore Utility
Way to go. You have successfully backed up the Document Library to tape.
2. I want to backup the Document Library to Tape. I cannot boot from the Ultra 10 hard disk
Situation:
The customer may or may not have been backing up their Document library
to tape.
The Ulta 10 has suffered a major crash. They can no longer boot
from the hard disk. (Eeek)
You want to backup the Document Library to tape, re-install system
software and restore the Document Library from tape
Solution:
You must boot the Ultra 10 from the System Software CD. Have it
ready
Get the Ultra 10 to the OK prompt by any of these methods
Power on the machine and use Stop a early in the
boot sequence (Be carefull)
If the machine is already partially booted, try init
0
Put the System Software CD in the CDROM drive
At the OK prompt, type boot cdrom -s. Wait for to machine to boot to the # prompt
Type the following commands;
# fsck
/dev/rdsk/c0t0d0s4
This will run a File system check on slice 4, the document library
# mount /dev/dsk/c0t0d0s4 /mnt This
will mount this device on a mount point called /mnt
# ufsdump 0cf /dev/rmt/0
/mnt This
will run the Unix file system dump command. 0 Entire file system
c Sets defaults for cartridge f Use dump_file rather than
/dev/rmt/0
# umount
/mnt
Unmount the /mnt
# init
0
Back to OK prompt
# boot cdrom -
install
Begin the System Software install process
After installing System Software, use the Backup Restore Utility to restore from your tape.
3. I want to restore the Document Library from tape with the Backup/Restore software
Situation:
The customer wants to restore the entire Document Library from tape
Solution:
1. Start the Backup/Restore software by any method below
Right click on the Open Windows Desktop
Right click on printer
Left click on Backup/Restore Login
or
su to root
type system_admin.adm
2. Right click on Edit, choose Restore.
3. Here is a description of the options
Tape
Device
Leave this at Travan NS (TM) Compressed
Tape
Position
Use this to access any indexed backups you have. Normally left at
1
Tape Drive
Location First external
Tape drive
Tape Drive
Local.
A remote backup is possible but I havent learned that yet
Restore
Path
You must type the Restore path (Mount point) here (IE
/var/spool/kodak_library/DocumentStorage)
The trickiest part of this procedure is the Restore Path
Here is a quick method
1. su to root
2. Type du. Here is an example
/
(/dev/dsk/c0t0d0s0 ): 815098 blocks 390748 files
/proc
(/proc
): 0 blocks
3829 files
/dev/fd
(fd
): 0
blocks 0 files
/var
(/dev/dsk/c0t0d0s3 ): 5858014 blocks 505574 files
/var/spool/kodak_library/DocumentStorage(/dev/dsk/c0t0d0s4 ): 6583628
blocks 418135 files
/tmp
(swap
): 1034112 blocks 41564 files
3. Highlight the path you want
(IE /var/spool/kodak_library/DocumentStorage)
4. Select copy on the Ultra 10 keyboard
5. Go back to the Restore Window, and
use paste on the Ultra 10 keyboard
4. Select Restore Entire Tape, and choose yes at the pop up window
A new command tool should start automatically. Here is what our backup log appears like
Verify volume and initialize maps
Media block size is 126
Dump date: Wed Mar 06 13:43:08 2002
Dumped from: the epoch
Level 0 dump of /var/spool/kodak_library/DocumentStorage on
len:/dev/dsk/c0t0d0s4
Label: none
Begin level 0 restore
Initialize symbol table.
Extract directories from tape
Calculate extraction list.
extract file ./LIB/aaaaad/aaaaaw/Data/page_0000051.tif
extract file ./LIB/aaaaad/aaaaaw/Data/page_0000052.tif
.
.
.
extract file ./LIB/aaaaad/aaaaaw/Data/page_0000053.tif
extract file ./LIB/aaaaad/aaaaaw/Data/page_0000054.tif
extract file ./LIB/aaaaad/aaaaaw/Data/page_0000055.tif
extract file ./LIB/aaaaad/aaaaaw/Data/NewDocument
extract file ./LIB/aaaaad/aaaaaw/Settings/scan.set
Add links
Set directory mode, owner, and times.
Check the symbol table.
Check pointing the restore
Hit [Return] to continue
Important Note:
A restore from tape will overwrite files and folders in the
Document Library if the same file and folder names already exist
A restore from tape will not overwrite files and folders in the
Document Library if different file and folder names exist
4. I want to backup/restore with the Backup/Restore software using tape indexes
Situation:
The customer wants to perform multiple backups to 1 tape using indexes
Solution:
The procedure to do this is exactly the same as in "I want to
backup the Root, Var or the Document Library to Tape" from above
In this case however, adjust the "Tape Position" setting to reflect the
"Index" position you wish to store the next slice
For example, you may want to store the Document Library on index
position 1 and /var on index position 2
The rest is of the procedure is pretty easy.
You can check the existing indexes on the tape by following these steps
1. Start the Backup/Restore software by any method below
Right click on the Open Windows Desktop
Right click on printer
Left click on Backup/Restore Login
or
su to root
type system_admin.adm
2. Right click on Edit, choose Index Tape and then Apply
You should see a list of the index number and backup name
Make sure you label your tape !!
5. I am getting the error Tape
Device /dev/rmt/xxx not known. I need help
Perhaps the device number is different than what the GUI is allowing
you to use... try this
Put a tape in the bay
#mt -f /dev/rmt/n status
Change n (The Drive Number) to 1,2,3 ... until you get feedback from
the mt command indicating some tape information
ie Vendor 'TANBERG' Product 'NS20
Pro 20 GB' tape drive ...
If you enter the wrong drive number, you will get "No such device or
address"
Once you have confirmed the driver number, change the GUI's tape device
to other and change the Device name to reflect the changed drive number
IE /dev/rmt/0hn to /dev/rmt/1hn
6. I'd like to see some other usefull mt commands
mt - Magnetic tape manipulating program
mt -f /dev/rmt/n erase
Erases entire tape. Be
carefull
mt -f /dev/rmt/n rewind
Duh.
mt -f /dev/tmr/n retension
Full wind forward and back