Veritas-bu

Re: [Veritas-bu] Report or Script.

2009-11-07 07:38:06
Subject: Re: [Veritas-bu] Report or Script.
From: "Patrick" <netbackup AT whelan-consulting.co DOT uk>
To: "'Ulises Rodriguez'" <ulises.rodriguez AT wallst DOT com>, <VERITAS-BU AT mailman.eng.auburn DOT edu>
Date: Sat, 7 Nov 2009 12:33:19 -0000

Hi All

 

If you’re a windows purest and you don’t mind using temp files then you could try this:

@echo off

bperror | find " bptm successfully wrote backup " > bperror.out

if exist find.out del find.out

for /f "tokens=15 delims=, " %%i in (bperror.out do bpflist -rl 999 -backupid %%i | find /v "FILES" >> find.out

for /f "tokens=10" %%i in (find.out) do echo %%i

del bperror.out

del find.out

 

Good luck.

 

Regards,

 

Patrick Whelan

VERITAS Certified NetBackup Support Engineer for UNIX.

VERITAS Certified NetBackup Support Engineer for Windows.

 

netbackup AT whelan-consulting.co DOT uk

 

cid:image001.gif@01C99E80.E2717A60

 

From: veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of smpt
Sent: 07 November 2009 10:27
To: 'Ulises Rodriguez'; VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Report or Script.

 

Find and download awk for windows (gawk)

The following command will give you the backup id of all successful backups for the last 24 hours (or use the -hoursago hours)

 

bperror  |find " bptm successfully wrote backup" |awk '{print $15}'

 

After you have the list of backup ids you can run the command bpflist to get the files

 

bpflist -backupid <backupID> -client  <client> -rl 999

 

stefanos


From: veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Ulises Rodriguez
Sent: Friday, November 06, 2009 5:22 PM
To: 'VERITAS-BU AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] Report or Script.

 

Hello All,

 

I am trying to figure how  to dump the backup id  to see what was backed up on tape at the file level.

 

I am running Win2k3 Netbackup 6.5

 

Any ideas?

 

Ulises

Wall Street on Demand

Operations Support

ulises.rodriguez AT wallst DOT com

 

_______________________________________________
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>