No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade
Knowledge Base

Incorrect Time Zone Setting Causes a Time Skew between the NetBackup 6.5 Job Log and the Backup Server

Publication Date:  2012-07-19  |   Views:  185  |   Downloads:  0  |   Author:  anliku  |   Document ID:  EKB1000007113

Contents

Issue Description

On a SUN minicomputer running Solaris 9, the NetBackup 6.5 is used to back up the Sybase ASE 12.5.3 database. The time displayed in Job Detail on the NetBackup installed on the master server is 16 hours earlier than the time of the master server.

Alarm Information

None

Handling Process

Log in to the master server as the root user and do as follows:
Step 1  View the zero time of the operating system.
tsesun1:/usr/share/lib/zoneinfo# bpdbm -ctime 0
0 = Wed Dec 31 16:00:00 1969      <<<<< The system zero time reference is 16 hours later than China zero time reference.
Step 2  Set the time zone of the NetBackup 6.5 to GMT+8. Then view the zero time reference of the operating system 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 = Wed Dec 31 16:00:00 1969     <<<<<No change is detected.
Step3 Set the time zone of the NetBackup 6.5 to GMT-8. Then view the zero time reference of the operating system 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        <<<<< The zero time reference is already correct.

Root Cause

The time zone of the master server is GMT+8 (standard China time), and the time zone of the NetBackup 6.5 is the same. So the incorrect time zone setting of the operating system probably causes the bpdbm to read the wrong time.

Suggestions

On Solaris, GMT-8 rather than GMT+8 represents Beijing time. You can also use PRC to refer to a China time zone.
On HP-UX, EAT-8 rather than GMT+8 represents Beijing time. You cannot use PRC to refer to a China time zone. For time zone information of other operating systems, refer to respective administrator guides.