DaylightSavings

From RdiffBackupWiki

Jump to: navigation, search

from memory from a while ago, but if you have a backup running every 15 minutes of say, the /etc directory, it will barf when daylight savings time changes in the spring, due to duplicate timestamps found or somesuch.

Ok, daylight savings time kicked in, and this error popped up:

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 24, in ?
    rdiff_backup.Main.Main(sys.argv[[1:]])
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 250, 
in Main
    take_action(rps)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 222, 
in take_action
    elif action <code>3D</code>3D "backup": Backup(rps[[0]], rps[[1]])
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 263, 
in Backup
    Time.setprevtime(prevtime)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Time.py", line 52, 
in setprevtime
    assert 0 < timeinseconds < curtime, 
[[AssertionError]]: Time 1143972421 is out of bounds
Exception exceptions.TypeError: "'NoneType' object is not callable" in 
<bound method [[GzipFile]].''''del'''' of <gzip open file 
'/var/www/html-backup/rdiff-backup-data/error_log.2006-04-02T03:07:00-07:00
.data.gz', mode 'wb' at 0x8f89258 0x8f8923c>> ignored
</verbatim>

And after that, the following error popped up every hour:
<pre>
Previous backup seems to have failed, regressing destination now.
Fatal Error: No metadata for time Sun Apr  2 03:07:00 2006 found, cannot 
regress
</verbatim>

Of course, the version being used is 0.12.6, I'm going to upgrade to the 
latest version now (1.1.5?).
Personal tools