From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96142172324276.tru64-unix-managers.marc@archive.invalid> From: "Roetman, Paul" Date: Mon, 19 Jun 2000 13:34:23 +0000 To: tru64-unix-managers Subject: SUMMARY: Media Robot Utility X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96142172324276 Thanks to Alan Paul Kitwin Stan Horwitz Tim Janes Daniel Clar Richard Bond Available Software packages Amanda www.amanda.org, www.backupcentral.com/amanda.html @backup www.backup.com veritas www.veritas.com [commercial] legato www.legato.com [commercial] BRU Arkeia backupcentral also lists a variety of other freeware for backup and recovery. Other websites www.backup.com www.backupcentral.com (excellent list of about 300 questions as an RFI, plus examples) Books to read Unix Backup & Recovery [O'Reilly] The general summary is Use commercial or freeware software if you need to track you backups, or to introduce any sort of complexity; use standard Unix tools, and MRU for simple backups. The below emails (in no particular order) summarize all the responses I have received so far. Thanks to all! Cheers Paul ====================================================================== example to initialize our 6 tapes juke-box, in fact the first tape is initialized and the five other are blank. #!/bin/sh set -v set -x # This shell script needs the installation of the MRU software # delivered with Storageworks tape products. if MRU is not there # you won't be able to use it # # label of the TAPES TAPELABEL=sauvexxx # last letter in the TAPELABEL LL=e # get the current status : # nsrmm -C displays # 4mm tape sauv08 mounted on /dev/nrmt0h, write enabled set `nsrmm -C` tapeorig=$3 # unmount the tape in the software meaning nsrmm -u # define your robot for MRU MRU_ROBOT=/dev/mc6b export MRU_ROBOT # look at the empty slot which signifies which tape is currently used # robot sho slot displays # SLOT: 0 Full # SLOT: 1 Empty # SLOT: 2 Full # ............................. set `robot sho slot | grep Empty` slot=$2 # unload the tape which should be replaced robot unload slot $slot tapefut=`echo $tapeorig | cut -f2 -d$LL` # slots number in the JUKE BOX # Remark : don't forget that MRU result is hardware slot minus one for slot in 5 4 3 2 1 do # load the next tape to be labeled robot load slot $slot label=`expr $slot + $tapefut + 1000` label=`echo $label | cut -b2-4` nsrmm -l sauve$label robot unload slot $slot done robot load slot 0 tape=`nsrmm -m` ============================================================================ ===== We are using "amanda" (www.amanda.org) as a backup manager for some 100 disks (200Gbytes). This manages the tape scheduling, backup indexing etc. ( indexes are kept in standard compressed text files so finding a file is easy with zgrep.) It calls standard Unix dump. vdump or gnu tar to reform the actual backup. ( will also backup up PC via samba) You tell it some general parameters like max time between level 0 dumps and how many tapes in your cycle and it schedules what level dump to do on each disk according to how much has changed on the disk. I have a simple tcl script that interfaces it with the mcutil command that is part of MRU utility. A while back I used Backup-Exec on PC and was not very impressed. ============================================================================ ===== Not that I know of. A good deal of the complexity of Legato and probably Veritas comes from their ability to implement a fairly complex, heavy duty database to track all backup activity. I am testing the MRU software right now, but there's no way it would do anything close to what the Legato NetWorker software I am also testing can do. The Unix tools tend to be very bare bones and generally operate on the hardware and robotics, but that's about it. ============================================================================ ===== While I wrote much of MRU I never had the opportunity to use it much in the context of expect (always new features to add, bugs to fix and new libraries to test). That's why I didn't answer originally, since I didn't have a useful answer for the specific question. The principle advantage of backup suites from vendors is that they're typically complete solutions; backup, media management, robot control, catalog services and whatever vendor specific feature the software offers. For Networker that is its original design goal, backup of multiple network client systems in parallel data streams to keep server tapes busy and running at the highest available performance. I don't know what Veritas set out to do. Since it has taken multiple engineers years to write these 3rd party suites, you have to consider the time cost for you to replicate the functionality you need. Since others have used expect (check the archives to see if examples were ever posted), this part probably isn't rocket science. With suitable hardware and extra tapes you might also be able to simply the problem by avoiding intra-backup tape changes (don't backup more than will fit on a single tape) and only using MRU to changes between backups. This doesn't work for you configuration, oh well. re: cataloging This makes it a bit harder. vdump, tar and cpio have options to print files saved as they're backed up. However, this can be a significant extra I/O load when the files are small; the name is longer than the file's contents. dump and the previous three also have options to list the contents after the backup has been made so a listing pass could be made to collect all the names. This has the extra benefit of being a read check of the physical tape. Post processing of a listing could be used to combine file name with media volume and tape file. Getting record offsets for very fast searches (on supporting tapes), is an even harder problem, since will take custom software that understands the tape format. In the end it becomes a cost benefit analysis. It is cheaper for your company to write a backup suite based on existing and low cost tools that is probably just good enough or to buy a 3rd party suite that probably does more than you need and still misses some specific feature you could use? Finally, there's always Amanda, I don't know precisely where to look for it. ============================================================================ =====