Hi @michael_hoeller ,
This seems to be the classic use case of using online archive in Atlas and than to use a federated connection string to access data in both cluster and MongoDB archive storage.
Another option is to use the preImage option in a delete trigger for the ttl deletes .
So each ttl delete will allow you to write the data to your archive destination and precompute as needed.
See more here:
Thanks
Pavel