MariaDB
type: mariadb — produces a logical dump using mariadb-dump when available, falling back to mysqldump.
The configuration is identical to MySQL — both tools accept the same flags. snapr's source picks the binary at runtime; you do not select it in the config.
Prerequisites
- Either
mariadb-dump(preferred) ormysqldumpmust be installed on the snapr host and available inPATH. - Install via the
mariadb-clientpackage on Debian/Ubuntu (providesmariadb-dump), ormysql-clientfor the fallback. - The backup user needs the same grants as MySQL: at minimum
SELECT,LOCK TABLES,SHOW VIEW,EVENT,TRIGGER,PROCESS.
Fields
Same as MySQL. All options apply.
Example
Example — all databases
Notes
- snapr first looks up
mariadb-dumpinPATH; if missing, it falls back tomysqldump. Install at least one. - For mixed MySQL/MariaDB hosts, prefer the matching client package — flag compatibility is good but not perfect across major versions.