当前位置:网站首页>Containerization | Scheduled Backups in S3
Containerization | Scheduled Backups in S3
2022-08-10 15:21:00 【InfoQ】
《
Recovering RadonDB MySQL Cluster Data in S3 Backup
”In the article, we show the specific backup and recovery of cluster data in S3 storageOperation process, but only manual backup.
RadonDB MySQL Kubernetes 2.2.0
Added support for scheduled backup of S3 (NFS support is also on the way).
Let's take a look at how this feature is used!
How to open?
Cron expressions (similar to Linux's crontab timers) can be used to specify timing policies for backups.You just need to set
backupSchedule
spec
in the cluster's YAML filediv>
field.The format is as follows:
...
spec:
replicas: 3
mysqlVersion: "5.7"
backupSchedule: "0 00 * * * *" # daily
...
Delete the field to cancel the scheduled backup task.
Cron expression format
Cron expression format is: second minute hour day month week, that is, a time combination consisting of 6 fields separated by spaces.
Note: The [Month] and [Week] fields are not case sensitive, that is, SUN, Sun and Sun are all accepted.
Special Character Description
Predefined Schedule
You can replace the Cron expression with the following predefined time to make the setting more user-friendly.
...
spec:
replicas: 3
mysqlVersion: "5.7"
backupSchedule: @daily # 0 0 0 ** * Once a day
...
Learn to experience it!
边栏推荐
- 高薪程序员&面试题精讲系列135之你对分布式是怎么理解的?CAP理论你知道吗?
- High-paid programmers & interview questions series 135 How do you understand distributed?Do you know CAP theory?
- Understanding_Data_Types_in_Go
- 使用Uiautomator2进行APP自动化测试
- Basic learning of XML
- scala 基础篇
- APP automation testing with Uiautomator2
- Do not access Object.prototype method ‘hasOwnProperty‘ from target object....
- Mysql statement analysis, storage engine, index optimization, etc.
- 程序调试介绍及其使用
猜你喜欢
随机推荐
微信小程序,自定义输入框与导航胶囊对其
XML基本学习
[Letter from Wu Enda] The development of reinforcement learning!
解题-->在线OJ(十九)
Appium进行APP自动化测试
Mini Program-Voice broadcast function
Introduction to the Internet (2)
“蔚来杯“2022牛客暑期多校训练营7
websocket实现实时变化图表内容
Websocket realizes real-time change of chart content
司空见惯 - 股市狠狠下跌后,何時能反弹?
Flask框架——基于Celery的后台任务
自定义picker滚动选择器样式
BCG库简介
兆骑科创创业赛事活动发布平台,创业赛事,项目路演
E. Cross Swapping(并查集变形/好题)
pytest框架优化
数据类型与整型存储
基于inotify实现落盘文件的跨进程实时读写交互
metaForce佛萨奇2.0系统开发功能逻辑介绍