HomePhabricator

mariadb: Modify dump_section to allow different types of dump

Authored by jcrespo on Feb 18 2019, 1:45 PM.

Description

mariadb: Modify dump_section to allow different types of dump

This is a first timid modification of dump_section to allow
the usage of mariabackup (mariadb-compiled version of xtrabackup)
when setting type=snapshot instead of the default (type=dump).

This is mostly a prototype so decisions can be made once it works
as indended about separating this on a different utility or
refactoring to allow multiple different types.

Bug: T210292
Change-Id: If83a76d8005f395186fa95d2e601cb10995a370e