Issue Description
When we backup Sybase ASE 12.5.3 database by NetBackup6.5 in SUN midrange computer Solaris 9 platform, the Job Detail’s time of Master server NetBackup isn’t match with the time of master server. The former is 16 hours early than latter.
Handling Process
Connect to Master server by root account, do these setups:
Setup 1: /usr/share/lib/zoneinfo# bpdbm -ctime 0
0 = Wed Dec 31 16:00:00 1969 <<<<<The system’s 0 time is less than China’s for 16 hours.
Setup 2: Change NetBackup6.5’s time zone to GMT+8, check the system’s 0 time again.
tsesun1:/usr/share/lib/zoneinfo# TZ=GMT-8
tsesun1:/usr/share/lib/zoneinfo# export TZ
tsesun1:/usr/share/lib/zoneinfo# bpdbm -ctime 0
0 = Thu Jan 1 08:00:00 1970 <<<<<There is no change.
Setup 3: Change NetBackup6.5’s time zone to GMT-8, check the system’s 0 time again.
tsesun1:/usr/share/lib/zoneinfo# TZ=GMT-8
tsesun1:/usr/share/lib/zoneinfo# export TZ
tsesun1:/usr/share/lib/zoneinfo# bpdbm -ctime 0
0 = Thu Jan 1 08:00:00 1970 <<<<< It’s correct already.
Root Cause
Master server’s time set as GMT+8 (China standard time), NetBackup6.5 software set time same with the Master server, it shouldn’t happen this problem. So we think it’s the problem of system time zone lead the wrong in bpdbm get time.
Suggestions
GMT-8 represents Beijing time zone in Solaris platform not GMT+8, or thinking to use PRC to show the China’s time zone.
It’s same as HP-UX platform; we can use EAT-8 instead. But we can’t use PRC. We can refer to the administrator guide.