Veritas-bu

[Veritas-bu] How to Check the Status of a Manual Backup via command line

2001-09-07 12:36:25
Subject: [Veritas-bu] How to Check the Status of a Manual Backup via command line
From: larry.kingery AT veritas DOT com (Larry Kingery)
Date: Fri, 7 Sep 2001 12:36:25 -0400 (EDT)
Gary Sperano writes:
> 
> 
> We currently use Netbackup Data Center 3.4 on HP/UX 11.  We are currently
> looking at phasing out the Veritas scheduler and using a more sophisticated
> scheduler.  Here is what I need to know:
> 
> We issue a backup via the command using bpbackup -h <host> -c <class> -s
> <schedule>. Programmatically how can we verify, using Korn shell, that the
> backup is/was successful?  We would like to basically know what the jobmonitor
> shows us regarding the status?

Use the -w option to tell the command to block until the backup is
complete.  The return code of the bpbackup command will be the exit
status of the job just like the job monitor would show.  Note that for
multistreaming backups, you'll have multiple return codes for a single
bpbackup command, which doesn't make much sense so the returned value
is "undefined".

You'll also want to consider whether or not to use the -i option (this
is the same as launching a backup from the class menu) which must be
done on the master server, or not to use -i which must be done from
the client and is a user-directed backup (must have a user-directed
backup schedule, you specify files to backup, etc).



> 
> Gary A. Sperano Jr
> Technical Specialist
> VoiceStream
> PCS: 404-610-9566
> Desk: 770-604-3165
> Gsperano AT powertel DOT com
> 
> 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

-- 
Larry Kingery 
          The beatings will continue until morale improves.

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