tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Media Robot Utility
@ 2000-06-19 13:34 Roetman, Paul
  0 siblings, 0 replies; 2+ messages in thread
From: Roetman, Paul @ 2000-06-19 13:34 UTC (permalink / raw)
  To: tru64-unix-managers

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.

============================================================================
=====

^ permalink raw reply	[flat|nested] 2+ messages in thread
* SUMMARY: Media Robot Utility
@ 2006-08-31 13:17 J Bacher
  0 siblings, 0 replies; 2+ messages in thread
From: J Bacher @ 2006-08-31 13:17 UTC (permalink / raw)


Thanks to:
	Iain Barker
	Jenny Butler
	John Lanier
	Tim Brown
	Graham Allen
	Daniel Clar

MRU used to be freely available but now is licensed and must be purchased.

So, if we can't use a MRU without a license anymore and can't find the original 
kit, we'll take a look at Amanda.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-31 13:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-19 13:34 SUMMARY: Media Robot Utility Roetman, Paul
  -- strict thread matches above, loose matches on Subject: below --
2006-08-31 13:17 J Bacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox