Veritas-bu

Re: [Veritas-bu] How to identity Status of a backup using Netbackup CLI ?

2013-08-22 11:12:03
Subject: Re: [Veritas-bu] How to identity Status of a backup using Netbackup CLI ?
From: Rusty Major <rusty.major AT sungard DOT com>
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Date: Thu, 22 Aug 2013 10:11:01 -0500
What about piping bpdbjobs output to grep and filtering there? That will give you the jobID, which you can use in future commands.

On Thu, Aug 22, 2013 at 7:13 AM, vengateshs <nbu-forum AT backupcentral DOT com> wrote:
I launch 'bpbackup' command in my program and it just gives the return code. There is no way to know the corresponding JobId.

Before I launch the next backup, I want to check the status of the Previous backup and make some decision.

'bpimagelist' command can be used with 'keyword' as filter so that I can search my backup job uniquely. Problem is, it only lists the Successful backups.

'bpdbjobs' command can be used to list out all jobs (successful, failed, in progress) but there is no way to uniquely find the backup job because it does not support filtering the result with 'keyword' attribute.

Any help is highly appreciated.

+----------------------------------------------------------------------
|This was sent by vengateshs AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


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




--
Rusty Major ▪ Technical Architect and Team Lead - Backup Infrastructure Engineering ▪ Sungard Availability Services ▪ 757 N. Eldridge Pkwy., Suite 200, Houston, TX 77079 ▪ 281-584-4693 ▪ Cell 713-724-4914 ▪ rusty.major AT sungard DOT com
------------------------------------------------------------------------------
Think before you Print 
CONFIDENTIALITY:  This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited.  If you received this e-mail in error, please notify the sender and delete this e-mail from your system.
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu