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