Repack inefficient?

Good morning everyone. I just started using Restic for backups a few days ago but noticed one huge problem: Repacking uses so much data. I’m using Backblaze B2 for storage and with only 5% of the repack completed, I already had a 1$ download bill. That just won’t work for me. I need to somehow adjust my backup and prune settings so that downloads from the repository are kept to an absolute minimum, how could I do that?

Restic 0.12.0 added some enhancements to prune which address this exact problem. You can now use --max-repack-size and --max-unused to adjust prune to your needs: