Time Travelling Linux Box

We have a Redhat server that performs a daily data backup via Tapeware.

However, the time clock seems to lose around 45 minutes every day. This results in data backups being performed during business hours.

My experience with hardware tells me that the system clock is controlled by a lithium battery on the motherboard.  However, this computer is only one year old. I've tried to maintain the clock via a network time server, but it always seems to disconnect itself the next day.

Could the time loss be due to any other reason? Is there anything else I could try short of replacing the battery (which I instinctively think isn't the problem)?

---------------------/

On booting the hardware clock is read by the system and then the time is kept track of in software.

You can use the command hwclock to keep the hardware and system clock in synch.

What I do here at work is synch one of my servers with a public time server on the net and then synch my hardware clock to the new precise system time.

If you trust your hardware clock you could simply run a cron job before your backup which adjusts the time with "hwclock --systohc".

Have a Linux Problem
Linux Forum - Do you have a Linux Question?

Linux Books
Linux Certification, System Administration, Programming, Networking Books

Linux Home: Linux System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.