RESTORE FILES: deja-dup timestamp out of range; duplicity int conversion error

Asked by Alex on 2017-05-11

I am restoring files from a deja-dup backup.

In deja-dup I get the following error:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1509, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1503, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1352, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1441, in do_backup
    list_current(col_stats)
  File "/usr/bin/duplicity", line 678, in list_current
    user_info = u"%s %s" % (dup_time.timetopretty(path.getmtime()),
  File "/usr/lib/python2.7/dist-packages/duplicity/dup_time.py", line 148, in timetopretty
    return time.asctime(time.localtime(timeinseconds))
ValueError: timestamp out of range for platform time_t

Therefore, I tried using duplicity directly to backup using the procedure found at: https://wiki.gnome.org/Apps/DejaDup/Help/Restore/WorstCase

I recovered some of my files to a USB drive. There was two types of errors, ERROR 22 and ERROR 1, and not enough space on the drive for a full recovery so I decided to recover to an external HDD using duplicity. In this case I was able to recover less files because I encountered this error:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1509, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1503, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1352, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1437, in do_backup
    restore(col_stats)
  File "/usr/bin/duplicity", line 700, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 537, in Write_ROPaths
    ITR( ropath.index, ropath )
  File "/usr/lib/python2.7/dist-packages/duplicity/lazy.py", line 335, in __call__
    last_branch.fast_process, args)
  File "/usr/lib/python2.7/dist-packages/duplicity/robust.py", line 37, in check_common_error
    return function(*args)
  File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 590, in fast_process
    ropath.copy( self.base_path.new_index( index ) )
  File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 444, in copy
    self.copy_attribs(other)
  File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 451, in copy_attribs
    util.maybe_ignore_errors(lambda: os.utime(other.name, (time.time(), self.stat.st_mtime)))
  File "/usr/lib/python2.7/dist-packages/duplicity/util.py", line 88, in maybe_ignore_errors
    return fn()
  File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 451, in <lambda>
    util.maybe_ignore_errors(lambda: os.utime(other.name, (time.time(), self.stat.st_mtime)))
OverflowError: Python int too large to convert to C long

My guess is that this error is coming from a similar problem as the original error in deja-dup. I looked through the threads here to see if anyone else had encountered this error but did not see it. If I missed the thread please link me to it.

Please let me know if you have any suggestions.

-Alex
IWILLBUILDTHEROADS

Question information

Language:
English Edit question
Status:
Open
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Last query:
2017-05-11
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Alex for more information if necessary.

To post a message you must log in.