当前位置:网站首页>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
边栏推荐
- CSDN College Club "famous teacher college trip" -- Hunan Normal University Station
- 鸿蒙系统是抄袭?还是未来?3分钟听完就懂的专业讲解
- 【行走的笔记】
- Request和Response及其ServletContext总结
- Playwright controls local Google browsing to open and download files
- 初鉴canvas,展示个小小的小案例
- kettle庖丁解牛第16篇之输入组件周边讲解
- ESP32 VHCI架构传统蓝牙设置scan mode,让设备能被搜索到
- MySQL 8.0.11下载、安装和使用可视化工具连接教程
- 数据仓库—什么是OLAP
猜你喜欢
超40W奖金池等你来战!第二届“长沙银行杯”腾讯云启创新大赛火热来袭!
集简云 x 飞书深诺,助力企业运营部实现自动化办公
SHA512 / 384 principle and C language implementation (with source code)
[Journal Conference Series] IEEE series template download guide
Servlet of three web components
100000 college students have become ape powder. What are you waiting for?
[point cloud series] learning representations and generative models for 3D point clouds
TERSUS笔记员工信息516-Mysql查询(2个字段的时间段唯一性判断)
十万大学生都已成为猿粉,你还在等什么?
缘结西安 | CSDN与西安思源学院签约,全面开启IT人才培养新篇章
随机推荐
Migrating your native/mobile application to Unified Plan/WebRTC 1.0 API
"Play with Lighthouse" lightweight application server self built DNS resolution server
[point cloud series] Introduction to scene recognition
[point cloud series] full revolutionary geometric features
基于uniapp异步封装接口请求简介
Using open to open a file in JNI returns a - 1 problem
Plato farm, a top-level metauniverse game, has made frequent positive moves recently
[dynamic programming] 221 Largest Square
vscode小技巧
TCP 复位gongji原理和实战复现
初鉴canvas,展示个小小的小案例
交叉碳市场和 Web3 以实现再生变革
NPM err code 500 solution
面试官给我挖坑:URI中的 “//” 有什么用?
Data warehouse - what is OLAP
CSDN高校俱乐部“名师高校行”——湖南师范大学站
Nodejs + websocket cycle small case
filter()遍历Array异常友好
[quick platoon] 215 The kth largest element in the array
Longitude and latitude position of provincial capitals in China