Skip to content

K8SPS-96 Documented backup compression#196

Merged
nastena1606 merged 6 commits intomainfrom
K8SPS-96-Doc-backup-compression
Apr 17, 2026
Merged

K8SPS-96 Documented backup compression#196
nastena1606 merged 6 commits intomainfrom
K8SPS-96-Doc-backup-compression

Conversation

@nastena1606
Copy link
Copy Markdown
Collaborator

backup compression

new file: docs/backups-compressed.md
modified: mkdocs-base.yml

backup compression

new file:   docs/backups-compressed.md
        modified:   mkdocs-base.yml
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds documentation for backup compression support and exposes it in the MkDocs navigation under the “Backup and restore” section.

Changes:

  • Added a new documentation page describing how to enable backup compression for scheduled and on-demand backups.
  • Updated MkDocs navigation to include the new “Compress backups” page.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
mkdocs-base.yml Adds “Compress backups” to the Backup and restore navigation.
docs/backups-compressed.md New documentation page explaining compression configuration and algorithm selection guidance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/backups-compressed.md
Comment thread docs/backups-compressed.md
@nastena1606 nastena1606 changed the title K8SPS-96 Documented K8SPS-96 Documented backup compression Apr 10, 2026
| Algorithm | Best for | Pros | Cons | Why choose it |
|-----------|----------|------|------|---------------|
| **ZSTD** | Most production environments | Excellent compression ratio, modern algorithm, good balance of speed and size | Slightly higher CPU usage compared to LZ4 | When you want strong compression without significantly impacting backup time |
| **LZ4** | High‑throughput environments, frequent backups, or CPU‑constrained nodes | Very fast compression and decompression, low CPU overhead | Larger backup size compared to ZSTD | When speed matters more than maximum compression |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we even mention this option given that we have a known bug with lz4: https://perconadev.atlassian.net/browse/PXB-3568

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread docs/restore-cr.md Outdated
| ----------- | ---------- |
| :material-code-string: string | `s3://bucket-name/backup-destination/` |

### `backupSource.compressed`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have this cr option at all. Restores work without knowing whether the backup is compressed or not.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only have a new field on the ps-backup objects what indicate if the backup is compressed or not. But it is status! Not sure if we are documenting these as well

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed. We may need to document the statuses as a separate task

Comment thread docs/backups-compressed.md Outdated
Comment thread docs/backups-compressed.md Outdated
@it-percona it-percona temporarily deployed to K8SPS-96-Doc-backup-compression - percona-mysql-operator-ps PR #196 April 15, 2026 11:06 — with Render Destroyed

## Configure compression for on‑demand backups

For on‑demand backups, define the compression settings directly in the configuration file for the `PerconaServerMySQLBackup` object:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention how someone can do it like we do on PXC, or we can rely only on that mention? WDTY?

@it-percona it-percona temporarily deployed to K8SPS-96-Doc-backup-compression - percona-mysql-operator-ps PR #196 April 15, 2026 12:51 — with Render Destroyed
@nastena1606 nastena1606 force-pushed the K8SPS-96-Doc-backup-compression branch from 9f07104 to 80126ef Compare April 15, 2026 13:06
@nastena1606 nastena1606 merged commit a14d8c9 into main Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants