Déjà Dup consistently fails to restore from Google Drive to Hard Drive - ApiRequestError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Déjà Dup |
Expired
|
Undecided
|
Unassigned |
Bug Description
Déjà Dup fails to restore from Google Drive to Hard Drive
I am trying to restore a backup of my Ubuntu machine's home directory from Google drive to a FAT formatted harddrive. After deja-dup runs the restore process for some time, it errors with:
Restore Failed
Giving up after 5 attempts. ApiRequestError: Cannot download file: {'x-guploader-
I would appreciate any help with solving this issue. Please let me know what additional information I should provide so I can help you help me.
-------
1.The distribution of Linux you're using:
Description: Ubuntu 20.04.2 LTS
-------
2.The version of deja-dup:
40.7
-------
3.The output of dconf dump /org/gnome/
[/]
backend='google'
delete-after=182
exclude-
include-
last-backup=
last-run=
nag-check=
periodic=true
periodic-period=1
prompt-
[drive]
folder=
[file]
migrated=true
[gcs]
folder=
[goa]
type='google'
[google]
folder=
[local]
folder=
[openstack]
container=
[rackspace]
container=
[remote]
folder=
[s3]
folder=
The attatched file has the output from step 4 (The file /tmp/deja-dup.log after running DEJA_DUP_DEBUG=1 deja-dup --restore | tail -n 1000 > /tmp/deja-dup.log)
Hello and thank you for your report! Sorry that Deja Dup is giving you trouble.
Looks like Google was giving you a 403 error code, which is a "not authorized" code. Maybe the auth token was timing out during the restore, and the underlying backup tool we use (duplicity) didn't refresh its token?
There have been some decent changes to duplicity's Google Drive backend since your version (0.8.11). Could you try maybe using the latest deja-dup snap, which bundles a newer duplicity in it?
snap install deja-dup --classic
And then try restoring?