[Veritas-bu] Timestamp of netbakcup's log
2004-10-10 01:41:34
Subject: |
[Veritas-bu] Timestamp of netbakcup's log |
From: |
kemal AT econ.umn DOT edu (Kemal Badur) |
Date: |
Sun, 10 Oct 2004 00:41:34 -0500 |
The timestamp is in Unix epoch time, and can be converted to a useful
format with the Netbackup command
bpdbm -ctime <10-digit epoch time>
e.g.
user@localhost:/# bpdbm -ctime 1097057552
1097057552 = Wed Oct 6 05:12:32 2004
You can also use the -L switch on any Netbackup command that uses epoch
time to force it to use the MM/DD/YY format (and also print the output
in a more human-readable way.)
Hope this helps.
barryide wrote:
> Dear all,
> I installed veritas netbackup business server 4.5 on solaris 8,and I
> found that there are some logs under
> /usr/openv/netbackup/db/error,and for example some entry in these logs
> like that following:
>
> 1097057552 1 4 4 oldmail 0 0 0 *NULL* bpsched cleaning media DB(s)
> 1097057552 1 4 4 oldmail 0 0 0 *NULL* bpsched running session_notify
> 1097057553 1 4 4 oldmail 0 0 0 *NULL* bpsched performing database backup
> 1097057557 1 2 4 oldmail 338 0 0 *NULL* bpbackupdb NB database backup to
> path /catalog_backup2 SUCCEEDED
> 1097057557 1 4 4 oldmail 0 0 0 *NULL* bpsched database backup complete
> 1097057696 1 16 4 oldmail 339 0 0 oldmail bpdm begin reading backup id
> oldmail_1097057527 (restore), copy 1, fragment 1
> 1097057716 1 16 4 oldmail 339 0 0 oldmail bpdm successfully read
> (restore) backup id oldmail_1097057527, copy 1, fragment 1, 307231
> Kbytes at 16492.968 Kbytes/sec
> 1097057976 1 4 4 oldmail 0 0 0 *NULL* bpsched cleaning job DB
> 1097057976 1 4 4 oldmail 0 0 0 *NULL* bpsched scheduler found no backups
> due to run
> 1097058575 1 4 4 oldmail 0 0 0 *NULL* bpsched cleaning job DB
> 1097058575 1 4 4 oldmail 0 0 0 *NULL* bpsched scheduler found no backups
> due to run
>
>
> Anyone can tell me what the first column such as 1097057552 means?
> Does it mean a timestamp? and how can I calculate the time from these
> column?
>
>
> Thanks a lot!
>
--
Kemal Badur
---------------------------------------------------------------------
University of Minnesota
Department of Economics DRCS
1137 Heller Hall Blegen Hall 25F
---------------------------------------------------------------------
Mailing Address: 1035 Heller Hall 271 19th Ave S Minneapolis MN 55455
e-mail: kemal AT econ.umn DOT edu URL: http://www.econ.umn.edu/~kemal
Phone: (612) 625-0567 (office)
(612) 670-9960 (cellular)
Fax: (612) 624-0209
|
|
|