Hi!
Whelan, Patrick wrote:
> You could:
>
> bpdbjobs -most_columns | grep backupid | awk -F, '{ print $17 }'
Hm, there's no bpdbjobs on the client :( On the master server,
I find it in /opt/openv/netbackup/bin/admincmd. And even on
the server, bpdbjobs doesn't print what I need :(
I called the backup policy "TEST". Now I did:
(winds03)askwar$ sudo /opt/openv/netbackup/bin/admincmd/./bpdbjobs
-most_columns | grep TEST | tail -1
12031,0,3,0,TEST,TestSched,winds06,winds03,1168348027,0000000190,1168348217,L25_Tape_Drive_winds03_SR,1,,31744,1450,,100,22659,root,0,0,0,0,root,winds03,2,2,0,,,0,0,0,7019,,,,,,22662,,,,W011L1,1,,,1,0,0,winds06_1168348028,,
(winds03)askwar$ sudo /opt/openv/netbackup/bin/admincmd/./bpdbjobs
-most_columns | grep TEST | tail -1 | awk -F, '{print $17}'
Hm. Nothing :( And also in the other lines printed by bpdbjobs,
there's never a directory name printed :(
(winds03)askwar$ sudo /opt/openv/netbackup/bin/admincmd/./bpdbjobs
-most_columns | awk -F, '{print $17}' | sort | uniq
> Caveat emptor.
Why?
Alexander Skwar
|