-
Notifications
You must be signed in to change notification settings - Fork 88
*: support backup/restore with NFS #148 #232
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
93b600b to
b4464d4
Compare
24fe030 to
3993290
Compare
6621a02 to
39f5f36
Compare
39f5f36 to
8c61da3
Compare
|
staticcheck Failed. |
backup/syncer/job.go
Outdated
| in.RestartPolicy = corev1.RestartPolicyNever | ||
| sctName := fmt.Sprintf("%s-secret", s.backup.Spec.ClusterName) | ||
| in.Containers[0].Name = utils.ContainerBackupName | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete the space.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add subdir back-nfs in the samples and mv related files into it.
33b55de to
be0f265
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name of the backup folder cannot distinguish the backup of multiple clusters, Change the name such as <cluster_name>_202241564422.
sh-4.2# ls exports/
backup_202241564422 index.html
sh-4.2# ls exports/backup_202241564422/
backup-my.cnf ibdata1 performance_schema sys xtrabackup_checkpoints xtrabackup_logfile
ib_buffer_pool mysql radondb xtrabackup_binlog_info xtrabackup_info
|
#232 (comment) |
9851f02 to
21a5c93
Compare
it has been modified |
| name: backup-sample | ||
| spec: | ||
| # Add fields here | ||
| image: radondb/mysql-sidecar:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mysql57-sidecar:v2.2.0
andyli029
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge first, optimize further.
*: support backup/restore with NFS radondb#148
What type of PR is this?
/enhancement
Which issue(s) this PR fixes?
Fixes #148
What this PR does?
Summary:
Special notes for your reviewer?