Clickhouse to S3 data replication

Is there a feature that will enable double write to a file location or S3 at the same time write event into Clickhouse? We have an offline use case to both retent all historical data and do a daily aggregation for analytics purpose.

THanks,