timezone problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

timezone problem

dims
After update tzdata and change time, backup print incorrect time (-1 hour different from real time):
date;/usr/bin/rdiff-backup p0 test;date;rdiff-backup -l test/home
Mon Nov 17 18:15:34 MSK 2014
Mon Nov 17 18:15:37 MSK 2014
Found 0 increments:
Current mirror: Mon Nov 17 17:15:34 2014

in exist backup we have different time in 2 column
on backup and destination-server time is correct, example:
    increments.2014-11-09T07:20:59+04:00.dir   Sun Nov  9 06:20:59 2014 (07:20:59 - is correct time, 06:20 - incorrect time)
CentOS release 5.11 (Final)
python-2.4.3
tzdata-2014i
_______________________________________________
rdiff-backup-users mailing list at [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: timezone problem

Adrian Klaver-2
On 11/17/2014 07:18 AM, dims wrote:
> After update tzdata and change time, backup print incorrect time (-1 hour different from real time):

So when did you update the tzdata?

> date;/usr/bin/rdiff-backup p0 test;date;rdiff-backup -l test/home
> Mon Nov 17 18:15:34 MSK 2014
> Mon Nov 17 18:15:37 MSK 2014
> Found 0 increments:
> Current mirror: Mon Nov 17 17:15:34 2014
>
> in exist backup we have different time in 2 column
> on backup and destination-server time is correct, example:
>      increments.2014-11-09T07:20:59+04:00.dir   Sun Nov  9 06:20:59 2014 (07:20:59 - is correct time, 06:20 - incorrect time)

So was the timezone data updated at the point in time above?

> CentOS release 5.11 (Final)
> python-2.4.3
> tzdata-2014i

What do you see if you do in Python?:

from datetime import datetime
print datetime.now()

> _______________________________________________
> rdiff-backup-users mailing list at [hidden email]
> https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
>


--
Adrian Klaver
[hidden email]

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki