Database replication with ability to revert to previous states
You can look into MySQL snapshots using the file system. More details in this link. Snapshots are very quick to create, and can be rolled back to.