cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Eject after Job Finishes

Jason_Brooks
Level 4
I am looking at auto-ejecting our full backups once complete to store in another location. We do not use 3rd parties for storage of media, so vault looks to be overkill.


In digging through the forums, I ran across this thread:

Thread: How to eject a tape from a slot, not a drive from the command line


Is it feasible and manageable to combine this with some of the other scripts in the \bin\goodies directory to do a auto-eject to media port? Or are there other snafus I am welcoming in looking at this without Vault?

We are currently running NBU 5.1 MP3 on Windows 2K3, planning to migrate to NBU 6 once MP1 is available.

Thoughts, comments welcome.

Thanks,
Jason Brooks

13 REPLIES 13

zippy
Level 6
Jason,

Wouldnt you want to eject all tape backups that occured in the past lets say 24 hours and then store them off site?

If you want to eject one tape at a time you could, it's not very effective use of you time though, but is possible with the info youve gathered allready.

If you need scipts to help you automate the eject and import of tapes from a library to the libray outport please e-mail me.

jd

Jason_Brooks
Level 4
> Wouldnt you want to eject all tape backups that
> occured in the past lets say 24 hours and then store
> them off site?

Yes, I will be ejecting several at a time, but not all x within past 24 or so hours. We only offsite fulls at this time, ran weekly.

> If you want to eject one tape at a time you could,
> it's not very effective use of you time though, but
> is possible with the info youve gathered allready.
>
> If you need scipts to help you automate the eject and
> import of tapes from a library to the libray outport
> please e-mail me.
>
> jd
I'll drop you an email regarding scripts.

Thanks,

Jason

scott_nishimura
Level 3
As long as you know the tape #s, just use the vmchange command:

vmchange -res -multi_eject -w -verbose -rn 1 -rt tld -rh server_that_the_robot_is_connected_to -ml tape1:tape2:...tapen

As an added bonus, if you take the tapes out of the CAP and put new ones within 5 minutes and hit , the robot will put the new tapes in the old slots. This is how I eject FULL tapes and insert new ones without opening the robot. Then I just do an inventory afterward and I'm ready to do.


Scott

donny_winther
Level 3
Is it possible to post the eject script (procedure) in the tread, that might also be usable for my tread

http://forums.veritas.com/discussions/thread.jspa?threadID=58727&tstart=0

/Donny

zippy
Level 6
Jason, Donny

http://www.jamesdunnunix.com/veritas_eject/

Have fun, remember..... points for jim :)

Also these were written over many years and are written for UNIX class servers, (KORN SHELL), I'm sure you can convert them to Winders stuff or you can make you master server a UNIX server and have less headache.

Start with nbu.txt (its a case statment for the operator)

Peace!

JD

donny_winther
Level 3
Thanks James, but when browsing this link with IE

http://www.jamesdunnunix.com/veritas_eject/

I get status:

Forbidden
You don't have permission to access /veritas_eject/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

:(

zippy
Level 6
ill open ithang on

zippy
Level 6
get it while you can!

JD

donny_winther
Level 3
Hi James,

Still access denied to your virtual website !

Can you email the script examples to me ?

mailto:donny.winther@fourleaf.dk

And i'll mail back the windows conversions for your benefit

Donny

Jason_Brooks
Level 4
Donny,
Do you expect to have the conversion to Windows done quickly? I'm slowly working on the same thing, but implementing in perl. How are you doing it? If/when I get mine done, I could post somewhere...

Thanks,
Jason

zippy
Level 6
Jason, Donny,

Install korn shell on the windows box.

http://www.google.com/search?hl=en&safe=off&q=korn+shell+for+windows&spell=1

once your done converting the scritps then you can get rid of the korn shell, or better yet keep it.

By the way if you convert it to winders, send me the code, i'd like to see it.

JMessage was edited by:
James Dunn

donny_winther
Level 3
Hi James,

I did not recieve the scripts by email and could not connect to the web link, so conversion not possible yet !

mailto:donny.winther@fourleaf.dk

zippy
Level 6
Donny

I opend the site up one more time, please grab all the stuff you need.

It will be closed agin in 1 hour 11:30 EST

http://www.jamesdunnunix.com//veritas_eject/

J