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