[Server-devel] timestamps on backups

Martin Langhoff martin.langhoff at gmail.com
Thu Sep 17 07:21:25 EDT 2009


On Thu, Sep 17, 2009 at 1:13 PM, Hamilton Chua <hamilton.chua at gmail.com> wrote:
> /etc/sysconfig/clock says that the timezone of the system is
> "America/New York" which is probably the timezone PHP is using.

That's weird. Questions

 - Can you confirm date --utc is correct on the XS and on the involved XOs?

 - If you look at the "datastore-<timestamp> directories - are the
timestamps correctly in UTC?

 - If you run tzselect, change the tz to your local tz -- does it fix
the problem? If it does, is the problem fixed for "new" backups or for
all backups?

The PHP code in dsbackup.php should be ignoring timezones, but
something might be sneaking in. Also - the timestamp in the dirnames
may be wrong.


m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Server-devel mailing list