"IOError: [Errno 71] Protocol error" during restore

Bug #1268558 reported by Andre
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

During the encrypted restore the software crashes. Always on the same file. What can I do since my PC crashed and I need the restore urtgently? Tried different versions and even on different linux PCs. Same issue on the same file. Please help

Traceback (most recent call last):

  File "/usr/bin/duplicity", line 1414, in <module>

    with_tempdir(main)

  File "/usr/bin/duplicity", line 1407, in with_tempdir

    fn()

  File "/usr/bin/duplicity", line 1341, in main

    restore(col_stats)

  File "/usr/bin/duplicity", line 632, in restore

    restore_get_patched_rop_iter(col_stats)):

  File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 528, 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 581, in fast_process

    ropath.copy( self.base_path.new_index( index ) )

  File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 426, in copy

    other.writefileobj(self.open("rb"))

  File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 600, in writefileobj

    fout = self.open("wb")

  File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 542, in open

    result = open(self.name, mode)

IOError: [Errno 71] Protocol error: '/media/sf_Documents/restore/home/ubuntu/Documents/business/shopic Lampen/Invoices/Rechnung 2356015\n.pdf'

Revision history for this message
Andre (gestatten-cox) wrote :

Please let me know how I can exclude this one file that causes the restore to stop.
I have tried duplicity commandline but same issue. Also on an other linux PC same issue.
It cant be that a backup software doesnt work anymore because of one file that blocks the entire restore...

Revision history for this message
Andre (gestatten-cox) wrote :

Isnt there any support? I need to get back my data.... I dont understand why the is development on the software but no life sign on the support side!?!

Revision history for this message
François Guerraz (kubrick) wrote :

Yeah, support & bug tracking for this project is quite terrible. I don't see an awful lot of bug ever getting closed (other than those submitted by developers themselves), it's probably one of these elitist pet project where devs just do what suit them and we're just "dumb users". But fair enough, it's free software and some teams don't have a big commitment to the community.

Anyway, I've had the problem before and the solution was to launch the restore, list the processes that deja dup spawns, one of them will be the duplicity command line for the restore.
Grab that command line with its arguments and use --exclude to exclude the files you want. see man duplicity.

But if you were looking for a gui exclude option, the answer is NO, there isn't any.

Michael Terry (mterry)
summary: - error on restore
+ "IOError: [Errno 71] Protocol error" during restore
Revision history for this message
Michael Terry (mterry) wrote :

I'm going to move this to the duplicity project, since this error comes from it. But this is an old bug at this point, so maybe best move is to just close and re-open if it appears again.

affects: deja-dup → duplicity
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.