Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Allow adding pgbackrest options to pgbackrest_restore.sh #606

Open
omkaark opened this issue May 5, 2023 · 1 comment
Open

Allow adding pgbackrest options to pgbackrest_restore.sh #606

omkaark opened this issue May 5, 2023 · 1 comment
Labels

Comments

@omkaark
Copy link

omkaark commented May 5, 2023

What is missing?
Currently, there is no way to add options like db-include to the cluster restore process (pgbackrest_restore.sh). We want to create a whitelist of dbs to restore and whitelist of tables with certain databases to restore (this would use the tablespaces map option in pgbackrest).

Why do we need it?
Allows for a more official way to restore only the data we need in our clusters. Currently, we have a workaround where the post-init script drops unneeded dbs and tables but it causes us to restore all the data and then drop the stuff we don't want which is inefficient.

Anything else we need to know?:
Thank you!

@omkaark omkaark added the feature label May 5, 2023
@omkaark omkaark changed the title Allow adding options to pgbackrest_restore.sh Allow adding pgbackrest options to pgbackrest_restore.sh May 5, 2023
@theelderbeever
Copy link

In general there is no way to mount custom files seemingly either. Meaning you can't create a separate script and point to it despite being able to configure what script the restore command points at.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants