Allow skipping PostgreSQL database backup/restore#353
Conversation
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>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|



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_datais 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_dataparameter needs to be explicitely set to true.