Hello everyone,
First of all thanks for this nice piece of software and for the help the comunity gives to everyone.
The environment:
- I was in restic 0.9.6 and upgraded to restic 0.12.0 to be able to do a more efficient prune.
- I am doing prune in local. I make backup to a remote machine, but I have shell access and restic also in that machine so I decided to do prune in local (I prefer to spend resources in teh machine where the repo is located)
- The repo is quite big. Almost 8T of data in disk.
- I have yet done a forget command
The command (executed from the directory where the repo is located):
restic -r . --cache-dir /foo/bar prune -vv
The output:
repository XXXX opened successfully, password is correct
created new cache in /foo/bar
loading indexesā¦
loading all snapshotsā¦
finding data that is still in use for 181 snapshots
[3:33:13] 100.00% 181 / 181 snapshots
searching used packsā¦
collecting packs for deletion and repacking
will remove pack 8c41d0dd as it is unused and not indexed
will remove pack 8ce999df as it is unused and not indexed
[ā¦]
will remove pack f3c27e3b as it is unused and not indexed
pack ec908d7a: calculated size 1744769 does not match real size 4224015
[3:32] 51.58% 894714 / 1734614 packs processed
Fatal: pack size does not match calculated size from index
Iām not sure how to continue from here. Is this a corrupted repository?
Can I do something to repair it?
Any help is appreciated