innobackupex备份命令输出

摘要:
通过屏幕输出了解备份过程首先读取my.cnf文件,找到参数配置和数据目录等备份innodb文件加锁开始备份非innodb文件19061316:40:06ExecutingFLUSHNO_WRITE_TO_BINLOGTABLES...19061316:40:06ExecutingFLUSHTABLESWITHREADLOCK...19061316:40:06Startingtobackupnon-

通过屏幕输出了解备份过程

首先读取my.cnf 文件,找到参数配置和数据目录等

备份innodb文件

加锁 开始备份非innodb文件

190613 16:40:06 Executing FLUSH NO_WRITE_TO_BINLOG TABLES...
190613 16:40:06 Executing FLUSH TABLES WITH READ LOCK...
190613 16:40:06 Starting to backup non-InnoDBtables and files

完成非innodb文件备份

190613 16:40:07 Finished backing up non-InnoDB tables and file

写入xtrabackup_binlog_info文件

190613 16:40:07 [00] Writing /server/backup/2019-06-13_16-40-00/xtrabackup_binlog_info
190613 16:40:07 [00] ...done
190613 16:40:07 Executing FLUSH NO_WRITE_TO_BINLOG ENGINE LOGS...
xtrabackup: The latest check point (for incremental): '165695722'

停止日志拷贝进程
xtrabackup: Stopping log copying thread.
.190613 16:40:07 >> log scanned up to (165695731)

释放锁
190613 16:40:07 Executing UNLOCK TABLES
190613 16:40:07 All tables unlocked
190613 16:40:07 [00] Copying ib_buffer_pool to /server/backup/2019-06-13_16-40-00/ib_buffer_pool
190613 16:40:07 [00] ...done
190613 16:40:07 Backup created in directory '/server/backup/2019-06-13_16-40-00/'
MySQL binlog position: filename 'mysql-bin.000014', position '7116'
190613 16:40:07 [00] Writing /server/backup/2019-06-13_16-40-00/backup-my.cnf
190613 16:40:07 [00] ...done
190613 16:40:07 [00] Writing /server/backup/2019-06-13_16-40-00/xtrabackup_info
190613 16:40:07 [00] ...done

提示completed OK完成备份

xtrabackup: Transaction log of lsn (165695722) to (165695731) was copied.
190613 16:40:07 completed OK!

[root@Master ~]# innobackupex --defaults-file=/etc/my.cnf --user=root --password=root  --port=3306   --socket=/server/mysql_data/mysql.sock  /server/backup 
xtrabackup: recognized server arguments: --server-id=101 --innodb=FORCE --datadir=/server/mysql_data/ --log_bin=/server/mysql_data/mysql-bin --innodb_flush_log_at_trx_commit=1 --open_files_limit=65535 --innodb_open_files=65535 --innodb_flush_method=O_DIRECT --innodb_log_files_in_group=2 --innodb_log_file_size=1G --innodb_flush_log_at_trx_commit=1 --innodb_file_per_table=1 --innodb_buffer_pool_size=1G 
xtrabackup: recognized client arguments: --server-id=101 --innodb=FORCE --datadir=/server/mysql_data/ --log_bin=/server/mysql_data/mysql-bin --innodb_flush_log_at_trx_commit=1 --open_files_limit=65535 --innodb_open_files=65535 --innodb_flush_method=O_DIRECT --innodb_log_files_in_group=2 --innodb_log_file_size=1G --innodb_flush_log_at_trx_commit=1 --innodb_file_per_table=1 --innodb_buffer_pool_size=1G 
190613 16:40:00 innobackupex: Starting the backup operation

IMPORTANT: Please check that the backup run completes successfully.
           At the end of a successful backup run innobackupex
           prints "completed OK!".

190613 16:40:01  version_check Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_group=xtrabackup;port=3306;mysql_socket=/server/mysql_data/mysql.sock' as 'root'  (using password: YES).
190613 16:40:01  version_check Connected to MySQL server
190613 16:40:01  version_check Executing a version check against the server...
*******************************************************************
 Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
 is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER
 possibly with SSL_ca_file|SSL_ca_path for verification.
 If you really don't want to verify the certificate and keep the
 connection open to Man-In-The-Middle attacks please set
 SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application.
*******************************************************************
  at - line 237.
*******************************************************************
 Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
 is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER
 possibly with SSL_ca_file|SSL_ca_path for verification.
 If you really don't want to verify the certificate and keep the
 connection open to Man-In-The-Middle attacks please set
 SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application.
*******************************************************************
  at - line 237.

