![]() ![]() Mariadb-dump dumps the data into SQL format (it can also dump into other formats, such as CSV or XML) which can then easily be imported into another database. It is the most flexible way to perform a backup and restore, and a good choice when the data size is relatively small.įor large datasets, the backup file can be large, and the restore time lengthy. Mariadb-dump (previously mysqldump) performs a logical backup. ![]() It is included with MariaDB 10.1.23 and later. Mariadb-backup is a fork of Percona XtraBackup with added support for MariaDB 10.1 compression and data-at-rest encryption. log files and configuration files are not part of a logical backup.logical backups takes more time to both backup and restore than the equivalent physical backup.logical backups are larger in size than the equivalent physical backup.(In versions prior to MariaDB 5.5, by default a number of InnoDB tables are stored in the same file, in which case it is not possible to backup by table. In the MyISAM and InnoDB storage engines, each table has an equivalent set of files. logical backups can be performed at the level of database and table, while physical databases are the level of directories and files.logical backups are more flexible, as the data can be restored on other hardware configurations, MariaDB versions or even on another DBMS, while physical backups cannot be imported on significantly different hardware, a different DBMS, or potentially even a different MariaDB version.Physical backups are performed by copying the individual data files or directories. Logical backups consist of the SQL statements necessary to restore the data, such as CREATE DATABASE, CREATE TABLE and INSERT. More detail is in the process of being added. For detailed descriptions and syntax, see the individual pages. This article briefly discusses the main ways to backup MariaDB.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |