I have a huge amount of files (~100 millions and total size ~50Tb), which should be backed up in Openstack Swift. Unfortunately Swift doesn’t recommend to store more than 1 million files in one container.
I was hoping that restic can pack multiple files into one
pack and it actually can, but according to the documentation the maximum pack file size is 8 MiB (my tests showed me 4 MiB and actually here is why: https://github.com/restic/restic/blob/2aa6b496519ef65c5cedc02aaaf2f3495137e6a5/internal/repository/packer_manager.go#L39).
I actually don’t want to struggle with multiple Swift containers, this will extremely complicate the backup task.
Can I face any negative consequences if I’d recompile the source code with the increased