restic version
is restic 0.17.3 compiled with go1.23.3 on darwin/amd64
Hi there, I’ve recently created a new restic repo in the cloud (using rclone with Jottacloud as the remote; sadly I only discovered posts on this forum about Jottacloud reliability issues after signing up!), and backup
’d and then subsequently check --read-data
’d around 3TB of data.
During the backup
and the check --read-data
I received a few connection errors, all of which were retried successfully during the operation (on one retry).
At the conclusion of check --read-data
I’m informed that The repository is damaged and must be repaired
/ Fatal: repository contains errors
, but from reading the output, it seems the only errors were operations that were retried successfully? Would I be correct to interpret the output as the backup and all data files being fine (as there are no Pack ID does not match
type messages), although the connection issues clearly highlight the backend and/or my connection isn’t ideal? (After this I ran a standard check
(without reading data packs) with no errors reported).
Full output:
user@hostname ~ % restic -r rclone:remote-crypt:restic-backup check --read-data
using temporary cache in /var/folders/wt/1ff6q8hd1v35h_cs3l_qljtr0000gn/T/restic-check-cache-1258328454
create exclusive lock for repository
enter password for repository:
repository 56bbafca opened (version 2, compression level auto)
created new cache in /var/folders/wt/1ff6q8hd1v35h_cs3l_qljtr0000gn/T/restic-check-cache-1258328454
load indexes
[0:10] 100.00% 293 / 293 index files loaded
check all packs
check snapshots, trees and blobs
[0:09] 100.00% 1 / 1 snapshots
read all data
rclone: 2025/01/11 05:03:59 ERROR : locks/4a496e377fbf455ed8bb982f3a01d916cfe7e5c77e59f7dff8c8caa0c04841e2: Post request put error: Post "https://[redacted-jottacloud-url]": dial tcp: lookup [redacted-jottacloud-fqdn]: no such host
rclone: 2025/01/11 05:03:59 ERROR : locks/4a496e377fbf455ed8bb982f3a01d916cfe7e5c77e59f7dff8c8caa0c04841e2: Post request rcat error: Post "https://[redacted-jottacloud-url]": dial tcp: lookup [redacted-jottacloud-fqdn]: no such host
Save(<lock/4a496e377f>) returned error, retrying after 504.456699ms: unexpected HTTP response (500): 500 Internal Server Error
Save(<lock/4a496e377f>) operation successful after 1 retries
rclone: 2025/01/11 05:09:23 ERROR : data/21/21fa99c4b3ae5a32bd1bb58308647feba534a5f11d21f26402883646aac88d3f: Didn't finish writing GET request (wrote 458752/17922927 bytes): failed to authenticate decrypted block - bad password?
Load(<data/21fa99c4b3>, 17922927, 0) returned error, retrying after 1.144518016s: readFull: unexpected EOF
Load(<data/21fa99c4b3>, 17922927, 0) operation successful after 1 retries
rclone: 2025/01/12 01:07:31 ERROR : data/f7/f714abc9c55fed8d4f7ce5fb422a908e979c27d51b48061719492b8ab9ec37ac: Didn't finish writing GET request (wrote 5242880/17945793 bytes): failed to authenticate decrypted block - bad password?
Load(<data/f714abc9c5>, 17945793, 0) returned error, retrying after 1.073606302s: readFull: unexpected EOF
Load(<data/f714abc9c5>, 17945793, 0) operation successful after 1 retries
rclone: 2025/01/12 01:14:26 ERROR : data/47/47adc07e7df9ed1f67f960db399299cbbf06406eccd7c26cfc466dd0b54909e9: Didn't finish writing GET request (wrote 3211264/19044575 bytes): read tcp 10.0.1.3:63496->[redacted-jottacloud-ip]:443: i/o timeout
Load(<data/47adc07e7d>, 19044575, 0) returned error, retrying after 1.424611541s: readFull: unexpected EOF
Load(<data/47adc07e7d>, 19044575, 0) operation successful after 1 retries
rclone: 2025/01/12 01:17:59 ERROR : data/f7/f7976b24e1721744253ce37b8d3dc27641203ea62e2d726a375e4abec3672d3f: Didn't finish writing GET request (wrote 14417920/17582892 bytes): read tcp 10.0.1.3:63509->[redacted-jottacloud-ip]:443: i/o timeout
Load(<data/f7976b24e1>, 17582892, 0) returned error, retrying after 1.493916786s: readFull: unexpected EOF
Load(<data/f7976b24e1>, 17582892, 0) operation successful after 1 retries
rclone: 2025/01/12 02:08:48 ERROR : data/e7/e763ae7e500ac897e11c394feae466bc1a409267d9328c6bcac0e579393d002f: Didn't finish writing GET request (wrote 18153472/18778648 bytes): unexpected EOF
Load(<data/e763ae7e50>, 18778648, 0) returned error, retrying after 1.455598441s: readFull: unexpected EOF
Load(<data/e763ae7e50>, 18778648, 0) operation successful after 1 retries
rclone: 2025/01/12 14:55:07 ERROR : data/db/dbad250684beb86e73155a34e4c6714b88c39a88db8c9185110dcb9832a430b4: Didn't finish writing GET request (wrote 3604480/20949150 bytes): unexpected EOF
Load(<data/dbad250684>, 20949150, 0) returned error, retrying after 1.146693603s: readFull: unexpected EOF
Load(<data/ebe7498133>, 17216781, 0) failed: <data/ebe7498133> does not exist
check successful on second attempt, original error download error: <data/ebe7498133> does not exist
Load(<data/dbad250684>, 20949150, 0) operation successful after 1 retries
rclone: 2025/01/13 01:06:36 ERROR : data/ee/ee79a6fa58a1089e6519f0710f5f7e40eabaec67347c7ee1280f0efd4f286932: Didn't finish writing GET request (wrote 5636096/17853153 bytes): unexpected EOF
Load(<data/ee79a6fa58>, 17853153, 0) returned error, retrying after 874.875888ms: readFull: unexpected EOF
Load(<data/ee79a6fa58>, 17853153, 0) operation successful after 1 retries
rclone: 2025/01/13 01:13:41 ERROR : data/ae/ae985fa08e19f13c767567b96a7dd5b396b5dca013e5d34d03ee835d39feca74: Didn't finish writing GET request (wrote 5308416/17496309 bytes): unexpected EOF
Load(<data/ae985fa08e>, 17496309, 0) returned error, retrying after 828.609683ms: readFull: unexpected EOF
Load(<data/ae985fa08e>, 17496309, 0) operation successful after 1 retries
rclone: 2025/01/13 02:24:19 ERROR : data/de/dee21d1ce1eddb0fc4c4c57b763656925078176d7d3da0d54b8c37bda4c9f56d: Didn't finish writing GET request (wrote 13303808/17788246 bytes): unexpected EOF
Load(<data/dee21d1ce1>, 17788246, 0) returned error, retrying after 593.1106ms: readFull: unexpected EOF
Load(<data/dee21d1ce1>, 17788246, 0) operation successful after 1 retries
rclone: 2025/01/13 02:31:08 ERROR : data/9e/9e071c7d031531aa97045ecd244c7c56bed8ce34a0275c9a43bc6c340109ba41: Didn't finish writing GET request (wrote 7864320/18434896 bytes): unexpected EOF
Load(<data/9e071c7d03>, 18434896, 0) returned error, retrying after 537.710331ms: readFull: unexpected EOF
Load(<data/9e071c7d03>, 18434896, 0) operation successful after 1 retries
[55:09:44] 100.00% 190225 / 190225 packs
The repository is damaged and must be repaired. Please follow the troubleshooting guide at https://restic.readthedocs.io/en/stable/077_troubleshooting.html .
Fatal: repository contains errors
Of course either way, restic is fantastic and thanks so much for this excellent tool!