Well, let's take it from a different angle:
We don't need malwares but AV vendors do. If there were no malwares, there would be no AV vendors too.
If we can keep the system up to date, configure the user privileges to lowest possible and grant access only when necessary, take backups as frequently as possible, segregate sensitive networks and most importantly educate the users not to run programs from suspicious sources, most if not all ransomware incident will not happen at all.
How would you prune data, say older than 1yr from the repo in-order to limit repo size?