Veritas-bu

[Veritas-bu] NBDB backup scripts?

2001-01-24 19:04:04
Subject: [Veritas-bu] NBDB backup scripts?
From: KevinB AT paccessglobal DOT com KevinB AT paccessglobal DOT com
Date: Wed, 24 Jan 2001 16:04:04 -0800
Are you saying that bpsyncinfo does not work per it's usage statement?

-----Original Message-----
From: W. Curtis Preston [mailto:curtis AT backupcentral DOT com]
Sent: Wednesday, January 24, 2001 3:21 PM
To: Steve Moccio; david AT datastaff DOT com; Bob Bakh
Cc: W. Curtis Preston; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] NBDB backup scripts?


Thanks for the script.

This solves ONE of the problems with the NBDB backup, but not the biggest
one.

I've been working on a script to automated swapping out the NBDB tapes.  (I 
really don't like the default setup that alternates between two tapes.)

At 01:18 PM 1/24/01 -0500, Steve Moccio wrote:
>Hello all,
>
>I too was in the advanced class and received a handout about the script.
Not
>sure if this is what you are looking for Bob.
>
>Steve Moccio
>  Bell Labs
>    svm AT lucent DOT com
>
>
>
>#!/bin/ksh
>
># find out how many currently queued, re-queued, or active jobs
># there are currently
>QUEUED=`bpdbjobs - summary | sed -e '/MASTER/d' | awk '{print $2}'`
>REQUEUED=` bpdbjobs - summary | sed -e '/MASTER/d' | awk '{print $3}'`
>ACTIVE=` bpdbjobs - summary | sed -e '/MASTER/d' | awk '{print $4}'`
>
># If there are no queue, re-queued, or active jobs, then it is ok.
># to initiate netbackup DB backup
>
>if [ $QUEUED -eq 0] && [ $REQUEUED -eq 0 ] && [ $ACTIVE -eq 0]
>then
>         #Stop the request daemon
>         echo "Stopping the request Daemon"
>         bprdreg -terminate
>         echo "bprd Daemon terminated"
>         # Run netbackup database backup
>         echo "Running netbackup database backup"
>         bpbackupdb
>         echo "Database backup complete"
>         # restart request daemon
>         echo "Restarting request daemon"
>         bprd
>else
>         echo "Could not initiate netbackup database backup
>fi
>
>
>-----Original Message-----
>From: veritas-bu-admin AT Eng.Auburn DOT EDU
>[mailto:veritas-bu-admin AT Eng.Auburn DOT EDU]On Behalf Of David A. Chapa
>Sent: Wednesday, January 24, 2001 11:47 AM
>To: Bob Bakh
>Cc: W. Curtis Preston; veritas-bu AT mailman.eng.auburn DOT edu
>Subject: RE: [Veritas-bu] NBDB backup scripts?
>
>Bob:
>
>I teach that class, and I don't remember an NBDB backup script?
>
>that's not to say that it can't be done, it most definitely can.
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>David A. Chapa
>Consulting Manager
>DataStaff, Inc.
>847 413 1144
>
>On Wed, 17 Jan 2001, Bob Bakh wrote:
>
> > I remember one in the NetBackup advanced class, if someone has taken
that
> > class they may have it.  I can't find my course material, but If I find
it
> > I'll forward it to you.
> >
> > Bob
> >
> > -----Original Message-----
> > From: W. Curtis Preston [mailto:curtis AT colltech DOT com]
> > Sent: Tuesday, January 16, 2001 12:44 PM
> > To: veritas-bu AT mailman.eng.auburn DOT edu
> > Subject: [Veritas-bu] NBDB backup scripts?
> >
> >
> > Does anyone have what they consider to be a good NBU database backup
>script?
> >
> > I've tried to write a script to do the following, but have been
> > unsuccessful:
> >
> > 1. Swap in a new DB backup tape daily
> > 2. Protect the OLD DB backup tapes from use
> > 3. Backup the database on demand (whenever the script is run)
> >
> > Does anyone have a good script for this?
> >
> >
> >
> > ---
> > W. Curtis Preston, Principal Consultant at Collective Technologies
> > Email: curtis AT colltech DOT com                (Best way to contact me)
> > Work : 408 452 5555                       (Leave a message.)
> > Pager: 800 946 4646, pin#1436065        (If urgent.)
> >
> > Tap into the Collective Intellect (TM): http://www.colltech.com
> > Backup & Restore resources:        http://www.backupcentral.com
> >
> > _______________________________________________
> > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> > _______________________________________________
> > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> >
>
>_______________________________________________
>Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu



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