Deja Dup restore test takes forwever

Deja Dup proposes to me to do a “brief” restore test, but after entering the password, after one and a half hours, the process is still running.

Is it expected it takes so long?

That is a long time, more than expected. Can you paste the debug logs from the About window → troubleshooting here? Ideally also nothing else has happened since you ran into this

I have to check that in the computer where I’m using that (currently I don’t have access).

Can it be due to the fact that I’m using a custom restic script for backup that excludes files and folders with regular expressions?
If I remember correctly, that custom script is only used for backup.

OK, I managed to access the log; while it’s still verifying that the log:

```
System Details:
OS=CachyOS
Desktop=KDE
Locale=en_US.UTF-8
Home=/home/vrgnnqw
Version=49.1
Tool Name=restic
Tool Version=0.18.1

GSettings:
[org.gnome.DejaDup]
exclude-list=['$TRASH', '$DOWNLOAD', '/home/vrgnnqw/sfsjfua/.rxdeeqj.upwbs']
window-width=808
periodic-period=7
periodic-timestamp='2025-09-26T07:51:07.783217+02'
include-list=['/home/vrgnnqw/exvi', '/home/vrgnnqw/sfsjfua']
prompt-check='2025-09-29T08:05:25.719894+02'
delete-after=182
last-run='2025-12-01T08:49:04.197157+01'
backend='google'
last-backup='2025-12-01T08:49:41.107499+01'
window-height=564
nag-check='2025-09-29T08:31:19.221899+02'

[org.gnome.DejaDup.Google]
folder='ytjqci/nwfheqckia-kyoxdyp'

[org.gnome.DejaDup.Local]
folder='nwfheqckia-kyoxdyp'

Latest Restic Log: (2025-12-01 08:50:47)
Running the following tool (7093) command: restic  --json   --cleanup-cache   --mnyty-ggy=/home/vrgnnqw/.cache/deja-dup/restic   --lojmwq=hlglex.cpcybfp=qcmpux   --khiv=qvndhi::kjjko:ynmtkq/nwfheqckia-kyoxdyp   unlock
```

Hmph. It’s stuck on unlocking the repo…? That just means deleting any stale lock files from other Restic runs.

It’s worth trying it without the wrapper? Is the wrapper doing any checks to only add the regex arguments when it sees the backup command and not like, the unlock command?

The script should kick in only if the command is “backup”:

