To convert between the timestamp and “human readable” time, Symantec provides the bpdbm command with the -ctime flag to convert from NetBackup’s timestamp to the current time zone. For example:
bash-3.00# bpdbm -ctime 1303936891Some of my favorite NetBackup reports output job start/stop times and other data using CTIME timestamps:
1303936891 = Wed Apr 27 15:41:31 2011
- bpmedialist shows the expiration date for tapes
- bpimagelist shows the start and stop times for backup images in the catalog, as well as image expiration dates
To convert from CTIME to “Excel” time you need the following information:
- The NetBackup timestamp (the number of seconds since 1/1/1970, in GMT)
- The number of seconds per day (86,400)
- The Excel serial number for 1/1/1970 (25,569)
- Your current timezone offset in hours (for US/Central this is currently -5)
timestamp/86400+25569+(-5/24)
No comments:
Post a Comment