Local Community

Database snapshots

I’d like an ability to snapshot the database at certain points. I’m working on integrating automated testing, so I’d like the ability to save the database at the start, then reset to that point later (e.g. after the test)
I can manually do this by exporting the database then reimporting it later, but this defeats the purpose of automating it. This could be a good GUI feature, but for my automated use case, a command line interface (from outside local site SSH, so can’t use WP-CLI) is best.