Veritas-bu

[Veritas-bu] Robtest script

2003-08-06 13:15:44
Subject: [Veritas-bu] Robtest script
From: bsprangers AT omniecs DOT com (Bruce D. Sprangers)
Date: Wed, 6 Aug 2003 12:15:44 -0500
Thanks all for your help.  I think I figured it out by using a combination
of tpreq and tpunmount as well as setting some script variables, it works
like a charm.

Thanks a lot.
Bruce

> -----Original Message-----
> From: veritas-bu-admin AT mailman.eng.auburn DOT edu
> [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Joost
> Mulders
> Sent: Monday, August 04, 2003 3:40 PM
> To: veritas-bu AT mailman.eng.auburn DOT edu; bsprangers AT omniecs DOT com
> Subject: Re: [Veritas-bu] Robtest script
>
>
> >Have a customer who would like to script robtest to load a tape after
> >regular backups are finished, load a certain tape into a drive
> and then run
> >a 'manual' backup of their NBU server via ufsdump to that drive.  Does
> >anyone have any experience with scripting robtest?
>
> The robtest command is a wrapper script that calls tl[d48dhm] for
> different
> types of robots. The tl* commands accect input from stdin, so you can say:
>
>  echo "m s13 d1" | tldtest -r /dev/sg/c3t0l0 -d1 /dev/rmt/0cbn
>
> This will load the tape in slot 13 into drive 1. If you do a ? within
> tl*test, you'll get all the options. I have a shell lib of
> functions that use
> tldtest a lot. It's only for TLD lib's on though. You can use it like:
>
>  # ksh
>  # . ./nbu-env.sh
>  # load_media B10000
>
> There is even a function called "dr_prepare" in it that selects a
> tape from a
> pool, mounts it in a free drive, and dumps all ufs/vxfs fs's to it + a
> report. So, create a pool, fe called DR, and do a dr_prepare -p
> DR and your
> set. It's at http://www.j-mulders.demon.nl/netbackup/nbu-env.sh
>
> Succes!
>
> Joost
> --
> Long may you run.
>
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003


<Prev in Thread] Current Thread [Next in Thread>