Comment 3 for bug 1950056

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1950056] Re: Restore file problem: Failed with an unknown error.

OK, this is the wrong log file. It has 2 collection-status runs and 1
list-current-files, nothing about restore. I can't do anything with this
at all.

Did you update deja-dup at the same time? Try that.

Is the path to the file quoted? It should be if it contains spaces.

Can you run this without deja-dup, just as a duplicity command?

On Sun, Nov 7, 2021 at 12:45 PM tellapu <email address hidden> wrote:

> Thank you, Kenneth for the reply!
>
> I have two problems to provide the "real" debug.log.
>
> 1. The path to the file contains spaces. I know it would be better all the
> folder names have no space and I have been working on it for the past 10
> years but it is hard to replace them all one by one. (Or do you know a way
> to do it in one go?)
> With which "letters" can I replace the space in the terminal command to be
> able to give the full path to the file?
> As the same file is accessible through a symlink, I did the debug.log with
> this path which does not contain a space. Maybe it is still useful.
>
> 2. The log is 103.7 MB large and contains a lot of personal information
> with the folder paths it contains. Which part of the log do you need? Or is
> it possible to create a debug.log without all the folder-paths and file
> names?
> The file I tried to restore is from the date of the fresh backup.
> I deleted all the personal paths and replaced the name of the computer
> with "..." in some paths. Hopefully this is fine. Attached you find the
> cleaned log, maybe it is still useful.
> The two lines for the missed file were the same as the others without any
> error.
>
> I am looking forward to your feedback. I am eager to learn something.
>
> Thanks a lot for your help!
>
> ** Attachment added: "debug.log"
>
> https://bugs.launchpad.net/duplicity/+bug/1950056/+attachment/5538697/+files/debug.log
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/1950056
>
> Title:
> Restore file problem: Failed with an unknown error.
>
> Status in Duplicity:
> Incomplete
>
> Bug description:
> Today I tried to restore a file. It would not work and give following
> generic error:
> Failed with an unknown error.
> It can find the missing file, I can chose to restore it. It then creates
> a file with the same name but 0 bytes and a folder icon (instead of a
> picture).
>
> I upgrade duplicity with the stable PPA:
>
> https://code.launchpad.net/~duplicity-team/+archive/ubuntu/duplicity-release-git
>
> I tried to restore with the command in the context file of
> Files/Nautilus "Restore missing file".
> And from the command line with: deja-dup --restore file-to-path/file.txt
>
> Both gave the same results as described above.
>
> I use Ubuntu 20.04 LTS and 0.8.20-ppa202106261222~ubuntu20.10.1.
>
> Do you need more information?
> The setting is still fresh and I can retry to find more information.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1950056/+subscriptions
>
>