当前位置:网站首页>Innobackupex incremental backup
Innobackupex incremental backup
2022-04-23 13:28:00 【China loves us】
# Carry out the first full standby
[root@shou ~]#innobackupex --defaults-file=/usr/local/mysql/etc/my.cnf --host=127.0.0.1 --port=3306 --user=root --password=****** ./restore
# Make the first additional preparation , Based on the last full backup
[root@shou ~]#innobackupex ---defaults-file=/usr/local/mysql/etc/my.cnf --host=127.0.0.1 --port=3306 --user=root --password=****** --incremental ./restore/incer1 --incremental-basedir=./restore/2022-04-23_11-39-31
# Perform the second full backup , Based on the first additional reserve
[root@shou ~]#innobackupex ---defaults-file=/usr/local/mysql/etc/my.cnf --host=127.0.0.1 --port=3306 --user=root --password=****** --incremental ./restore/incer2 --incremental-basedir=./restore/incer1/2022-04-23_11-47-10
########################## Data consolidation during recovery ####################################################
Start backup set for consolidation —— Full backup application log , And designate "--redo-only" Indicates the start of log append
innobackupex --apply-log --use-memory=1G --redo-only ./restore/2022-04-23_11-39-31/
For the first addition set " Get ready ", Add it to the full backup set
innobackupex --apply-log --use-memory=1G --redo-only ./restore/2022-04-23_11-39-31/ --incremental-dir=./restore/incer1/2022-04-23_11-47-10/
The second addition set is " Get ready ", Add it to the full backup set , But no longer apply "--redo-only", Indicates the end point of consolidation
innobackupex --apply-log --use-memory=1G ./restore/2022-04-23_11-39-31/ --incremental-dir=./restore/incer2/2022-04-23_11-53-19/
Conduct an overall review of the integrated full set " Get ready "
innobackupex --apply-log --use-memory=1G ./restore/2022-04-23_11-39-31/
################### Data recovery #############################
innobackupex --defaults-file=/usr/local/mysql3308/etc/my.cnf --copy-back ./restore/2022-04-23_11-39-31/
############### Modify the owner group and start mysqld3308###########
chown mysql:mysql -R /usr/local/mysql3308/data && systemctl start mysqld3308
版权声明
本文为[China loves us]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231232410675.html
边栏推荐
- The interviewer dug a hole for me: what's the use of "/ /" in URI?
- Playwright controls local Google browsing to open and download files
- 2020最新Android大厂高频面试题解析大全(BAT TMD JD 小米)
- [andorid] realize SPI communication between kernel and app through JNI
- Is Hongmeng system plagiarism? Or the future? Professional explanation that can be understood after listening in 3 minutes
- “湘见”技术沙龙 | 程序员&CSDN的进阶之路
- 【行走的笔记】
- Solve the problem of Oracle Chinese garbled code
- Mui + hbuilder + h5api simulate pop-up payment style
- Interface idempotency problem
猜你喜欢
The interviewer dug a hole for me: what's the use of "/ /" in URI?
[point cloud series] foldingnet: point cloud auto encoder via deep grid deformation
Vscode tips
面试官给我挖坑:URI中的 “//” 有什么用?
Unified task distribution scheduling execution framework
CMSIS cm3 source code annotation
[indicators] precision, recall
[point cloud series] so net: self organizing network for point cloud analysis
缘结西安 | CSDN与西安思源学院签约,全面开启IT人才培养新篇章
[point cloud series] multi view neural human rendering (NHR)
随机推荐
Playwright controls local Google browsing to open and download files
Xi'an CSDN signed a contract with Xi'an Siyuan University, opening a new chapter in IT talent training
TERSUS笔记员工信息516-Mysql查询(2个字段的时间段唯一性判断)
[point cloud series] relationship based point cloud completion
POM of SSM integration xml
[tensorflow] sharing mechanism
集简云 x 飞书深诺,助力企业运营部实现自动化办公
100 GIS practical application cases (34) - splicing 2020globeland30
9419页最新一线互联网Android面试题解析大全
SHA512 / 384 principle and C language implementation (with source code)
Summary of request and response and their ServletContext
mui picker和下拉刷新冲突问题
Brief introduction of asynchronous encapsulation interface request based on uniapp
你和42W奖金池,就差一次“长沙银行杯”腾讯云启创新大赛!
Imx6ull QEMU bare metal tutorial 1: GPIO, iomux, I2C
[point cloud series] full revolutionary geometric features
普通大学生如何拿到大厂offer?敖丙教你一招致胜!
Feature Engineering of interview summary
数据仓库—什么是OLAP
MySQL 8.0.11 download, install and connect tutorials using visualization tools