mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-07 22:02:53 +00:00
Add use_db_compression option for backup database dumps (#2106)
* Add use_db_compression option for backup database dumps 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 * Add CRD field, CSV descriptor, and restore auto-detection for use_db_compression Authored By: Christian M. Adams <chadams@redhat.com> Assisted By: Claude
This commit is contained in:
@@ -121,6 +121,7 @@
|
||||
-d {{ awx_postgres_database }}
|
||||
-p {{ awx_postgres_port }}
|
||||
-F custom
|
||||
{{ use_db_compression | bool | ternary('', '-Z 0') }}
|
||||
{{ pg_dump_suffix }}
|
||||
no_log: "{{ no_log }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user