-
Notifications
You must be signed in to change notification settings - Fork 240
feat: supports incremental backup #8693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8693 +/- ##
==========================================
+ Coverage 60.49% 61.39% +0.90%
==========================================
Files 378 378
Lines 45623 47325 +1702
==========================================
+ Hits 27598 29055 +1457
- Misses 15441 15630 +189
- Partials 2584 2640 +56
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
/cherry-pick release-0.9 |
|
🤖 says: Error cherry-picking. |
|
🤖 says: |
|
/cherry-pick release-1.0-beta |
|
🤖 says: cherry pick action finished successfully 🎉! |
(cherry picked from commit 9bf690a)
fix #8708
xtrabackup incremental backup for mysql ref apecloud/kubeblocks-addons#1358
Incremental Backup Support
Backup
1. Backup API
Incremental backups depend on existing full or incremental backups, forming a backup chain.
status.parentBackupNameto indicate the parent backup of the incremental backup, which may be either an incremental or a full backup.spec.parentBackupNameis empty, the backup controller selects the most recent incremental or full backup asstatus.parentBackupName, prioritizing scheduled backups if the backup is scheduled.status.BaseBackupNameindicates the full backup that the incremental backup is based on.2. Backup Method
We introduced
compatibleMethodto indicate which full backup methods are compatible with the incremental backup methods. For example:3. Backup Deletion
When a parent backup or base backup is deleted, all backups related to them will also be deleted.
Restore