MySQL
type: mysql — uses mysqldump to produce a logical dump.
For MariaDB use type: mariadb instead — it prefers mariadb-dump and falls back to mysqldump.
Prerequisites
mysqldumpmust be installed on the snapr host and available inPATH.- Install via your distro's
mysql-client/default-mysql-clientpackage. - The backup user typically needs at minimum
SELECT,LOCK TABLES,SHOW VIEW,EVENT,TRIGGER, and (when dumping replicas / using--single-transaction)PROCESS.
Fields
Example — single database
Example — all databases via socket
Notes
extraParamskeys are prefixed with--. Use an empty string value for boolean flags.excludeTablesis ignored whenallDatabases: trueis set.