Skip to content
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

[pxc-db] Use separate buckets for full and binary backups #7727

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/pxc-db/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.13
version: 0.2.14

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
10 changes: 5 additions & 5 deletions common/pxc-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -465,19 +465,19 @@ backup:
# -- Binlogs storage is being used by binglog-collector (PiTR)
binlogs:
enabled: true
bucket: "pxc-backup-{{ .Values.global.region }}/binlogs/{{.Values.name}}/"
bucket: "pxc-binlog-{{ .Values.global.region }}/{{.Values.name}}/binlogs/" # / at the end is required
# -- Daily backups storage is enabled by default
daily:
enabled: true
bucket: "pxc-backup-{{ .Values.global.region }}/backups/{{ .Values.name }}/daily"
bucket: "pxc-backup-{{ .Values.global.region }}/{{ .Values.name }}/daily"
# -- Hourly backups storage is disabled by default
hourly:
enabled: false
bucket: "pxc-backup-{{ .Values.global.region }}/backups/{{ .Values.name }}/hourly"
bucket: "pxc-backup-{{ .Values.global.region }}/{{ .Values.name }}/hourly"
# -- Custom backup storage is supposed to be used for manual backups
custom:
enabled: false
bucket: "pxc-backup-{{ .Values.global.region }}/backups/{{ .Values.name }}/custom"
bucket: "pxc-backup-{{ .Values.global.region }}/{{ .Values.name }}/custom"
# -- Example of the backup schedule configuration
schedule:
- name: "daily-backup"
Expand All @@ -486,7 +486,7 @@ backup:
schedule: "0 0 * * *"
# -- The amount of most recent backups to store. Older backups are automatically deleted.
# https://docs.percona.com/percona-operator-for-mysql/pxc/operator.html?#backupschedulekeep
keep: 5
keep: 7
# -- The name of the storage for the backups configured in the storages subsection
storageName: s3-backups-daily

Expand Down
Loading