Missing Chunks, old backup job?

Hi,

First post. Have been using Duplicacy for a while but still quite inexperienced. I recently realised that I wasn’t using the “check” or “prune” features to ensure backups were healthy. I added jobs to do these. The check returns “Missing Chunks” and clicking it gives the following.

What I can say is that “data1” was an initial test and thereafter removed from duplicacy and target backup storage. “data2” is what I’ve been backing up for sometime and it seems to be working. Question is, how do I remove the “data1” references from the snapshot validation so it can return completed?

Duplicacy Docker on unraid.

Running check command from /cache/localhost/all
Options: [-log check -storage backup-data2 -threads 2 -a -tabular]
2021-03-23 09:36:30.705 INFO STORAGE_SET Storage set to gcd://backuprepository
2021-03-23 09:36:33.421 INFO SNAPSHOT_CHECK Listing all chunks
2021-03-23 10:01:40.623 INFO SNAPSHOT_CHECK 1 snapshots and 2 revisions
2021-03-23 10:01:40.637 INFO SNAPSHOT_CHECK Total chunk size is 4863G in 1011741 chunks
2021-03-23 10:01:43.437 WARN SNAPSHOT_VALIDATE Chunk c9368345198f560289ef94b1a6ca35336f2a6a529b0b231de1a6f94c531ec4f2 referenced by snapshot data1 at revision 1 does not exist
2021-03-23 10:01:43.949 WARN SNAPSHOT_VALIDATE Chunk c94041ed8b8168e38188da1d8561df8ae1f36ebc25d65c9808d4f07a68f3c6b6 referenced by snapshot data1 at revision 1 does not exist
2021-03-23 10:01:44.774 WARN SNAPSHOT_CHECK Some chunks referenced by snapshot data1 at revision 1 are missing
2021-03-23 10:01:48.099 WARN SNAPSHOT_VALIDATE Chunk 42345da0b1ba0f0ef27688784e064be11bc2dcc3a4593b8132ad500256f341bf referenced by snapshot data1 at revision 2 does not exist
2021-03-23 10:01:48.379 WARN SNAPSHOT_CHECK Some chunks referenced by snapshot data1 at revision 2 are missing
2021-03-23 10:01:48.379 ERROR SNAPSHOT_CHECK Some chunks referenced by some snapshots do not exist in the storage
Some chunks referenced by some snapshots do not exist in the storage

Thanks in advance for any assistance offered.

The quickest way is simply to manually remove the snapshots/data1 directory on the backup storage. Then clean up by running a prune with the -exhaustive flag.

This flag alone won’t immediately remove unreferenced chunks, but it’ll eventually get done after your second prune job (provided you run all your backups in between the two prunes).

Otherwise, you can force an immediate clean up by using -exclusive -exhaustive together - though you must make sure no backups run during this.