Can't recover from Chunk not found error during prune

I am using the 2.6.1 command line version (however, I believe this issue has been around since before I recently upgraded to the latest version).

When I run:

duplicacy -v prune -all -keep 0:550 -keep 90:366 -keep 30:180 -keep 7:120 -keep 1:90 -storage wasabi

I get an error as below:

Deleting snapshot backups at revision 1 Deleting snapshot backups at revision 3 Deleting snapshot backups at revision 11 Deleting snapshot backups at revision 17 Deleting snapshot backups at revision 18 Deleting snapshot backups at revision 19 Chunk a413496ec0b2cdaba9ea93a704052a90ca4a3aafa837c3d73879cbf847f1dad1 can't be found

I have deleted the cache (in hopes that it is a stale cache issue) via rm -rf .duplicacy/cache/wasabi and then reran the prune as above - no luck.

I have also duplicacy prune -r 503 -exclusive -exhaustive -storage wasabi in attempt to resolve this.

I have also tried duplicacy -v prune -all -keep 0:550 -keep 90:366 -keep 30:180 -keep 7:120 -keep 1:90 -exclusive -exhaustive -storage wasabi without success.

I have deleted cache many times before and after all of the above, but nothing seems to get me beyond this state and I appear to be unable to prune revision 19.

What am I doing wrong and/or missing please? How can I get beyond this please?

As explained in Fix missing chunks, you can manually remove the snapshots/backups/19 file from the storage. The same guide also describes how to find out if a prune job removed the missing chunk by checking the prune logs under .duplicacy/logs.

1 Like