-
|
I'm trying to exclude several tables from the dump. Normally this would be done by YAML doesn't allow duplicate keys in a map: dump:
pg_dump_options: # pg_dump option that will be provided
exclude-table-data: "pattern1"
exclude-table-data: "pattern2"
dump:
pg_dump_options: # pg_dump option that will be provided
- exclude-table-data: "pattern1"
- exclude-table-data: "pattern2"and passing a regex isn't supported by pg_dump: dump:
pg_dump_options: # pg_dump option that will be provided
exclude-table-data: "(pattern1|pattern2)"How do I exclude data from multiple tables in different schemas? |
Beta Was this translation helpful? Give feedback.
Answered by
wwoytenko
Jul 7, 2025
Replies: 1 comment 3 replies
-
|
Hi! This parameter is a list, you can set a list of tables to exclude. exclude-table-data: ["tab1", "tab2"] |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
janklan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! This parameter is a list, you can set a list of tables to exclude.
exclude-table-data: ["tab1", "tab2"]