Using a Different Backup Tool
If xtrabackup is installed when the dataservice is first created, xtrabackup will be used as the default backup method. The following built-in
backup methods are provided:
mysqldump- SQL dump to a single file. This is the easiest backup method but it is not appropriate for large data sets.xtrabackup- Full backup to a single tar file. This will take longer to take the backup and to restore.xtrabackup-full- Full backup to a directory (this is the default ifxtrabackupis available and the backup method is not explicitly stated).xtrabackup-incremental- Incremental backup from the lastxtrabackup-fullorxtrabackup-incrementalbackup.mariabackup- Full backup to a single tar file. This will take longer to take the backup and to restoremariabackup-full- Full backup to a directory.mariabackup-incremental- Incremental backup from the lastmariabackup-fullormariabackup-incrementalbackup.
The default backup tool can be changed, and different tools can be used explicitly when the backup command is executed. The Percona xtrabackup tool can be
used to perform both full and incremental backups. Use of this tool is optional and can configured during installation, or afterwards by updating the configuration
using tpm.
To update the configuration to use xtrabackup, install the tool and then follow the directions for tpm update to apply the
backup-method=xtrabackup-full setting.
To use xtrabackup-full without changing the configuration, specify the backup agent to the datasource backup command
within cctrl:
[LOGICAL:EXPERT] /alpha > datasource host2 backup xtrabackup-full
Replicator 'host2' starting backup
Backup of dataSource 'host2' succeeded; uri=storage://file-system/store-0000000006.properties