The purpose is to create the live database replication for staging server but with masking of personal identifiable information like email, mobile, passwords etc.
This has to be done once daily, not real time like master slave. Also, when the new rows inserted, they all should be masked like previous ones before insertion.
One way i found is using the binary logs of the mysql, but they can be inserted first, and then masked, which is not required.
Any other suggestion?
Database size is more than 40gb