How to completely delete a repository

What are the steps to completely delete a repository from the backup storage (B2, in my case)? Do you just delete all of the snapshots/revisions for that repository?

Yes, you can remove the subdirectory under the snapshots directory, but this will leave many unreferenced chunks on the storage. To clean up storage, run duplicacy prune -exhaustive from another client/repository. This will find all unreferenced chunks and mark them as fossils which will be removed permanently next time the prune command is run with some conditions satisfied (Lock free deduplication algorithm).

You can also run duplicacy prune -r r1-r2 from the current repository. The -exhaustive option is not needed because this command knows which chunks are becoming unreferenced.

Using MAC OS 13, How do you access the prune commands to delete a repository?

Using MAC OS 13, How do you access the prune commands to delete a repository?

Under MacOS the command line duplicacy sits under application bundle here: /Applications/Duplicacy.app/Contents/Resources/

However if you need to nuke entire repository why don’t just login to B2 via web interface and delete the bucket? Or do that using a number of third party tools like Transmit or CyberDuck? it will be faster and easier.

1 Like

When using the web edition, is it also necessary to remove the .duplicacy-web/repositories/localhost/ subdirectory?