Skip to content

Allow skipping PostgreSQL database backup/restore#353

Draft
dsavineau wants to merge 1 commit into
ansible:mainfrom
dsavineau:skip_db_backup_restore
Draft

Allow skipping PostgreSQL database backup/restore#353
dsavineau wants to merge 1 commit into
ansible:mainfrom
dsavineau:skip_db_backup_restore

Conversation

@dsavineau
Copy link
Copy Markdown
Contributor

This allows one to skip the PostgreSQL database dump/restore during via the EDABackup and EDARestore CRDs on external database configuration.

A new parameter called postgres_skip_data is introduced (defaults to false for backward compatibility) but can be turn on to skip the pg_dump and pg_restore parts.
That value is passed down to nested components so other pg_dump/pg_restore calls are also skipped.

At restore time, if no database dump file is found in the backup then the postgres_skip_data parameter needs to be explicitely set to true.

This allows one to skip the PostgreSQL database dump/restore during via the
EDABackup and EDARestore CRDs on external database configuration.

A new parameter called `postgres_skip_data` is introduced (defaults to false
for backward compatibility) but can be turn on to skip the pg_dump and
pg_restore parts.
That value is passed down to nested components so other pg_dump/pg_restore calls
are also skipped.

At restore time, if no database dump file is found in the backup then the
`postgres_skip_data` parameter needs to be explicitely set to true.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 2, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 4107c718-df6e-4ee4-bf6d-6b6fea845aa1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 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.

1 participant