Skip to content

Conversation

@the-wunmi
Copy link

What this PR does / why we need it:

This PR updates backup compression by replacing the deprecated qpress dependency with configurable compression options, allowing users to choose from multiple compression algorithms for MySQL and MongoDB backups.

Which issue(s) this PR fixes:

Previous MySQL backups enforced qpress compression by default, but qpress has been disabled in newer PMM versions due to deprecation. This change removes the qpress dependency and provides users with flexible compression options.

Special notes for your reviewer:

pmm-backup-compression-demo.mov

return result;
},
async listServiceCompressions(serviceId: string): Promise<Compression[]> {
const { compression_methods = [] } = await api.get<{ compression_methods?: Compression[] }, void>(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you create a response type at BackupInventory.types.ts (something along the lines of ListCompressionsResponse)

Copy link
Author

Choose a reason for hiding this comment

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

@matejkubinec updated with the type as requested

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.

2 participants