I created several Full load, ongoing replication task
DMS tasks to copy data from a VPS MySQL server to RDS MySQL, and after some tweaks (time zone config, collations, etc) I was able to get everything working as expected and replicating data effectively.
Yesterday however some tables were truncated in my source MySQL database (TRUNCATE table_name
). The table statistics in the DMS task did detect a DDL change as appreciated in the below screenshot:
I was able to get the TRUNCATE
commands from the MySQL binlog.
Questions:
- Is there any way that DMS could have been the culprit in literally truncating my source tables? My tasks don't even have the preparation mode
TRUNCATE
, I haveDO NOTHING
. - I didn't find any way in the configs or in the docs but, does DMS have a way to affect source tables?
Edit:
I get the feeling that the VPS server got hacked. But I haven't been able to confirm if that's the case.
Edit 2:
Even some tables DMS didn't know about (were not included in the table mappings) got truncated as well.