当前位置:网站首页>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
边栏推荐
- XML
- Mui wechat payment pit
- innobackupex增量备份
- 数据仓库—什么是OLAP
- playwright控制本地穀歌瀏覽打開,並下載文件
- MySQL 8.0.11下载、安装和使用可视化工具连接教程
- 你和42W奖金池,就差一次“长沙银行杯”腾讯云启创新大赛!
- What do the raddr and rport in webrtc ice candidate mean?
- Is Hongmeng system plagiarism? Or the future? Professional explanation that can be understood after listening in 3 minutes
- "Play with Lighthouse" lightweight application server self built DNS resolution server
猜你喜欢

Imx6ull QEMU bare metal tutorial 1: GPIO, iomux, I2C

LeetCode_DFS_中等_695.岛屿的最大面积
![[point cloud series] multi view neural human rendering (NHR)](/img/40/dc042a42710096b66f3c173f04adc4.png)
[point cloud series] multi view neural human rendering (NHR)

Stack protector under armcc / GCC

9419页最新一线互联网Android面试题解析大全

顶级元宇宙游戏Plato Farm,近期动作不断利好频频
![[point cloud series] Introduction to scene recognition](/img/1f/c64712b03ae5b235b5dd3347c3e86a.png)
[point cloud series] Introduction to scene recognition

MySQL 8.0.11 download, install and connect tutorials using visualization tools

TERSUS笔记员工信息516-Mysql查询(2个字段的时间段唯一性判断)

“湘见”技术沙龙 | 程序员&CSDN的进阶之路
随机推荐
【官宣】长沙软件人才实训基地成立!
Super 40W bonus pool waiting for you to fight! The second "Changsha bank Cup" Tencent yunqi innovation competition is hot!
FatFs FAT32 learning notes
Loading and using image classification dataset fashion MNIST in pytorch
@Excellent you! CSDN College Club President Recruitment!
SPI NAND flash summary
[multi screen interaction] realize dual multi screen display II: startactivity mode
[point cloud series] Introduction to scene recognition
mui 关闭其他页面,只保留首页面
@优秀的你!CSDN高校俱乐部主席招募!
vscode小技巧
Longitude and latitude position of provincial capitals in China
[quick platoon] 215 The kth largest element in the array
QT调用外部程序
mui 微信支付 排坑
AUTOSAR from introduction to mastery 100 lectures (51) - AUTOSAR network management
POM of SSM integration xml
Machine learning -- model optimization
nodejs + mysql 实现简单注册功能(小demo)
The first lesson is canvas, showing a small case