[root@localhost mysql]# mariadb-backup --print-defaults -uroot --target-dir=//mnt/mariadb-backup/ --backup
|
mariadb-backup would have been started with the following arguments:
|
--innodb_undo_tablespaces=2 --innodb_undo_directory=./ --log_error=/var/log/mysql/error.log -uroot --target-dir=//mnt/mariadb-backup/ --backup
|
[root@localhost mysql]# mariadb-backup -uroot --target-dir=//mnt/mariadb-backup/ --backup
|
[00] 2022-03-28 18:29:11 Connecting to MySQL server host: localhost, user: root, password: not set, port: not set, socket: not set
|
mariadb-backup: Warning: Charset id '33' csname 'utf8mb3' trying to replace existing csname 'utf8'
|
mariadb-backup: Warning: Charset id '83' csname 'utf8mb3' trying to replace existing csname 'utf8'
|
[00] 2022-03-28 18:29:11 Using server version 10.7.3-MariaDB
|
mariadb-backup based on MariaDB server 10.7.3-MariaDB Linux (x86_64)
|
[00] 2022-03-28 18:29:11 uses posix_fadvise().
|
[00] 2022-03-28 18:29:11 cd to /var/lib/mysql/
|
[00] 2022-03-28 18:29:11 open files limit requested 0, set to 1024
|
[00] 2022-03-28 18:29:11 mariabackup: using the following InnoDB configuration:
|
[00] 2022-03-28 18:29:11 innodb_data_home_dir =
|
[00] 2022-03-28 18:29:11 innodb_data_file_path = ibdata1:12M:autoextend
|
[00] 2022-03-28 18:29:11 innodb_log_group_home_dir = ./
|
[00] 2022-03-28 18:29:11 InnoDB: Using Linux native AIO
|
2022-03-28 18:29:11 0 [Note] InnoDB: Number of pools: 1
|
2022-03-28 18:29:11 0 [Note] InnoDB: Opened 2 undo tablespaces
|
[00] 2022-03-28 18:29:11 mariabackup: Generating a list of tablespaces
|
[00] 2022-03-28 18:29:11 >> log scanned up to (42720)
|
[01] 2022-03-28 18:29:11 Copying ibdata1 to /mnt/mariadb-backup/ibdata1
|
[01] 2022-03-28 18:29:11 ...done
|
[01] 2022-03-28 18:29:11 Copying .//undo001 to /mnt/mariadb-backup/undo001
|
[01] 2022-03-28 18:29:12 ...done
|
[01] 2022-03-28 18:29:12 Copying .//undo002 to /mnt/mariadb-backup/undo002
|
[01] 2022-03-28 18:29:12 ...done
|
[01] 2022-03-28 18:29:12 Copying ./mysql/innodb_table_stats.ibd to /mnt/mariadb-backup/mysql/innodb_table_stats.ibd
|
[01] 2022-03-28 18:29:12 ...done
|
.....
|
[00] 2022-03-28 18:29:14 >> log scanned up to (42720)
|
[00] 2022-03-28 18:29:14 Executing BACKUP STAGE END
|
[00] 2022-03-28 18:29:14 All tables unlocked
|
[00] 2022-03-28 18:29:14 Copying ib_buffer_pool to /mnt/mariadb-backup/ib_buffer_pool
|
[00] 2022-03-28 18:29:14 ...done
|
[00] 2022-03-28 18:29:14 Backup created in directory '/mnt/mariadb-backup/'
|
[00] 2022-03-28 18:29:14 Writing backup-my.cnf
|
[00] 2022-03-28 18:29:14 ...done
|
[00] 2022-03-28 18:29:14 Writing xtrabackup_info
|
[00] 2022-03-28 18:29:14 ...done
|
[00] 2022-03-28 18:29:14 Redo log (from LSN 42708 to 42720) was copied.
|
[00] 2022-03-28 18:29:14 completed OK!
|