On an external drive, I have 3 APFS containers each with 1 volume in them respectively. The 3 containers and their respective volumes are used for Time Machine backups from 3 different Macs. The APFS containers use APFS (Case-sensitive, encrypted).
It occurred to me that my setup might not be optimal. According to a cursory search, with APFS it might be possible to have the 3 different Time Machine backup volumes share one APFS container, instead of having them reside in 3 separate containers containing 3 different volumes. This would potentially allow the Time Machine backup volumes to dynamically make use of the container space as needed (growing & shrinking).
Is this correct, and a more advisable solution?
Consider that Time Machine backups typically don't shrink, they rather grow with time, and ultimately there needs to be some limiting quota (which is why I originally opted for 3 separates) so there isn't too much cannibalization between different backups from different devices. Perhaps there is a way in Terminal to set a quota on each Time Machine volume?
Alternatively, if APFS containers can be resized on the drive without losing the data in the volumes in those containers, then that practically works quite okay as well in order to manage storage. Related question: Can APFS containers be resized while retaining their contents? (Case-sensitive, encrypted)
Lastly, I am not sure on which level encryption should happen in this regard. If I backup to a single APFS container, should the encryption happen at the level of the container, or on the level of the volumes/backup destinations?