title: How to restore MySQL database to a point in time
body: <p>A MySQL database is used for test purpose, so I want to run backend API tests on this (multiple transactions), simulating a real database in production. </p>
  
  <p>When tests execution are finished, I want to restore the database in the point before that execution, to be able to run more tests with that database snapshot.</p>
  
  <p>I don't have any MySQL version restriction, because it'll be a fresh database server.</p>
  
  <p>What's the most performant way to restore this database?</p>