Hi there,
I know there’s other topics covering this (similar) case but I didn’t found the exact situation like mine so here I go with this thread.
restic prune is not working as it’s returning an id not found in the repository.
repository 2461be36 opened (version 1)
loading indexes...
loading all snapshots...
finding data that is still in use for 30 snapshots
[0:00] 0.00% 0 / 30 snapshots
id 01687380b40c74ec0dcebc50acaffec730ac0c4a335265272e9a1b6eb542baa1 not found in repository
github.com/restic/restic/internal/repository.(*Repository).LoadBlob
/restic/internal/repository/repository.go:274
github.com/restic/restic/internal/restic.LoadTree
/restic/internal/restic/tree.go:113
github.com/restic/restic/internal/restic.loadTreeWorker
/restic/internal/restic/tree_stream.go:36
github.com/restic/restic/internal/restic.StreamTrees.func1
/restic/internal/restic/tree_stream.go:176
golang.org/x/sync/errgroup.(*Group).Go.func1
/home/build/go/pkg/mod/golang.org/x/sync@v0.1.0/errgroup/errgroup.go:75
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1598
We tried the following commands (sorted by time)
restic check
returns lots of file or directory not found.
restic rebuild-index
didn’t help
restic prune
again to check, but did nothing
restic backup --force
did nothing new
restic prune
to see if backup force helped, but nope…
restic rebuid-index --read-all-packls
didn’t help neither
restic prune
again, nothing worked.
the server is a 24x7 online server in a CPD that mades daily backups, one of them copied with restic from a remote server (using restic-server for the repo access via -r
)
We’ve checked server, dmesg, smartctl, and we see no errors at all. Doesn’t look like a problem in t he fs or hardware.
anyone has any clue what’s going on? how can I Get rid of those issues?
also, in case there’s nothing to do, how can I remove all the snapshots in one comand to start with the same repository from scratch?
Thanks in advance.