Re: vaulting problem
Yes, you should feel comfortable with your vendor, but don't. The worst time to find out your inventory is off is when you are trying to recover from a disaster. I highly recommend (and this is from experience) that you audit your vault at least twice a year. Even with all the safeguards, problems can happen. Nick Cassimatis [EMAIL PROTECTED] Today is the tomorrow of yesterday.
Re: vaulting problem
We will be assigned a range of slots. We tell them what tapes to put in what slots, so it's under our control -- but we also have to keep track. I suppose it would be possible to write a basic script to manage that. It would have to keep its own database of course (although probably a single flat file would work). Check out Autovault... it may handle that for you (for a price). Speaking of bad vault vendors, the one we had a couple of years ago (who shall remain nameless) when we first started using ADSM, actually placed their own hand-written gummed labels over our barcodes! I mean, how dumb is that? Needless to say, we have taken our business elsewhere... to Vital Records Inc., who I can highly recommend. Robin Sharpe Berlex Laboratories
Re: vaulting problem
Here's a little bit of code to get you started. Alex #!/bin/ksh # # This is a simple script to process vault slotting for ADSM DR Media # The slot file has to be generated first, and looks something like # # A001 -Empty # A002 -Empty # # #set -x function usage { print print usage: vault [-r|-v] file1 file2 print usage: vault [-o|-e] file2 print usage: vault [-s] string file2 print print -- -r return from vault print -- -v send to vault print -- -o print contents of slots print -- -c free slot count print -- -s search slots for a string print -- -e edit the slot list print string search string print file1 filename of the list of tapes to send or return print file2 filename of the list of slots } function unslot_tapes { tapes=$1 slots=$2 grep -f $tapes $slots | awk '{print $1 -Empty}' slots.empty grep -vf $tapes $slots slots.unchanged cat slots.empty slots.unchanged awk '{print $1}' slots.empty tmp3.$$ grep -f tmp3.$$ $slots rm tmp3.$$ sort +0 -1 slots.unchanged $slots rm slots.unchanged } function slot_tapes { tapes=$1 slots=$2 grep -f $tapes $slots slots.vaulted awk '{print $2}' slots.vaulted tmp.$$ grep -vf tmp.$$ $tapes tapes.2 grep -vf tmp.$$ $slots tmp2.$$ cat tmp2.$$ $slots rm tmp2.$$ rm tmp.$$ exec 3 tapes.2 grep \-Empty $slots | awk '{print $1}' | while read slotnum; do if read -u3 volume; then print $slotnum $volume `date +%m/%d/%y` slots.vaulted else break; fi done awk '{print $1}' slots.vaulted tmp.$$ grep -vf tmp.$$ $slots slots.unchanged rm tmp.$$ cat slots.vaulted slots.unchanged sort +0 -1 slots.unchanged $slots rm tapes.2 slots.unchanged cat slots.vaulted } if [[ ! $# -gt 1 ]]; then usage return 1 elif [[ $1 = -c ]]; then if [[ ! -s $2 ]]; then print unable to open file $2; return 1; fi grep -c \-Empty $2 elif [[ $1 = -o ]]; then if [[ ! -s $2 ]]; then print unable to open file $2; return 1; fi grep -v \-Empty $2 2/dev/null elif [[ $1 = -e ]]; then if [[ ! -s $2 ]]; then print unable to open file $2; return 1; fi vi $2 elif [[ ! $# -eq 3 ]]; then usage return 1 elif [[ $1 = -s ]]; then if [[ ! -s $3 ]]; then print unable to open file $3; return 1; fi grep $2 $3 2/dev/null if [[ ! $? -eq 0 ]]; then print Unable to find pattern return 1 fi elif [[ ! ( -s $2 -s $3 ) ]]; then print one of the files, $2 or $3, doesn\'t exist. return 1 elif [[ $1 = -r ]]; then unslot_tapes $2 $3 elif [[ $1 = -v ]]; then slot_tapes $2 $3 fi -Original Message- From: Adam J. Boyer [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 02, 2001 2:00 PM To: [EMAIL PROTECTED] Subject: Re: vaulting problem We will be assigned a range of slots. We tell them what tapes to put in what slots, so it's under our control -- but we also have to keep track. David Longo David.Longo@HEALTH-To: [EMAIL PROTECTED] FIRST.ORG cc: Sent by: ADSM: DistSubject: Re: vaulting problem Stor Manager [EMAIL PROTECTED] U 08/02/01 04:52 PM Please respond to ADSM: Dist Stor Manager BTW: How will you know what slot they have put your tape in?? David B. Longo System Administrator Health First, Inc. 3300 Fiske Blvd. Rockledge, FL 32955-4305 PH 321.434.5536 Pager 321.634.8230 Fax:321.434.5525 [EMAIL PROTECTED] WorldSecure Freightliner.com made the following annotations on 08/03/01 10:30:09 -- [INFO] -- Content Manager: The information contained in this communication is confidential and intended solely for the use of the individual to whom it is addressed and others authorized to receive it. If you are not the intended recipient, any disclosure, copying, distribution or taking of any action in reliance on the contents of this information is prohibited. If you have received this communication in error, please immediately notify the sender by phone if possible or via email message. ==
Re: vaulting problem
We will be assigned a range of slots. We tell them what tapes to put in what slots, so it's under our control -- but we also have to keep track. David Longo David.Longo@HEALTH-To: [EMAIL PROTECTED] FIRST.ORG cc: Sent by: ADSM: DistSubject: Re: vaulting problem Stor Manager [EMAIL PROTECTED] U 08/02/01 04:52 PM Please respond to ADSM: Dist Stor Manager BTW: How will you know what slot they have put your tape in?? David B. Longo System Administrator Health First, Inc. 3300 Fiske Blvd. Rockledge, FL 32955-4305 PH 321.434.5536 Pager 321.634.8230 Fax:321.434.5525 [EMAIL PROTECTED]
vaulting problem
Hi everyone, We have a small problem in that our vaulting company only references tapes by slot number, not by volume serial number. So, we'll need to keep some kind of database of what tapes are offsite and in which slots. We will be using DRM, and I was thinking we could update the database when DRM admin commands run, such as move drm, etc. I was wondering if anyone has come up with a script or other solution. I saw some general references in the archives, but an actual script, or something to help me along the path would be really appreciated. Thanks! adam
Re: vaulting problem
I would look at getting another offsite vendor! Looks like they want you to do part of their work. You should be able to tell them Send me tapes xxx, yyy and zzz tomorrow. This is introducing more manual steps in the process and more possibility of confusion (lost tapes, misplaced tapes, etc.). BTW: How will you know what slot they have put your tape in?? David B. Longo System Administrator Health First, Inc. 3300 Fiske Blvd. Rockledge, FL 32955-4305 PH 321.434.5536 Pager 321.634.8230 Fax:321.434.5525 [EMAIL PROTECTED] [EMAIL PROTECTED] 08/02/01 04:44PM Hi everyone, We have a small problem in that our vaulting company only references tapes by slot number, not by volume serial number. So, we'll need to keep some kind of database of what tapes are offsite and in which slots. We will be using DRM, and I was thinking we could update the database when DRM admin commands run, such as move drm, etc. I was wondering if anyone has come up with a script or other solution. I saw some general references in the archives, but an actual script, or something to help me along the path would be really appreciated. Thanks! adam MMS health-first.org made the following annotations on 08/02/01 16:57:33 -- This message is for the named person's use only. It may contain confidential, proprietary, or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it, and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Health First reserves the right to monitor all e-mail communications through its networks. Any views or opinions expressed in this message are solely those of the individual sender, except (1) where the message states such views or opinions are on behalf of a particular entity; and (2) the sender is authorized by the entity to give such views or opinions. ==