Hello,
I am looking for netbackup start and end time using command line.
I am using:
VERSION NetBackup 7.5
RELEASEDATE Wed Feb 08 02:15:39 CST 2012
BUILDNUMBER 20120207
When using the commands:
#bpdbjobs -most_columns| grep policy01 | awk -F","'{print $1", "$5", "$7", "$9", "$10","$11}' | grep 3913
3913, policy01, server01, 1403812801, 0000000042,1403812843
# bpdbm -ctime 1403812801
1403812801 = Thu Jun 26 22:00:01 2014 = Start Time
# bpdbm -ctime 1403812843
1403812843 = Thu Jun 26 22:00:43 2014 = End Time
The problem is that the environment is used by multiple engineers that can delete log in activity monitor so I checked the"bpimagelist -l" command and the problem is that I don't have the same result
# bpimagelist -l -hoursago 24 -policy policy01 | grep server01 | awk '{print $14", "$15", "$45}'
1403812805, 13, 3913
# bpdbm -ctime 1403812805
1403812805 = Thu Jun 26 22:00:05 2014
As you can see the start time is different here than in bpdbjobs command and end time = 1403812805 + 13
#bpdbm -ctime 1403812818
1403812818 = Thu Jun 26 22:00:18 2014
I am not sure why we have these difference and which value are the correct one to use but your help will be appreciated.
Many thanks