# Detect 'backup' as the subcommand:
# - Find first token equal to "backup"
# - Skip it only if it immediately follows a flag that takes a separate value (e.g., '-r backup')
#   We treat '--opt=value' as NOT consuming the next token, so 'backup' after that is valid.
has_backup_subcmd=0
for ((i = 0; i < ${#args[@]}; i++)); do
    if [[ "${args[$i]}" == "backup" ]]; then
        if ((i > 0)); then
            prev="${args[$((i - 1))]}"
            if [[ "$prev" == -* && "$prev" != *=* ]]; then
                # Previous is a dash-flag without '=', so 'backup' could be the flag's value; skip this occurrence.
                continue
            fi
        fi
        has_backup_subcmd=1
        break
    fi
done

Now, I can’t seem to try it anymore because the check is no longer shown. Maybe I disabled that last time, and I can’t seem to find any option to re-enable it (I’ve also tried dconf-editor but I can’t see that option).

I’m having a similar issue. Déjà-Dup runs with no wrapper, as scheduled within the app. Eventually it asks me for the password, and takes forever to check the backup. It does it every day for a few days now, presumably because it doesn’f finish.

System Details:
OS=GNOME 49 (Flatpak runtime)
Desktop=gnome
Locale=pt_BR.UTF-8
Home=/home/hhdtebbtj
Version=49.1 (flatpak)
Tool Name=restic
Tool Version=0.18.1

GSettings:
[org.gnome.DejaDup]
exclude-list=['$TRASH', '$DOWNLOAD', '/home/hhdtebbtj/.mecjbib', '/home/hhdtebbtj/.hdqbr/wagkd/htheo-powo', '/home/hhdtebbtj/.hdqbr/wagkd/dacke-ovrja', '/home/hhdtebbtj/vírkbh', '/home/hhdtebbtj/o', '/home/hhdtebbtj/.vcmwndco', '/home/hhdtebbtj/.jbsvaob', '/home/hhdtebbtj/.bkn/joo/ptx.ejqmgpfryuhpi.qtqxc', '/home/hhdtebbtj/.bkn/joo/ckx.osnqtvrpwv.wacedym', '/home/hhdtebbtj/.cgoqqxf-rxoe.paerbq', '/home/hhdtebbtj/.hoqjrvc-avry', '/home/hhdtebbtj/mhk', '/home/hhdtebbtj/.cache', '/home/hhdtebbtj/.vtjn', '/home/hhdtebbtj/.yfi/_rjaeuve', '/home/hhdtebbtj/.ywvnr', '/home/hhdtebbtj/.esqshnx_bonn_xrvev', '/home/hhdtebbtj/.ywvtmkb-edme', '/home/hhdtebbtj/.hdqbr/wagkd/gcvxmnbo/hqiksgdob']
periodic=true
tool='duplicity'
window-width=700
periodic-period=1
periodic-timestamp='2025-09-18T21:37:08.889380-03'
prompt-check='2023-06-08T12:15:14.467948Z'
delete-after=90
last-run='2025-12-11T20:11:26.189394-03'
backend='google'
window-maximized=false
last-backup='2025-12-11T20:37:46.627265-03'
window-height=500
tool-when-new='auto'
nag-check='2025-10-05T16:36:41.576325-03'

[org.gnome.DejaDup.Google]
folder='qlvnnc/cgfgn'

[org.gnome.DejaDup.Local]
folder='cgfgn'

[org.gnome.DejaDup.Rclone]
folder='cgfgn'

Latest Duplicity Log: (2025-04-06 15:21:58)
(snip)

Latest Restic Log: (2025-12-11 20:38:46)
Running the following tool (295) command: restic  --json   --cleanup-cache   --xntuj-pbs=/home/hhdtebbtj/.bkn/joo/jkp.kdwav.mkpchbm/wnahn/deja-dup/restic   --ntbwoe=adenki.sqeuqal=qeoxbi   --scyx=ndrkba::xaquv:cxmgql/cgfgn   unlock

Update: today it finished!


...

Latest Restic Log: (2025-12-13 17:48:40)
Running the following tool (322) command: restic  --json   --cleanup-cache   --sdyef-wpr=/home/thgkdiahu/.dvw/lie/cfx.lnjht.pkcbuse/mitjp/deja-dup/restic   --dnfxur=mabgpm.dygpoft=twpswu   --shww=goihba::gofgg:ctiwgb/uhuhp   check   --read-data-subset=64M   --no-cache

Update 2025-12-18:

I’m not sure if this applies to the OP, but in my care Deja Dup is checking every day, even if apparently finishes checking some of the days since I first did this post.

System Details:
OS=GNOME 49 (Flatpak runtime)
Desktop=gnome
Locale=pt_BR.UTF-8
Home=/home/lpgpmvvrl
Version=49.1 (flatpak)
Tool Name=restic
Tool Version=0.18.1

GSettings:
[org.gnome.DejaDup]
exclude-list=['$TRASH', '$DOWNLOAD', '/home/lpgpmvvrl/.gwviugf', '/home/lpgpmvvrl/.yejkq/tpcil/oyace-aobg', '/home/lpgpmvvrl/.yejkq/tpcil/dfnwy-dnhxi', '/home/lpgpmvvrl/iígcyi', '/home/lpgpmvvrl/l', '/home/lpgpmvvrl/.ygusjsnk', '/home/lpgpmvvrl/.aueuipu', '/home/lpgpmvvrl/.erl/mgy/twi.mrmmseohqysib.rjxed', '/home/lpgpmvvrl/.erl/mgy/xho.inqhtqwlnr.fxtcrgw', '/home/lpgpmvvrl/.rgkdicr-wvgt.bhqxcl', '/home/lpgpmvvrl/.hceikuo-sgpn', '/home/lpgpmvvrl/qul', '/home/lpgpmvvrl/.cache', '/home/lpgpmvvrl/.qhsq', '/home/lpgpmvvrl/.yku/_cwcjymg', '/home/lpgpmvvrl/.biptu', '/home/lpgpmvvrl/.qwxfeqv_ilxq_dywca', '/home/lpgpmvvrl/.cqtprsi-msan', '/home/lpgpmvvrl/.yejkq/tpcil/csqvrorc/uvnuinffu']
periodic=true
tool='duplicity'
window-width=700
periodic-period=1
periodic-timestamp='2025-09-18T21:37:08.889380-03'
prompt-check='2023-06-08T12:15:14.467948Z'
delete-after=90
last-run='2025-12-18T20:40:34.878419-03'
backend='google'
window-maximized=false
last-backup='2025-12-18T20:43:55.103960-03'
window-height=500
tool-when-new='auto'
nag-check='2025-10-05T16:36:41.576325-03'

[org.gnome.DejaDup.Google]
folder='mwvugn/sptum'

[org.gnome.DejaDup.Local]
folder='sptum'

[org.gnome.DejaDup.Rclone]
folder='sptum'

Latest Duplicity Log: (2025-04-06 15:21:58)
DEBUG 1 
. Found manifest volume 452

DEBUG 1 
. Found manifest volume 453

DEBUG 1 
. Found manifest volume 454

DEBUG 1 
. Found manifest volume 455

DEBUG 1 
. Found manifest volume 456

DEBUG 1 
. Found manifest volume 457

DEBUG 1 
. Found manifest volume 458

DEBUG 1 
. Found manifest volume 459

DEBUG 1 
. Found manifest volume 460

DEBUG 1 
. Found manifest volume 461

DEBUG 1 
. Found manifest volume 462

DEBUG 1 
. Found manifest volume 463

DEBUG 1 
. Found manifest volume 464

DEBUG 1 
. Found manifest volume 465

DEBUG 1 
. Found manifest volume 466

DEBUG 1 
. Found manifest volume 467

DEBUG 1 
. Found manifest volume 468

DEBUG 1 
. Found manifest volume 469

DEBUG 1 
. Found manifest volume 470

DEBUG 1 
. Found manifest volume 471

INFO 1 
. Found 471 volumes in manifest

DEBUG 1 
. Registering (mktemp) temporary file /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/kdpigw-pfexedwv-p

INFO 1 
. Processing local manifest /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/qthrqxpidyoobfdwjsfjjuqrbfmriklg/duplicity-inc.20250401T003324Z.to.20250403T233247Z.manifest (182)

DEBUG 1 
. Found manifest volume 1

INFO 1 
. Found 1 volumes in manifest

DEBUG 1 
. Registering (mktemp) temporary file /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/dkneye-kjjnobgi-s

INFO 1 
. Processing local manifest /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/qthrqxpidyoobfdwjsfjjuqrbfmriklg/duplicity-inc.20250403T233247Z.to.20250404T232534Z.manifest (182)

DEBUG 1 
. Found manifest volume 1

INFO 1 
. Found 1 volumes in manifest

DEBUG 1 
. Registering (mktemp) temporary file /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/qxkapy-sfpkmv_f-p

INFO 1 
. Processing local manifest /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/qthrqxpidyoobfdwjsfjjuqrbfmriklg/duplicity-inc.20250404T232534Z.to.20250406T181429Z.manifest (182)

DEBUG 1 
. Found manifest volume 1

INFO 1 
. Found 1 volumes in manifest

DEBUG 1 
. Registering (mktemp) temporary file /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/cdkjqv-dbwpqbta-h

DEBUG 1 
. Making directory /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/jucb/deja-dup/metadata

INFO 7 README reg 
. Writing README of type reg

DEBUG 1 
. Deleting /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/kdpigw-pfexedwv-p

DEBUG 1 
. Forgetting temporary file /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/kdpigw-pfexedwv-p

INFO 2 1 474 
. Processed volume 1 of 474

DEBUG 1 
. Deleting /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/dkneye-kjjnobgi-s

DEBUG 1 
. Forgetting temporary file /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/dkneye-kjjnobgi-s

INFO 2 2 474 
. Processed volume 2 of 474

DEBUG 1 
. Deleting /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/qxkapy-sfpkmv_f-p

DEBUG 1 
. Forgetting temporary file /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/qxkapy-sfpkmv_f-p

INFO 2 3 474 
. Processed volume 3 of 474

DEBUG 1 
. Deleting /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/cdkjqv-dbwpqbta-h

DEBUG 1 
. Forgetting temporary file /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/cdkjqv-dbwpqbta-h

INFO 2 4 474 
. Processed volume 4 of 474

DEBUG 1 
. Releasing lockfile /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/qthrqxpidyoobfdwjsfjjuqrbfmriklg/lockfile

DEBUG 1 
. Removing still remembered temporary file /home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/tmp/duplicity-nkv_z7rr-tempdir/nsvtlid-xssjfakb-k


Latest Restic Log: (2025-12-18 20:44:15)
Running the following tool (296) command: restic  --json   --cleanup-cache   --jxlqq-gdq=/home/lpgpmvvrl/.erl/mgy/yrq.uywfk.gbwtwsn/sjpri/deja-dup/restic   --pjhgld=ywkpbb.pihvayo=kyniui   --duws=sgtmqh::gxoih:hhimds/sptum   unlock

Do you mean that after backing up, before notifying backup has finished, it verifies the backup?

Same for me, but the problem reported here is different and it relates to a periodic restore test.

It was a periodic check, but it took ages and even when succeeded it returned the next day (the backups are daily), until some days/weeks it went back to normal

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.