Mariabackup Options¶
The mariabackup
SST method uses the Mariabackup
utility for performing SSTs. It does not block the donor node.
To use the mariabackup
SST method, you must set the wsrep_sst_method=mariabackup
on both the donor and joiner node. It can be changed dynamically with SET GLOBAL
on the node that you intend to be a SST donor. For example:
SET GLOBAL wsrep_sst_method='mariabackup';
For an SST to work properly, the donor and joiner node must use the same SST method.
cpat
Defines what files to exclude from the clean up from the datadir during state transfers.
System Variable | Name: | cpat |
---|---|---|
Match: | No | |
Permitted Values | Type: | String |
Default Value: | See below |
When the donor node begins a State Snapshot Transfer, it cleans up various files from the datadir. This ensures that the joiner node can cleanly apply the state transfer. With this parameter, you can define what files you want the node to exclude from being deleted, before the state transfer.
cpat=".*\.pem$\|.*init\.ok$\|.*galera\.cache$\|.*sst_in_progress$\|.*\.sst$\|.*gvwstate\.dat$\|.*grastate\.dat$\|.*\.err$\|.*\.log$\|.*RPM_UPGRADE_MARKER$\|.*RPM_UPGRADE_HISTORY$"