Veritas-bu

[Veritas-bu] Brain storm for the Week End (for a shall script)

2011-03-18 17:41:02
Subject: [Veritas-bu] Brain storm for the Week End (for a shall script)
From: Harpreet SINGH <harpreet_singh AT ctl.creative DOT com>
To: veritas-bu AT mailman.eng.auburn DOT edu
Date: Sat, 19 Mar 2011 05:40:51 +0800
Dear All,

I am on Netbackup 7.0 and OS = Redhat 5.4

Need your help to have a look on this attached script and advise.

This script will send us a consolidated backup status Report after 18
hours.
Also I am able to send the Backup Status by Backup Policy Selection. i.e.
Team A will not know the backup status of Team B

In this script the email sent option is as
-- If backup has any exceptions (i.e. Backup Status Code  more than 0 )
then send email to XYZ + ABC + AB
-- If backup completed successfully then send email to ABC + AB
-- send the Netbackup Logs to AB

        (See attached file: mail_bp_reports.txt)
I am heaving a issue with this script where I am not able to select the
Exact Backup Policy Name
ie.
<<
BOSS-BKUP
ERP-Backup
>>

I have noticed if I create a new backup policy with 'BOSS-BKUP-1' or
'ERP-Backup-2' it is also appearing in the backup status. Where I don't
want this.

Please help to have a look and advise how I can select the EXACT Policy
Name i.e. 'BOSS-BKUP' or 'ERP-BKUP' as per my Policy List.

<<
gen_outfile_for_backup_policy()
{
backupPolicyList="      \
BOSS-BKUP                       \
ERP-Backup                      \
Windows_Bkup            \
Windows_Bkup_All                \
Windows_Bkup_M-N                \
FS-S-BKUP                       \
FS-S-BKUP-1                     \
FS-N-BKUP                       \
ESX_VCB_BKUP            \
Resignee_Usrs1          \
Resignee_Usrs2          "
>>

With Warm Regards
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Harpreet Singh Chana

Phone  :     (O) 6895 - 4326
Fax       :     (O) 6895 - 4991
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
** Please do not print this email unless it is absolutely necessary.

Notice
The information in this message is confidential and may be legally
privileged.  It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient,  any disclosure,  copying or distribution of the message,  or
any action taken by you in reliance on it,  is prohibited and may be
unlawful.  If you have received this message in error,  please delete it
and contact the sender immediately.  Thank you.

Attachment: mail_bp_reports.txt
Description: Binary data

_______________________________________________
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>
  • [Veritas-bu] Brain storm for the Week End (for a shall script), Harpreet SINGH <=