bdrewery / zfstools

Various ZFS scripts. Most notably, zfs-auto-snapshot, a ruby clone of OpenSolaris auto snapshotting
Other
141 stars 29 forks source link

Possibility to modify MySQL commands before snapshot creation #60

Open iron-udjin opened 2 months ago

iron-udjin commented 2 months ago

Is it possible to modify MySQL commands FLUSH LOGS; and FLUSH TABLES WITH READ LOCK; without edit source files? I need, for example, add execution of STOP SLAVE; before snapshot creation and possibly other commands.