Difference between revisions of "Mariabackup"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 31: Line 31:
 
* <code>[[mysqldump]]</code>
 
* <code>[[mysqldump]]</code>
 
* <code>[[show databases]]</code>
 
* <code>[[show databases]]</code>
 +
* [[SST]]
  
 
== Activities ==
 
== Activities ==

Revision as of 09:43, 10 November 2021

Mariabackup[1] is a fork of Percona XtraBackup with added support for MariaDB 10.1 compression and data-at-rest encryption. It is included as alpha version with MariaDB 10.1.23[2] (May 2017) and later.

Support full or incremental backups https://mariadb.com/kb/en/incremental-backup-and-restore-with-mariabackup/

Support for online backups of InnoDB, Aria and MyISAM tables.

apt install mariadb-backup
mariabackup --help

Examples

Full:

mariabackup --backup \
  --target-dir=/var/mariadb/backup/ \
  --user=mariabackup --password=mypassword

Incremental

mariabackup --backup \
  --target-dir=/var/mariadb/inc1/ \
  --incremental-basedir=/var/mariadb/backup/ \
  --user=mariabackup --password=mypassword


parallel=#
--prepare


Related terms

Activities

See also

  • https://mariadb.com/kb/en/mariabackup-overview/
  • https://mariadb.com/kb/en/mariadb-10123-release-notes/
  • Advertising: