How to lock tables of a database server running in a docker container before taking a snapshot?

This topic is similar to Script to stop and start an app with cron task.

In my personal opinion, you can just (zfs) snapshot db without stopping it. Especially if this db is having non-production workloads. And I’m citing myself:

1 Like