Setup:
Backup server with storage and locally mounted repositories.
- cd repository1
- duplicacy backup
- duplicacy prune -id respostory1 -keep 1:1
- duplicacy prune -id respostory1 -keep 0:40
This is repeated nightly. I don’t necessarily know how many repositories there are per storage, there may be more than one though in this case there is only one.
I see lots of Fossil collection 1 saved output in the logs, but I am not seeing anything indicating that fossils are being removed. From what I read, there may be reasons for this due to the way prune is implemented. The storage has 16k fossils, and the last prune suggested it fossilised 200 chunks, so I would expect storage to have a much smaller number of fossils, ie 200 after the prune.
Prune reference:
Why is prune in this case not removing fossils?
edit attempted the following
duplicacy backup
duplicacy -d prune -a -delete-only
duplicacy prune -id ABC123 -keep 1:1
duplicacy prune -id ABC123 -keep 0:40
Despite there being 16k fossils, only 1 snapshot, the delete-only removes no fossils.
I eventually used the following command to clean up these fossils. If necessary I can put this in the backup script.
duplicacy -d prune -exhaustive -exclusive