cancel
Showing results for 
Search instead for 
Did you mean: 
lu
Level 6
This script (ksh+perl) lists all the declared clients with - the last backup date - the policy used for that backup - the schedule Ex:
              mail10 1/12/2009  POL_WNT_0 SCH-Dinc-Daily-1m
              mail15 1/12/2009  POL_WNT_0 SCH-Dinc-Daily-1m
              mail30 1/12/2009  POL_WNT_0 SCH-Dinc-Daily-1m
              mail35 1/12/2009  POL_WNT_0 SCH-Dinc-Daily-1m
Comments
Claudio_Veronez
Level 6
Partner Accredited
wierd I got the same date for all polices

 contaweb     31/12/1969\t
 erp                31/12/1969\t
expsistel       31/12/1969\t
 integracao   31/12/1969\t
intranet          31/12/1969\t
 jocan2          31/12/1969\t
 lotus_apl     31/12/1969\t
 magali          31/12/1969\t


lu
Level 6
what kind of output do you get with "bpimmedia -client contaweb -l 2>/dev/null |grep IMAGE" ?
Claudio_Veronez
Level 6
Partner Accredited
Here is it


IMAGE contaweb 8 contaweb_1265227210 contaweb-files 13 WED-SAT 4 1 50433 1266436810 0 0
IMAGE contaweb 8 contaweb_1265146855 contaweb-files 13 TUE-FRI 4 1 50284 1266356455 0 0
IMAGE contaweb 8 contaweb_1265061106 contaweb-files 13 MON-THU 4 1 2116 1266270706 0 0
IMAGE contaweb 8 contaweb_1264972136 contaweb-files 13 SUN 0 3 1253555 1267650536 0 0
IMAGE contaweb 8 contaweb_1264889959 contaweb-files 13 WED-SAT 4 1 22759 1266099559 0 0
IMAGE contaweb 8 contaweb_1264802561 contaweb-files 13 TUE-FRI 4 1 22751 1266012161 0 0
IMAGE contaweb 8 contaweb_1264708800 contaweb-files 13 MON-THU 4 1 22740 1265918400 0 0
IMAGE contaweb 8 contaweb_1264628615 contaweb-files 13 WED-SAT 4 1 22733 1265838215 0 0
IMAGE contaweb 8 contaweb_1264543210 contaweb-files 13 TUE-FRI 4 1 22714 1265752810 0 0
IMAGE contaweb 8 contaweb_1264456482 contaweb-files 13 MON-THU 4 1 22704 1265666082 0 0
IMAGE contaweb 8 contaweb_1264368059 contaweb-files 13 SUN 0 3 1232912 1267046459 0 0
IMAGE contaweb 8 contaweb_1264282980 contaweb-files 13 WED-SAT 4 1 23962 1265492580 0 0
IMAGE contaweb 8 contaweb_1264196738 contaweb-files 13 TUE-FRI 4 1 23953 1265406338 0 0
IMAGE contaweb 8 contaweb_1264110131 contaweb-files 13 MON-THU 4 1 22668 1265319731 0 0
IMAGE contaweb 8 contaweb_1263759957 contaweb-files 13 SUN 0 3 1212251 1266438357 0 0
IMAGE contaweb 8 contaweb_1263155916 contaweb-files 13 SUN 0 3 1177912 1265834316 0 0


Claudio_Veronez
Level 6
Partner Accredited
I have changed some parameters,

my instalation is a little bit different.

now its working, thanks a lot,

I'm developing a script to report "everything" about policy.

ex I have made one script that shows the average time of all policies, and another that report the total amout of backup, w/ your script I'll be able to get more info..

Thanks a lot..




lu
Level 6
What did you fix in the script ?
Claudio_Veronez
Level 6
Partner Accredited
I put some basic stuff..

like

NBPATH = /opt/openv/netbackup/bin
CMDPATH = /opt/openv/netbackup/bin/admcmd

and use $NBPATH/comand_line

in my environment I had to install it at /opt2/openv/netbackup


that was my mistake.


Thanks for your script





Carlos_V
Level 6

I don't have idea about in what place of the script you put:

NBPATH = /usr/openv/netbackup/bin                             in my case
CMDPATH = /usr/openv/netbackup/bin/admcmd        in my case

Is in the script, or in the server?
lu
Level 6
You can add in your sever: PATH=$PATH:/usr/openv/netbackup/bin/admincmd/; export PATH
Version history
Last update:
‎12-02-2009 03:00 AM
Updated by: