As backups are refactored, I like to tidy up and remove those I don’t need. It avoids the confusion of duplicates. Since Duplicacy can keep multiple backups in a single storage location, I need to remove all instances of a snapshot.
Using the Duplicacy web interface,
- Disable/delete any backups writing to the storage for the snapshot id
- Create a Prune job, for the correct storage
- Run with options
-id <the-snapshot-id> -all -exclusive -exhaustiveto remove all revisions and mark unreferenced chunks as fossils. - Panic because you think you’ve got it wrong 🤣
- Run with options
-id <the-snapshot-id> -all -exclusive -delete-onlyto delete the fossil chunks. - Delete the empty snapshot directory. It will contain metadata files (one number for each previous snapshot and these are ok to delete)
- Repeat for the offsite copy.