# A software update is available:
190613 16:40:05  version_check Done.
190613 16:40:05 Connecting to MySQL server host: localhost, user: root, password: set, port: 3306, socket: /server/mysql_data/mysql.sock
Using server version 5.7.21-log
innobackupex version 2.4.14 based on MySQL server 5.7.19 Linux (x86_64) (revision id: ef675d4)
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /server/mysql_data/
xtrabackup: open files limit requested 65535, set to 65535
xtrabackup: using the following InnoDB configuration:
xtrabackup:   innodb_data_home_dir = .
xtrabackup:   innodb_data_file_path = ibdata1:12M:autoextend
xtrabackup:   innodb_log_group_home_dir = ./
xtrabackup:   innodb_log_files_in_group = 2
xtrabackup:   innodb_log_file_size = 1073741824
xtrabackup: using O_DIRECT
InnoDB: Number of pools: 1
190613 16:40:05 >> log scanned up to (165695731)
xtrabackup: Generating a list of tablespaces
InnoDB: Allocated tablespace ID 2 for mysql/plugin, old maximum was 0
190613 16:40:05 [01] Copying ./ibdata1 to /server/backup/2019-06-13_16-40-00/ibdata1
190613 16:40:06 [01]        ...done
190613 16:40:06 [01] Copying ./test/zhengxin_loan_behavior_feature.ibd to /server/backup/2019-06-13_16-40-00/test/zhengxin_loan_behavior_feature.ibd
190613 16:40:06 [01]        ...done
190613 16:40:06 [01] Copying ./test01/user_info.ibd to /server/backup/2019-06-13_16-40-00/test01/user_info.ibd
190613 16:40:06 [01]        ...done
190613 16:40:06 Executing FLUSH NO_WRITE_TO_BINLOG TABLES...
190613 16:40:06 Executing FLUSH TABLES WITH READ LOCK...
190613 16:40:06 Starting to backup non-InnoDB tables and files
190613 16:40:06 [01] Copying ./mysql/db.opt to /server/backup/2019-06-13_16-40-00/mysql/db.opt
190613 16:40:06 [01]        ...done
190613 16:40:07 [01] Copying ./test01/user_info.frm to /server/backup/2019-06-13_16-40-00/test01/user_info.frm
190613 16:40:07 [01]        ...done
190613 16:40:07 [01] Copying ./small_flow/db.opt to /server/backup/2019-06-13_16-40-00/small_flow/db.opt
190613 16:40:07 [01]        ...done
190613 16:40:07 Finished backing up non-InnoDB tables and files
190613 16:40:07 [00] Writing /server/backup/2019-06-13_16-40-00/xtrabackup_binlog_info
190613 16:40:07 [00]        ...done
190613 16:40:07 Executing FLUSH NO_WRITE_TO_BINLOG ENGINE LOGS...
xtrabackup: The latest check point (for incremental): '165695722'
xtrabackup: Stopping log copying thread.
.190613 16:40:07 >> log scanned up to (165695731)
190613 16:40:07 Executing UNLOCK TABLES
190613 16:40:07 All tables unlocked
190613 16:40:07 [00] Copying ib_buffer_pool to /server/backup/2019-06-13_16-40-00/ib_buffer_pool
190613 16:40:07 [00]        ...done
190613 16:40:07 Backup created in directory '/server/backup/2019-06-13_16-40-00/'
MySQL binlog position: filename 'mysql-bin.000014', position '7116'
190613 16:40:07 [00] Writing /server/backup/2019-06-13_16-40-00/backup-my.cnf
190613 16:40:07 [00]        ...done
190613 16:40:07 [00] Writing /server/backup/2019-06-13_16-40-00/xtrabackup_info
190613 16:40:07 [00]        ...done
xtrabackup: Transaction log of lsn (165695722) to (165695731) was copied.
190613 16:40:07 completed OK!

免责声明:文章转载自《innobackupex备份命令输出》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇MFC【exe】工程中的文件大致信息(翻译的)build.gradle文件详解<三>下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

主机连接虚拟机的mysql 记录

   检查远程的虚拟机是否可以ping通过   查看虚拟机IP为192.168.38.128      cmd窗口ping 192.168.38.128,出现如下界面说明是可以的      检查虚拟机mysql的端口号是否对外开通   比如我们能用xshell等远程工具连接虚拟机上的linux,是因为开放了22端口   查看mysql的端口,在mysql命...

docker容器互访三种方式

我们都知道docker容器之间是互相隔离的,不能互相访问,但如果有些依赖关系的服务要怎么办呢。下面介绍三种方法解决容器互访问题。 方式一、虚拟ip访问  安装docker时,docker会默认创建一个内部的桥接网络docker0,每创建一个容器分配一个虚拟网卡,容器之间可以根据ip互相访问。 [root@33fcf82ab4dd /]# [root@C...

macOS + MySql8 问题

最近mac 升级安装mysql后遇到一系列问题,稍作记录。 1、升级8以后,使用sequelpro 连接报错 MySQL said: Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(/usr/local/mysql/lib/plugin/caching_sha2_...

mysql压缩包安装方式

从官网https://dev.mysql.com/downloads/mysql/上下载mysql-5.6.31-winx64.zip,将其解压,接下来的安装是通过命令来安装MySQL数据库的。(P.S. 5.7的版本会出问题,最好还是5.6的版本) (1)mysql-5.6.31-winx64.zip解压到E:JavaWebDeveloper文件下,打开...

mySql 远程连接(is not allowed to connect to this MySQL server)

如果你想连接你的mysql的时候发生这个错误: ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL server 1 首先检查电脑的防火墙是否关闭。 2 通过mysql命令来授权,其他电脑的访问权限。 方法一:授权法(推荐)。例如,你想myuser使用mypasswo...

php mysql jquery ajax 查询数据库三级联动

1、php 页面打开直接展示第一个select option中的数据 2、当第一个下拉列表选中的内容发生改变的时候,查询数据库填充第二个下拉列表 3、当第二个下拉列表选中的内容发生改变时,查询数据库填充第三个下拉列表 注意点: 1、查询出来的数据,如果绑定到select上 2、select cochange事件 3、ajax 请求,提交到某个php 页面,...