Add use_db_compression option for backup database dumps#325
Open
rooftopcellist wants to merge 1 commit intoansible:mainfrom
Open
Add use_db_compression option for backup database dumps#325rooftopcellist wants to merge 1 commit intoansible:mainfrom
rooftopcellist wants to merge 1 commit intoansible:mainfrom
Conversation
75891b2 to
0399209
Compare
Enable optional pg_dump compression (-Z 9) via use_db_compression boolean flag. Restore auto-detects compressed (.db.gz) or uncompressed (.db) backups for backward compatibility. Authored By: Christian M. Adams <chadams@redhat.com> Assisted By: Claude
0399209 to
0848775
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
use_db_compressionboolean field (default:false) to EDABackup CRD and backup role defaults-Z 9for built-in compression, producingeda.db.gzinstead ofeda.db.db.gz) or uncompressed (.db) backup files for full backward compatibilityPart of AAP-38759 (OCP Operator DB Compression).
Test plan
use_db_compression: false— verify produceseda.dbuse_db_compression: true— verify produceseda.db.gzeda.dbbackup (old format) — verify succeedseda.db.gzbackup (new format) — verify succeeds