Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Restore from Backup failed due to unknown error using Deja-dup

  1. #1
    Join Date
    Aug 2006
    Location
    London, UK
    Beans
    Hidden!

    Restore from Backup failed due to unknown error using Deja-dup

    File to be recovered 155kb

    Relevant free space:
    /tmp space available: 36.7GiB free (total 52GiB)
    Backup location: 291GiB free

    Steps to the problem:
    Via Nautilus find file to be recovered.
    Start restore of file choosing the day from the drop down choice of dates. Restoring starts.
    All ok until authentication is needed to run /USR/libexec/deja-dup/duplicity as super user.
    I have failed to restore on 3 dates for the file.


    Error message immediately after authentication:

    Restore failed Unknown error:

    Can I please have suggestions as to how to restore the file.
    It might help if I could post a trace, but how do I turn on Trace in Backup?

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Restore from Backup failed due to unknown error using Deja-dup

    /USR/libexec/deja-dup/duplicity Looks like an incorrect name.

  3. #3
    Join Date
    Aug 2006
    Location
    London, UK
    Beans
    Hidden!

    Re: Restore from Backup failed due to unknown error using Deja-dup

    Following your comment, I have just reinstalled Deja-dup. I still have the same fault. It is quite important for me to be able to recover the file. Any other ideas as to how to proceed?

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,614
    Distro
    Ubuntu

    Re: Restore from Backup failed due to unknown error using Deja-dup

    Are you sure it wants your superuser and not the deja-dup encryption set password?
    Are these system files or your user's files?
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    Join Date
    Aug 2006
    Location
    London, UK
    Beans
    Hidden!

    Re: Restore from Backup failed due to unknown error using Deja-dup

    I copied the backup to another drive, but I still get Restore failed with unknown error.

    (I used the correct authentication password.)

    Any other solutions?

  6. #6
    Join Date
    Aug 2006
    Location
    London, UK
    Beans
    Hidden!

    Re: Restore from Backup failed due to unknown error using Deja-dup

    I have found this link which I have not been able to follow successfully
    https://bbs.archlinux.org/viewtopic.php?id=159329

    Here is an example:

    $ LANG=C DEJA_DUP_DEBUG=1 deja-dup --restore
    Unable to init server: Could not connect: Connection refused

    (org.gnome.DejaDup:83356): Gtk-WARNING **: 20:10:42.611: cannot open display: DISPLAY XAUTHORITY=$XAUTHORITY DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS

    Am I right to assume I can restore the backed up files using duplicity?

    I note man duplicity is referred to in the article

  7. #7
    Join Date
    Aug 2006
    Location
    London, UK
    Beans
    Hidden!

    Re: Restore from Backup failed due to unknown error using Deja-dup

    I have found this link which I have not been able to follow successfully
    https://bbs.archlinux.org/viewtopic.php?id=159329

    Here is an example:

    $ LANG=C DEJA_DUP_DEBUG=1 deja-dup --restore
    Unable to init server: Could not connect: Connection refused

    (org.gnome.DejaDup:83356): Gtk-WARNING **: 20:10:42.611: cannot open display: DISPLAY XAUTHORITY=$XAUTHORITY DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS

    Am I right to assume I can restore the backed up files using duplicity?

    I note "man duplicity" is referred to in the article and the files are duplicity files so I am assuming that I can use the advice at

    https://wiki.gnome.org/Apps/DejaDup/...tore/WorstCase

    In view of the difficulty with the above solution, I propose to l proceed with the following two steps:

    mkdir -p /tmp/restore
    ~$ duplicity --gio file:///media/backup /tmp/restore

    I attach a screen shot of the backup files.

    Does anyone know how to rename the "file:///media/backup" in the sample so as to extract the backup file for Monday?
    Attached Files Attached Files

  8. #8
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Restore from Backup failed due to unknown error using Deja-dup

    Code:
    Unable to init server: Could not connect: Connection refused
    That probably means that the deja-dup "server" port cannot be connected. Is it running? Is there a firewall in the way?

    Code:
    (org.gnome.DejaDup:83356): Gtk-WARNING **: 20:10:42.611: cannot open display: DISPLAY XAUTHORITY=$XAUTHORITY DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS
    That's an X/Windows error plus a Gnome error.

    Appears from here that some GUI problem, before DejaDup, is the issue. Is X/Windows running? Is the gnome DBus working?

    I don't like GUI backup tools. They are too complicated. Have you ever been able to restore files before?

  9. #9
    Join Date
    Aug 2006
    Location
    London, UK
    Beans
    Hidden!

    Re: Restore from Backup failed due to unknown error using Deja-dup

    Thank you for your reply.

    I have been able to restore files before.

    Is X/Windows part of MS Windows? I am only using Ubuntu 20.04

    How do I check if the Gnome D/Bus is running and if missing put it back?

  10. #10
    Join Date
    Aug 2006
    Location
    London, UK
    Beans
    Hidden!

    Re: Restore from Backup failed due to unknown error using Deja-dup

    The other part of my post dealt with restoring without the GUI.

    How do I change the example "file:///media/backup" so as to recreate the file for Monday in the attachment. I ask because I do not understand which of the files shown in the attached screenshot, should be linked together for recovery. Is it purely based on the date in the name of the backup files?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •