rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] changed file format?


From: Stephen Isard
Subject: Re: [rdiff-backup-users] changed file format?
Date: Mon, 07 Jun 2004 13:21:34 +0100
User-agent: nail 10.5pre 3/30/03

> Since you've moved into dst, it may be too late to test this, but I
> wonder if you could test this in your version of Python:
<snip>

I get:

Python 2.2.2 (#1, Feb 24 2003, 19:13:11)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.daylight
1
>>> time.localtime()
(2004, 6, 7, 12, 36, 11, 0, 159, 1)
>>> time.altzone
-3600
>>> time.timezone
0

...
>> error_log.2004-03-06T13:28:37+01:00.data.gz
..
>> current_mirror.2004-03-06T13:28:37Z.data
...

> I'm baffled by this error since, looking at the code, rdiff-backup
> uses the same time string in both the current_mirror and error_log
> files.  I can't see how they would every come out differently.  Is
> this something you can still reproduce?

Well, while we are on daylight saving time all the suffixes come out +01:00.
The other arrangement should be reproducible when we go back on GMT.
http://wwp.greenwichmeantime.com/time-zone/rules/eu.htm says that will be
31 Oct this year.

Although there is evidently some problem with the timestamps, I'm still not
clear on what made my original test backup unreadable after I did a second
one.  To recap, I did a backup with 0.12.3, producing wrong timestamps, then
another with 0.12.6, producing correct timestamps (apart from the mysterious
error log file) and then I couldn't list the earlier backup anymore.  Is the
reason just that I did the two backups too close together, so that the 1 hour
daylight saving error gave the first backup a later time than the second?  If
I had left a couple of hours in between would I never have noticed the problem
at all?  Here is a listing of the rdiff-backup-data directory for the test:

backup.log
current_mirror.2004-03-06T13:28:37Z.data
error_log.2004-03-06T13:26:34+01:00.data.gz
error_log.2004-03-06T13:28:37+01:00.data.gz
file_statistics.2004-03-06T13:26:34+01:00.data.gz
file_statistics.2004-03-06T13:28:37Z.data.gz
increments
increments.2004-03-06T13:26:34Z.dir
mirror_metadata.2004-03-06T13:26:34+01:00.snapshot.gz
mirror_metadata.2004-03-06T13:28:37Z.snapshot.gz
session_statistics.2004-03-06T13:26:34+01:00.data
session_statistics.2004-03-06T13:28:37Z.data

The "Z" files were made by the second (0.12.6) backup and the "+01:00" ones by
the first (0.12.3) backup.

Stephen Isard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]