/usr/bin/restic check --read-data fails to make progress

Aug 31 10:12:56 systemd[4529]: Starting Check restic backup...
Aug 31 10:12:56 check-connection-not-metered.sh[1303315]: GENERAL.METERED:no (guessed)
Aug 31 10:12:56 restic[1303319]: using temporary cache in /tmp/restic-check-cache-810014565
Aug 31 10:13:01 restic[1303319]: create exclusive lock for repository
Aug 31 10:13:18 restic[1303319]: load indexes
Aug 31 10:13:29 restic[1303319]: check all packs
Aug 31 10:13:59 restic[1303319]: check snapshots, trees and blobs
Aug 31 10:14:59 restic[1303319]: [1:00]          0 snapshots
Aug 31 10:15:59 restic[1303319]: [2:00]          0 snapshots
Aug 31 10:16:59 restic[1303319]: [3:00]          0 snapshots
Aug 31 10:17:59 restic[1303319]: [4:00]          0 snapshots
Aug 31 10:18:59 restic[1303319]: [5:00]          0 snapshots
Aug 31 10:19:59 restic[1303319]: [6:00]          0 snapshots
Aug 31 10:20:59 restic[1303319]: [7:00]          0 snapshots
Aug 31 10:21:59 restic[1303319]: [8:00]          0 snapshots
Aug 31 10:22:59 restic[1303319]: [9:00]          0 snapshots
Aug 31 10:23:59 restic[1303319]: [10:00]          0 snapshots
Aug 31 10:24:59 restic[1303319]: [11:00]          0 snapshots
Aug 31 10:25:59 restic[1303319]: [12:00]          0 snapshots
Aug 31 10:26:59 restic[1303319]: [13:00]          0 snapshots
Aug 31 10:27:59 restic[1303319]: [14:00]          0 snapshots
Aug 31 10:28:59 restic[1303319]: [15:00]          0 snapshots
Aug 31 10:29:59 restic[1303319]: [16:00]          0 snapshots
Aug 31 10:30:59 restic[1303319]: [17:00]          0 snapshots
Aug 31 10:31:59 restic[1303319]: [18:00]          0 snapshots
Aug 31 10:32:59 restic[1303319]: [19:00]          0 snapshots
Aug 31 10:33:59 restic[1303319]: [20:00]          0 snapshots
Aug 31 10:34:59 restic[1303319]: [21:00]          0 snapshots
Aug 31 10:35:59 restic[1303319]: [22:00]          0 snapshots
Aug 31 10:36:59 restic[1303319]: [23:00]          0 snapshots
Aug 31 10:37:59 restic[1303319]: [24:00]          0 snapshots
Aug 31 10:38:59 restic[1303319]: [25:00]          0 snapshots
Aug 31 10:39:59 restic[1303319]: [26:00]          0 snapshots
Aug 31 10:40:48 restic[1303319]: Fatal: failed to refresh lock in time
Aug 31 10:40:48 restic[1303319]: [26:48] 0.00%  0 / 1013 snapshots

Also

$ cat /proc/1303319/environ | tr '\0' '\n' | grep -i rest
RESTIC_PROGRESS_FPS=0.016666

is set so … what’s going on? :confused:

I see no “significant” network traffic from anything

Please edit your post so that it includes the complete command that is run to generate that output. There is no such thing as a --deep option to restic check.

You are right. I meant

/usr/bin/restic check --read-data

Which restic version are you running? Please make sure you try it with 0.16.0 or newer.

What is the backend? Please show us the environment variables you use with that command (or give us the complete command as requested initially - you either have a -r or an environment variable).

Can you perform other restic commands successfully, e.g. restic snapshots?

What does restic list locks output?

It seems that updating the version helps. It also somehow survives running a request “in two pieces”, since I cannot commit to fast internet 24/7.

My backend is rclone.
Other commands do complete successfully.
And locks … I do need to make regular maintenance on them more than I’d like :confused: But they can be cleaned if need be

1 Like